[R-sig-Geo] GLS model
Edzer Pebesma
edzer.pebesma at uni-muenster.de
Fri Jul 8 14:31:54 CEST 2011
Something to consider might be that under a mixed model, there are
essentially two types of residuals: those wrt the fixed effects, and
those wrt the fixed+random effects. You can define an R2 for each of
them. For instance,
> library(nlme)
> example(predict.lme)
yields both types of predictions.
On 07/08/2011 01:21 PM, Arnaud Mosnier wrote:
> Dear Yiching,
>
> For now, I just use the square of the correlation between the observed
> and predicted
> values​​. But if someone has another solution, I am also very interested in
> suggestions!
>
> Arnaud
>
> [[alternative HTML version deleted]]
>
>
>
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
--
Edzer Pebesma
Institute for Geoinformatics (ifgi), University of Münster
Weseler Straße 253, 48151 Münster, Germany. Phone: +49 251
8333081, Fax: +49 251 8339763 http://ifgi.uni-muenster.de
http://www.52north.org/geostatistics e.pebesma at wwu.de
More information about the R-sig-Geo
mailing list