Spatial lag operator
Spatial lagging method for vectors or pseries
objects.
## S3 method for class 'pseries' slag(x, listw, maxlag, ...)
x |
an object of class |
listw |
an object of class |
maxlag |
the spatial lag order (including lower) |
... |
additional arguments to be passed |
a pseries
Giovanni Millo
data(Produc, package="plm") data(usaww) usalw <- mat2listw(usaww) fm <- log(gsp)~log(pcap)+log(pc)+log(emp)+unemp+slag(log(pcap), listw=usalw) slxmod <- spreml(fm, data=Produc, w = usaww, model="pooling", lag=FALSE, errors="ols")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.