[[alternative HTML version deleted]]
If you are asking why lagsarlm() in the spdep package does not provide an R2
value in its summary, try using its log likelihood value, and comparing that
with logLik() of the equivalent lm() model - this is reported in the
summary() of the fitted object. You can calculate a pseudo-R2 by correlating
the observed and fitted values, but the likelihood ratio (or comparisons of
the AIC) are perhaps better founded. The same measures are found in other
implementations (GeoDa, Matlab spatial econometrics toolbox). It is not
obvious what you mean by "validate" in this context.
Roger Bivand
> ______________________________________________
> R-h...@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
>
--
View this message in context: http://www.nabble.com/R2-for-SAR-and-validation-tp25225433p25239901.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.