rePCA | R Documentation |
PCA of random-effects variance-covariance estimates
rePCA(x)
x |
a |
Perform a Principal Components Analysis (PCA) of the random-effects variance-covariance estimates from a fitted mixed-effects model. This allows the user to detect and diagnose overfitting problems in the random effects model (see Bates et al. 2015 for details).
a prcomplist
object
Douglas Bates
Douglas Bates, Reinhold Kliegl, Shravan Vasishth, and Harald Baayen. Parsimonious Mixed Models. arXiv:1506.04967 [stat], June 2015. arXiv: 1506.04967.
isSingular
fm1 <- lmer(Reaction~Days+(Days|Subject), sleepstudy)
rePCA(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.