This problem is going to use the data set in R called\"ChickWeight\" that has 4 variables, as described below.
ChickWeight:
A data frame with 578 observations on 4 variables.
1) weight: a numeric vector giving the body weight of the chick(gm).
2) Time: a numeric vector giving the number of days since birthwhen the measurement was made.
3) Chick: an ordered factor with levels 18 < ... < 48 givinga unique identifier for the chick. The ordering of the levelsgroups chicks on the same diet together and orders them accordingto their final weight (lightest to heaviest) within diet.
4) Diet: a factor with levels 1, ..., 4 indicating whichexperimental diet the chick received.
Using a significance level of 0.05, is there evidence to supportthat the weight can be determined by the Time (treatment) and Diet(block)?
Fill in the R code below.
dat.aov=aov( ~ factor( ) +Â Â ,data= )
summary( )
Fill in the ANOVA table below.
Type the values into the table EXACTLY as they appear in youroutput in R.
| df | SS | MS | F | Pr(>F) |
factor(Time) | | | | | 2e-16 |
Diet | | | | | 2e-16 |
Residuals | | | |
Is there evidence to support that the treatment variable Time issignificant?
1. ?0:?1=?2=...=?12H0:μ1=μ2=...=μ12 vs ??:????Ha:ALOI
2. ?=0.01α=0.01
3. F =Â Â
4. ??Fα = Â
5. Conclusion:
Reject H0
Fail to reject H0
Interpretation:
There is sufficient evidence to support that the variable Time issignificant.
There is not sufficient evidence to support that the variable Timeis significant.
Is there evidence to support that the block variable Diet issignificant?
1. ?0:H0: No block effect vs ??:Ha: There is a block effect
2. ?=0.01α=0.01
3. F =Â Â
4. ??Fα = Â
5. Conclusion:
Reject H0
Fail to reject H0
Interpretation:
There is sufficient evidence to support that the variable Diet issignificant.
There is not sufficient evidence to support that the variable Dietis significant.