Message-ID: <1291983391495-3081833.post@n4.nabble.com>
Date: 2010-12-10T12:16:31Z
From: Roger Bivand
Subject: Using Lagsarlm
In-Reply-To: <OFE92E60ED.D7C54B7F-ON852577F4.00521E0A-852577F4.00522E50@progressive.com>
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 ...
Roger
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
> variable.
>
> How would I code this?
>
> ______________________________________________
> R-help at 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.
>
>
-----
Roger Bivand
Economic Geography Section
Department of Economics
Norwegian School of Economics and Business Administration
Helleveien 30
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.