I need help testing for negative spatial correlation between inner and outer neighborhoods, 16 totals. The matrix looks like this:
4 4 4 4
4 -2 -1 5
4 -1 -2 5
5 5 5 5
The inner neighborhood is negative, the outer perimeter is positive. I need to obtain the spatial weights matrix so I can do other tests for the data, thanks