Dear list members,

I have a couple of questions:

1. I kept getting this warning "spatial weights matrix not row-standardized" when I ran LM tests, although I already row standardized the weights matrix. 

Here are the specific steps:
I row standardized a square contiguity matrix in MatLab, exported it as an ASCII file. I then imported the ASCII file into R as a matrix (as.matrix). I then convert the matrix to a weights list object (mat2listw). Then I  ran LM tests.

Could it because that the row standardization was done in MatLab, not in R? I couldn't find out how to do it in R, so had to do it in MatLab. 

Can anyone tell me how to do row standardization in R directly? Thank you!!!

2. I got significantly different LM test results for LMlag, when i used the original contiguity matrix and the row-standardized one. Is there supposed to be a big difference?

Any help is much appreciated!

Christina Li

       
---------------------------------

	[[alternative HTML version deleted]]


