Diff for "FAQ/mixedR" - CBU statistics Wiki
location: Diff for "FAQ/mixedR"
Differences between revisions 4 and 5
Revision 4 as of 2008-07-04 12:21:29
Size: 1062
Editor: PeterWatson
Comment:
Revision 5 as of 2008-07-04 12:22:00
Size: 1069
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
You cna also fir random effects models in R using the lme4 program which computes percentiles of Monte- Carlo Markov Chain (mcmc) for regression estimates and variance components derived from simulations using the random effects model. The usual REML estimates are also produced. The median (50 percentile) of the mcmc estimates should approximately equal the REML results. You can also fit random effects models in R using the lme4 program which computes percentiles of Monte- Carlo Markov Chain (mcmc) for regression estimates and variance components derived from simulations using the random effects model. The usual REML estimates are also produced. The median (50 percentile) of the mcmc estimates should approximately equal the analogous REML ones.

Where can I find out about using random effects models in R?

Paul Bleise has written an [attachment:nlmeR.pdf introductory guide ] to fitting random effects models in R using the nlme software with some case studies and general tips on using R objects.

The guide mentions, in particular, the function VarCorr() which computes residual variancesof models specified to VarCorr. Comparisons of VarCorrs() related to nested models enables the computation of percentage of variance explained by variable sets. For example if VarCorr(y~a+b) gives residual variance A and VarCorr(y~a) gives residual variance B (<=A) the proportion of variance explained by variable B = 1 - B/A.

You can also fit random effects models in R using the lme4 program which computes percentiles of Monte- Carlo Markov Chain (mcmc) for regression estimates and variance components derived from simulations using the random effects model. The usual REML estimates are also produced. The median (50 percentile) of the mcmc estimates should approximately equal the analogous REML ones.

None: FAQ/mixedR (last edited 2018-04-17 11:02:44 by PeterWatson)