powered by
An approximate F-test based on the Kenward-Roger (1997) approach.
p_value_kenward(model, dof = NULL)dof_kenward(model)
dof_kenward(model)
A statistical model.
Degrees of Freedom.
The p-values.
Kenward, M. G., & Roger, J. H. (1997). Small sample inference for fixed effects from restricted maximum likelihood. Biometrics, 983-997.
# NOT RUN { library(lme4) model <- lmer(Petal.Length ~ Sepal.Length + (1 | Species), data = iris) p_value_kenward(model) # } # NOT RUN { # }
Run the code above in your browser using DataLab