ch8_1way_part1_4pp

# anovalmout only 1 factor used in this model analysis

This preview shows page 1. Sign up to view the full content.

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: he diﬀerence between the respective group and the baseline group. The summary statement also gives us the overall F -test, AND the tests for βF = 0, and βP = 0. ˆ βF = Friend group mean - Baseline group mean ˆ βP = Pet group mean - Baseline group mean Here, baseline was the Control group. We can use the ‘anova’ function to get the sums of squares for the model (or the group variable), the residual sums of squares, and the overal Ftest. > anova(lm.out) ## Only 1 factor used in this model Analysis of Variance Table Response: rate Df Sum Sq Mean Sq F value Pr(>F) group 2 2387.7 1193.8 14.079 2.092e-05 *** Residuals 42 3561.3 84.8 --Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 15 1 > summary(lm.out) Coefficients: Estimate Std. Error t value Pr(>|t|) (Intercept) 82.524 2.378 34.709 <2e-16 *** groupF 8.801 3.362 2.617 0.0123 * groupP -9.041 3.362 -2.689 0.0102 * --Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 1 Residual standard error: 9.208 on 42 degrees of freedom Multiple R-Squared: 0.4014,Adjusted R-squared: 0.3729 F-statistic: 14.08 on 2 and 42 DF, p-value: 2.092e-05 Rejection of H0 : βF = 0 says there is evidence that the Friend group is diﬀerent th...
View Full Document

## This note was uploaded on 06/12/2013 for the course MATHEMATIC MAT7870 taught by Professor Sun during the Winter '13 term at Wayne State University.

Ask a homework question - tutors are online