View source: R/plausible_values.R
plausible_values | R Documentation |
The plausible values range is useful for gauging the magnitude of variation around fixed effects. For more information, see Raudenbush and Bryk (2002, p. 71) and Hoffman (2015, p. 166).
plausible_values(x, pct = 95)
x |
model produced using the |
pct |
Percentile for the plausible value range, similar to a confidence interval. Must be specified as a whole number between 1 and 100 (e.g., 99, 95, 80). The 95% value range is used by default. |
A data frame specifying lower and upper bounds for each fixed effect.
hoffman2015mlmhelpr
\insertRefraudenbush2002mlmhelpr
fit <- lme4::lmer(mathach ~ 1 + ses + catholic + (1|id),
data=hsb, REML=TRUE)
plausible_values(fit) #default is 95% range
plausible_values(fit, 99)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.