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
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.
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?
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.