Skip to content

Autocorrelation tutorial weights query #570

Answered by sjsrey
drsimonmiles asked this question in Q&A
Discussion options

You must be logged in to vote

Moran's I will row-standardize the weights by default. This is for ease of interpretation of the spatial lag inside the logic of the statistic.

After calling Moran, you can reset the weights back to binary with w.transform='b' .

Alternatively, you could set the transformation='B' argument in the call to Moran and no further transformation would be required if you needed binary weights.

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jGaboardi
Comment options

Answer selected by jGaboardi
Comment options

You must be logged in to vote
1 reply
@drsimonmiles
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants