Re: [R] Using Lagsarlm

2010-12-10 Thread Roger Bivand
This has been answered offlist (the poster also wrote directly to me as package maintainer, but did not post on the R-sig-geo list, as would have seemed natural). The resolution was to read ?formula, and to use either errorsarlm() or lagsarlm() in spdep with formula=y ~ 1. Apparently an insurance

[R] Using Lagsarlm

2010-12-09 Thread Saswati Neogi
I'm trying to use the spdep package to calculate this: y = rho W y + e I don't want to use explanatory variables, just the lag from the dependent variable. How would I code this? __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/list