NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Calculate Global Moran's I with an explicit neighbour matrix — Partial shadow

Calculate Global Moran's I with an explicit neighbour matrix — a worked case for partial shadow, with explicit data, a sensitivity comparison and an independent evidence check.

Calculate Global Moran's I with an explicit neighbour matrix — Partial shadow

The measurement question

Global Moran's I compares neighbouring deviations from the overall mean. For four hypothetical plots in a chain with values 1, 2, 4, and 5, the mean is 3 and deviations are −2, −1, 1, and 2. Give each immediate neighbour a binary weight in both directions, with no self-weights. The summed weighted cross-products are 6, squared deviations sum to 10, and total weights equal 6, yielding I=0.4. This positive descriptive value suggests adjacent similarity under that particular neighbour definition. It is not by itself proof of statistical significance, and changing the spatial weights can change the question and the result.

This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.

Case conditions and evidence

The work surface includes a shadow boundary crossing otherwise similar material. A change in illumination can create an apparent difference that should not automatically be interpreted as a physical change. Tag observations by illumination condition and keep a reference patch visible in both groups where practical.

Recompute the check for lit and shaded observations separately. A pooled value can be numerically reproducible while still hiding a systematic difference between the groups.

Hands annotating a paper map at a Development Seed mapping event
Hands annotating a paper map at a Development Seed mapping event.Source: Development Seed · CC BY 2.0

Reproduce the numerical check

Illustrative input data: Attribute at first node (x1) = 1 attribute units; Attribute at second node (x2) = 2 attribute units; Attribute at third node (x3) = 4 attribute units; Attribute at fourth node (x4) = 5.5 attribute units.

Calculation: (4/6)*(2*((x1-((x1+x2+x3+x4)/4))*(x2-((x1+x2+x3+x4)/4))+(x2-((x1+x2+x3+x4)/4))*(x3-((x1+x2+x3+x4)/4))+(x3-((x1+x2+x3+x4)/4))*(x4-((x1+x2+x3+x4)/4))))/((x1-((x1+x2+x3+x4)/4))**2+(x2-((x1+x2+x3+x4)/4))**2+(x3-((x1+x2+x3+x4)/4))**2+(x4-((x1+x2+x3+x4)/4))**2).

Global Moran's I for four-node chain = 0.38119658 dimensionless.

The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.

Change one assumption

Increase only attribute at fourth node (x4) from 5.5 to 6.05 attribute units. Re-evaluating the same equation gives global moran's i for four-node chain = 0.35324211 dimensionless. The arithmetic difference from the baseline is -0.027954473 dimensionless.

For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.

Interpret the result

State the neighbour rule before interpreting clustering. Use a defensible distance, adjacency, or process-based connection, and separate a descriptive index from inferential claims supported by suitable significance testing and adequate sample size.

The statistic depends on scale, weights, boundaries, and the attribute distribution. A global summary can mask local exceptions, while a small illustrative dataset is unsuitable for confidently declaring a real landscape pattern statistically significant.

Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.

Independent checks and delivery

Print the full weight matrix, check diagonal zeros and S0, and reproduce numerator and denominator independently. Repeat with justified alternative neighbourhood definitions and inspect a map to understand which feature pairs drive the result.

Supply the illumination grouping, the acquisition times and representative original observations. Explain whether the comparison is between like conditions or across an unresolved lighting change.

Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.

Technical references

  1. Esri How Spatial Autocorrelation (Global Moran's I) works ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team