Hi,

I'm trying to run a spatial error model using the spdep package. I'm working
on a windows machine with 2GB ram.

baseshpPIN<-readShapePoly("tricounty_2005.shp", IDvar="PIN", verbose=TRUE)

## The shape has lots of discontinuous polygons

basenb<-poly2nb(baseshpPIN, row.names=PIN)

adrweights<-nb2listw(basenb, style="W", zero.policy=TRUE)

modnetwork.errormod<-errorsarlm(SALE_VALUE~., data=modnetwork, adrweights)
Error in errorsarlm(SALE_VALUE ~ ., data = modnetwork, adrweights) :
        NAs in lagged dependent variable
In addition: Warning message:
NAs in lagged values in: lag.listw(listw, y, zero.policy = zero.policy)

When I tried to Moran's I test, it gave similar errors. How can I solve this
problem? Is there any wrong with the listw object (adrweights)?

I'll appreciate any help.

Thanks,
Debs.



-- 
Debarchana Ghosh
PHD Candidate | Research Assistant
Department of Geography
University of Minnesota.
PH: 8143607580
www.tc.umn.edu/~ghos0033/

	[[alternative HTML version deleted]]


