Here our model is
,
where
vs.
vs.
R-Code
install.packages("BHH2")
library(BHH2)
data(penicillin.data)
attach(penicillin.data)
aa=penicillin.data
block=as.factor(aa$blend)
treatment=as.factor(aa$treat)
y=aa$yield
summary(aov(y~block+treatment))
Output:
> summary(aov(y~block+treatment))
Df Sum Sq Mean Sq F value Pr(>F)
block 4 264 66.00 3.504 0.0407 *
treatment 3 70 23.33 1.239 0.3387
Residuals 12 226 18.83
---
Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05 ‘.’ 0.1 ‘ ’
1
CONCLUSION:
Here, we can see that the p-value for block is < 0.05, i.e. we reject the null and conclude on the basis of the given data that block effects are significant. On the other hand in case of treatment the p-value is > 0.05. So, we accept the null hypothesis and conclude that there is no significant differences among the treatments.
We were unable to transcribe this image
General mean effect 11
Treatment effect Ti -
We were unable to transcribe this image
Random error component ty =
Hol : T1 = T2 = T3 = T4 011
H11 : Not Ho1
We were unable to transcribe this image
H12: Not Ho2
4. Lessons in Data Stealing: RBD Edition. Many textbook authors collect data to use in their books. Often, they are kin...