Description Usage Arguments Details Value Note Author(s) See Also Examples
Uses output from lm() in mixlm package to compute ANOVA table, variance components and errors.
| 1 | AnovaMix(object)
 | 
| object | object fitted by lm (mixlm package) containing at least one random effect. | 
AnovaMix can either be invoked directly or through the Anova() function (with type III error).
| lm  | linear model fitted by lm in package mixlm. | 
| anova  | ANOVA table. | 
| err.terms  | 
 | 
| denom.df  | 
 | 
| restricted  | 
 | 
| exp.mean.sq  | 
 | 
| var.comps  | 
 | 
| random.effects  | 
 | 
| ind.randoms  | 
 | 
| formula.text  | 
 | 
Only balanced models are fully supported.
Kristian Hovde Liland
| 1 2 3 4 5 | 
Attaching package: 'mixlm'
The following objects are masked from 'package:stats':
    glm, lm
Analysis of variance (unrestricted model)
Response: y
          Mean Sq Sum Sq Df F value Pr(>F)
x           0.419  0.419  1   0.170 0.7511
z           0.006  0.006  1   0.002 0.9699
x:z         2.464  2.464  1   2.616 0.1811
Residuals   0.942  3.768  4       -      -
            Err.term(s) Err.df VC(SS)
1 x                 (3)      1  fixed
2 z                 (3)      1 -0.615
3 x:z               (4)      4  0.761
4 Residuals           -      -  0.942
(VC = variance component)
          Expected mean squares
x          (4) + 2 (3) + 4 Q[1]
z          (4) + 2 (3) + 4 (2) 
x:z        (4) + 2 (3)         
Residuals  (4)                 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.