Skip to content
Prev 5394 / 20628 Next

Variance components questions

On Mon, Feb 21, 2011 at 5:00 PM, Karim Lounes <kclounes at gmail.com> wrote:
Yes, I would think so, but I agree with Thierry that there may be more
appropriate models.
There are ways using profiling but they are only available in the
development version of the package called lme4a.  On Linux or Windows
systems it can be installed as

install.packages("lme4a", repos="http://r-forge.r-project.org")

then re-fit the model, say as fm, and profile it with

pr <- profile(fm)

A plot of the change in the profiled deviance for each of the variance
components (expressed as standard deviations) is available as

xyplot(pr)

This shows the end points of confidence intervals with 50%, 80%, 90%,
95% and 99% confidence levels, if they can be determined.  The end
points can be retrieved as

confint(pr)