Description Usage Arguments Details Value Author(s) See Also Examples
ANOVA table with F-tests and p-values using Satterthwaite's or
Kenward-Roger's method for denominator degrees-of-freedom and F-statistic.
Models should be fitted with
lmer
from the lmerTest-package.
1 2 3 4 5 6 7 |
object |
an |
... |
potentially additional |
type |
the type of ANOVA table requested (using SAS terminology) with Type I being the familiar sequential ANOVA table. |
ddf |
the method for computing the denominator degrees of freedom and
F-statistics. |
The "Kenward-Roger"
method calls pbkrtest::KRmodcomp
internally and
reports scaled F-statistics and associated denominator degrees-of-freedom.
an ANOVA table
Rune Haubo B. Christensen and Alexandra Kuznetsova
contestMD
for multi degree-of-freedom contrast tests
and KRmodcomp
for the "Kenward-Roger"
method.
1 2 3 4 5 6 7 8 | data("sleepstudy", package="lme4")
m <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy)
anova(m) # with p-values from F-tests using Satterthwaite's denominator df
anova(m, ddf="lme4") # no p-values
# Use the Kenward-Roger method
if(requireNamespace("pbkrtest", quietly = TRUE))
anova(m, ddf="Kenward-Roger")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.