Skip to content
Prev 163914 / 398506 Next

How to get Greenhouse-Geisser epsilons from anova?

Skotara wrote:
dd$C is not a factor with that construction. It works for me after

dd$C <- factor(dd$C)

(The other message is nasty, though. It's slightly different in R-patched:

 > anova(mlmfit, mlmfit0, X= ~A+B, M = ~A+C+B, idata = dd, 
test="Spherical")
Error in solve.default(Psi, B) :
   system is computationally singular: reciprocal condition number = 
2.17955e-34

but it shouldn't happen...
Looks like it is a failure of the internal Thin.row function. Ick!
)
The "within" interactions should be straightforward, e.g.

M=~A*B*C
X=~A*B*C-A:B:C

etc.

The within/between interactions are otained from the similar tests of 
the between factor(s)

e.g.

mlmfitD <- lm(myma~D)

and then

anova(mlmfitD, mlmfit,....)