NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Calculate Global Moran's I with an explicit neighbour matrix — Mixed surface materials

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

Calculate Global Moran's I with an explicit neighbour matrix — Mixed surface materials

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 area contains several materials with different texture, reflectance or shape. Keep material groups identifiable throughout the review so that a strong result from one group does not conceal a weak result from another. The input data below describe the constructed comparison, not a universal material property.

Inspect at least one independent sample in each material group relevant to the decision. Record missing evidence as missing rather than replacing it with a neighbouring group mean.

Laptop used for an OpenStreetMap editing session in JOSM
Laptop used for an OpenStreetMap editing session in JOSM.Source: Alejandro Escamilla · CC0

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.8 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.36647173 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.8 to 6.38 attribute units. Re-evaluating the same equation gives global moran's i for four-node chain = 0.33521356 dimensionless. The arithmetic difference from the baseline is -0.031258174 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.

Provide the material grouping and the observation identifiers used in each calculation. State which groups were suitable for a quantitative result and which were only documented visually.

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