se_ybar | R Documentation |
Compute the standard error for the sample mean for mixed models, regarding the extent to which clustering affects the standard errors. May be used as part of the multilevel power calculation for cluster sampling (see Gelman and Hill 2007, 447ff).
se_ybar(fit)
fit |
Fitted mixed effects model ( |
The standard error of the sample mean of fit
.
Gelman A, Hill J. 2007. Data analysis using regression and multilevel/hierarchical models. Cambridge, New York: Cambridge University Press
fit <- lmer(Reaction ~ 1 + (1 | Subject), sleepstudy)
se_ybar(fit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.