[R-sig-ME] R-squared in mixed model using nlme package

Seth W. Bigelow seth at swbigelow.net
Tue Nov 27 16:11:09 CET 2012


Phuong, have you looked yet at http://glmm.wikidot.com/faq, section on 
"How do I compute a coefficient of determination (R 2  ), or an analogue,
for (G)LMMs?"

That is usually the first stop for mixed model R2 questions.
Best,
Seth




-----Original Message-----
From: r-sig-mixed-models-bounces at r-project.org
[mailto:r-sig-mixed-models-bounces at r-project.org] On Behalf Of Ho Ngoc
Phuong
Sent: Tuesday, November 27, 2012 7:35 AM
To: r-sig-mixed-models at r-project.org
Subject: [R-sig-ME] R-squared in mixed model using nlme package

Dear all,

I am fitting my data using nlme package. The syntax is as follow:
model<-lme(Energy efficiency ~ADF + CP + DE, random =~1|Study, data=phuong).
Can someone tell me how to find the R-squared for this model?. I've found
the lmmfit package of Aleksandra Maj (2011):
http://cran.r-project.org/web/packages/lmmfit/lmmfit.pdf
But there are several function to estimate R-squared. Could you please tell
me which one should I apply.

Thanks!
Phuong

	[[alternative HTML version deleted]]

_______________________________________________
R-sig-mixed-models at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-mixed-models



More information about the R-sig-mixed-models mailing list