powered by
This function attempts to return, or compute, p-values of a model's parameters. The nature of the p-values is different depending on the model:
Mixed models (lme4): TO BE IMPROVED.
p_value(model, ...)# S3 method for lmerMod p_value(model, method = "wald", ...)
# S3 method for lmerMod p_value(model, method = "wald", ...)
A statistical model.
Arguments passed to or from other methods.
For mixed models, can be "wald" (default) or "kenward".
The p-values.
# NOT RUN { model <- lme4::lmer(Petal.Length ~ Sepal.Length + (1 | Species), data = iris) p_value(model) # }
Run the code above in your browser using DataLab