Skip to content

Commit

Permalink
Merge pull request #912 from weikang9009/master
Browse files Browse the repository at this point in the history
adjust the formula for calculating local Moran's I in the docs
  • Loading branch information
sjsrey committed Feb 24, 2017
2 parents 67a2ebe + 7bca63f commit 7d59a95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/source/users/tutorials/autocorrelation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -676,7 +676,7 @@ PySAL implements local Moran's I as follows:

.. math::
I_i = \sum_j z_i w_{i,j} z_j / \sum_i z_i z_i
I_i = \frac{(n-1) z_i \sum_j w_{i,j} z_j}{\sum_j z_j^2}
which results in :math:`n` values of local spatial autocorrelation, 1 for each spatial unit. Continuing on with the St. Louis example, the LISA statistics are obtained with:

Expand Down

0 comments on commit 7d59a95

Please sign in to comment.