Loading [MathJax]/jax/output/CommonHTML/jax.js
Analysis of Two-Factor Experiments Based on Cell Means Models
- treatment: a combination of one level from each factor forms a treatment
- full-factorial treatment design: each possible combination of one level from each possible combination of one level from each factor is applied to at least one experimental unit
- completely randomized design (CRD): all possible balanced assignments to the treatment groups are equally likely
- cell mean model: for i=1,2, j=1,2,3 and k=1,2, suppose yijk=μij+ϵijk
- Y=Xn×pβ+ϵ
- each cell mean is estimable
- β is estimable when rank(X)=p
- ˉμ.j=12∑2i=1μij, ˉμi.=13∑3j=1μij ˉμ..=16∑2i=1∑3j=1μij
- Least square means: for example, the LSMEAN for i=1 is c′ˆβ with c′=[1/3,1/3,1/3,0,0,0] and ˆβ=[ˉy11.,ˉy12.,ˉy13.,ˉy21.,ˉy22.,ˉy23.]′. The standard error for an LSMEAN is given by √^Var(c′ˆβ)=√ˆσ2c′(X′X)−c.
- simple effect: the difference between cell means that differ in level for only one factor
- main effect: the difference between marginal means associated with two levels of a factor
- for example: ˉμ1.−ˉμ2.
- no main effect for j: ˉμ.1=ˉμ.2=ˉμ.3
- Interaction effect: the linear combination μij−μij∗−μi∗j+μi∗j∗ for i≠i∗ and j≠j∗
- when there are no interactions between factors, the simple effects of either factor are the same across all levels of the other factor.
- Test for non-zero effects: we can test whether simple effects, main effects or interaction effects are zero vs. non-zero using tests of the form H0:Cβ=0 vs. HA:Cβ≠=0
- An alternative parameterization of the cell mean model is yijk=μ+αi+βj+γij+ϵijk.
- for example, μ11=μ+α1+β1+γ11, ˉμ1.=μ+α1+ˉβ.+ˉγ1.
- simple effect μ11−μ12=α1−α2+γ11−γ21.
- main effect ˉμ1.−ˉμ2.=α1−α2+ˉγ1.−ˉγ2.
- interaction effect μ11−μ13−μ21+μ23=γ11−γ13−γ21+γ23
- The
lm
function in R uses a full-rank model matrix with β=[μ,α2,β2,β3,γ22,γ23]′
- μ=μ11 , α=μ21−μ11, β2=μ12−μ11, β3=μ13−μ11
- γ22=μ11+μ22−μ21−μ12, γ23=μ11+μ23−μ13−μ21