Description Usage Arguments Details Examples
Plots six diagnostic plots for checking the model
assumptions and supporting model selection for a lmmlasso
object
1 2 |
x |
a |
... |
not used. |
plot.lmmlasso
shows six diagnostic plots which support
checking the model assumption, model fit and may give hints for
another model. 1) The first plot depicts the Tukey-Anscombe plot in
order to check the assumptions about the errors. Points with the same
color belong to the same group. 2) QQ-Plot of the
residuals with equal coloring for each group. 3) QQ-Plot of the
predicted random effects. Be careful with the interpretation since the
random effects have not been standardized. The color shows which
points belong to the same random-effects covariate. 4) Boxplot of the
predicted random effects for each random-effects variable. 5) Plot of
the fitted y-values against the observed y-values. 6) A histogram of
the fixed-effects coefficients.
1 2 3 | data(classroomStudy)
fit <- lmmlasso(x=classroomStudy$X,y=classroomStudy$y,z=classroomStudy$Z,grp=classroomStudy$grp,lambda=15,pdMat="pdIdent")
plot(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.