Problem with using Moran.test command for spatial autocorrelation(lib: spdep).

0 votes
asked by about R for Windows
edited by

I am working on Spatial correlation on the location of states of India. I have a problem with Moran.test command. In that, it has an object "listw". I have decided the weights as

1 if state i&j share their boundary
0 otherwise.

How can I convert this matrix in listw form?

1 Answer

0 votes
No avatar answered by (236k points)

I recommend checking the post on the R-Bloggers page. It deals with Spatial Correlation and besides that, there is also an example on how the command can be used. Access the main page here: http://www.r-bloggers.com/spatial-correlograms-in-r-a-mini-overview/

Secondly, you can read more about Spatial Correlation using the websites listed through Google Search. It's a pretty complex operation what you're asking, but the websites should offer enough information.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register
...