[R] Using Lagsarlm
Roger.Bivand at nhh.no
Fri Dec 10 13:16:31 CET 2010
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 analyst in a hurry ...
Saswati Neogi wrote:
> 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
> How would I code this?
> R-help at r-project.org mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code.
Economic Geography Section
Department of Economics
Norwegian School of Economics and Business Administration
N-5045 Bergen, Norway
View this message in context: http://r.789695.n4.nabble.com/Using-Lagsarlm-tp3080368p3081833.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help