CalcWorldHub
Free online calculator · no signup

Global Moran's I Spatial Autocorrelation Calculator

Calculate global Moran’s I from observations and a supplied spatial-weights matrix.

4,000 tools
Global Moran's I Spatial Autocorrelation Calculator — Observed values, comma or space separated, n × n spatial weights, row-major and calculation method
Global Moran's I Spatial Autocorrelation Calculator: inputs and calculation method.

How to use this calculator

Calculate global Moran’s I from observations and a supplied spatial-weights matrix.

  1. Enter Observed values, comma or space separated, n × n spatial weights, row-major. Match the units shown beside each field and review the result together with the assumptions below.
  2. Read the worked example below to check the expected input format and result.
  3. Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Data science calculation

How this calculation works

Global Moran’s I summarizes how strongly values at linked locations resemble one another, using the spatial-weights matrix supplied by the analyst. This calculator evaluates the index and its randomization expectation; it does not define neighborhoods or run a significance test.

Inputs and units

values — Observed values, comma or space separated
Enter at least three numeric observations in order.
weights — n × n spatial weights, row-major
Enter n squared nonnegative weights in row-major order; rows may be separated with semicolons.

Formula

Displayed formula

I = (n / S0) × [ΣiΣj wij(xi − x̄)(xj − x̄)] / [Σi(xi − x̄)²], where S0 = ΣiΣj wij.

Method

Enter n observations and n² nonnegative weights in row-major order. The matrix diagonal must be zero; the ordering of rows and columns must match the observation list.

Worked example

For observations [1, 2, 4, 7] and a symmetric four-node ring weights matrix, global Moran’s I is −0.190476 and its randomization expectation is −0.333333.

Assumptions and limits

The statistic depends on the supplied spatial weights and their ordering. This calculator does not choose neighbors, standardize weights, compute a z-score or p-value, or establish statistical significance.

Frequently asked questions

What does the weights matrix represent?

It specifies which observations influence each other and by how much; choose it to match the spatial model.

Does this calculator report significance?

No. It computes the index and the common randomization expectation only; inferential testing needs an appropriate variance or permutation procedure.

Must the weights be row-standardized?

No single choice fits every study. Enter weights already prepared for the chosen analysis and describe that choice when reporting the result.

How do I use the Global Moran's I Spatial Autocorrelation Calculator?

Enter Observed values, comma or space separated, n × n spatial weights, row-major. Match the units shown beside each field and review the result together with the assumptions below.

What is a worked example of Global Moran's I Spatial Autocorrelation?

For observations [1, 2, 4, 7] and a symmetric four-node ring weights matrix, global Moran’s I is −0.190476 and its randomization expectation is −0.333333.