Chapter 4 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=122i=1μij, ˉμi.=133j=1μij ˉμ..=162i=13j=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(XX)c.
  • simple effect: the difference between cell means that differ in level for only one factor
    • for example, μ11μ21
  • 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μij+μij for ii and jj
    • 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