Goto Lab: | #0 | #1 | #2 | #3 | #4 | #5 | #6 | #7 |
This assignment contains homework problems from the text.
> cav$spgroup_rep(1,294) > cav$spgroup[271:294]_2Now running the ANOVA for using this new grouping variable will address item (i).
ANOVA Table Source SS df MS F p-val model RSS(2)-RSS(9) 9-2 ? ? ? resid RSS(9) n-9 ?You'll have to use the pf() function to compute the p-value (ie. the chance of seeing an F as extreme, or more extreme than observed. If the F was 2.7, and the degrees of freedom were 7 and 285, then the p-val is
> 1-pf(2.7,df1=7,df2=285)
-1/6 -1/6 -1/6 -1/6 -1/6 -1/6 1/3 1/3 1/3You'll have to follow the details in 6.2.2 to do this.