# 莫兰指数（Moran's I）

**莫兰指数（Moran's I）** 是一种衡量空间自相关的统计量，即同时基于要素位置与要素值，度量邻近位置上某一变量的观测值彼此相似的程度。给定一组要素及其关联属性，它评估所表达的空间模式是聚集、离散还是随机。该统计量由牛津大学统计研究所的P. A. P. 莫兰（P. A. P. Moran）在论文《论连续随机现象》（*Biometrika*，1950年）中提出。<sup>[1](https://academic.oup.com/biomet/article-abstract/37/1-2/17/194868)</sup><sup> • </sup><sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

| 关键事实 | 详情 |
|---|---|
| 衡量内容 | 全局空间自相关：相似的属性值是否比在完全空间随机性下预期的情况更频繁地出现在彼此附近<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |
| 起源 | P. A. P. 莫兰，《论连续随机现象》，*Biometrika* 37(1-2)，第17–23页，1950年6月<sup>[1](https://academic.oup.com/biomet/article-abstract/37/1-2/17/194868)</sup> |
| 统计量 | \( I = \frac{n}{S_0} \cdot \frac{\sum_{i=1}^{n} \sum_{j=1}^{n} w_{i,j} z_i z_j}{\sum_{i=1}^{n} z_i^2} \)，其中 \( z_i \) 为对均值的离差，\( S_0 \) 为所有空间权重之和<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |
| 零假设下的期望值 | \( \mathbb{E}[I] = \frac{-1}{n-1} \)，因此随机模式给出的是一个小负值，而非零<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |
| 取值范围 | 一般以−1.0和+1.0为界；在行标准化权重下这一界限始终成立，而未标准化权重下超出该范围的值则表明参数设置存在问题<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |
| 解读 | 显著的正值表示聚集；显著的负值表示离散；指数值本身不能直接解读，只能对照零假设来理解<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |
| 实用下限 | ArcGIS文档建议至少30个要素；当输入值偏斜时，每个要素约需八个邻居<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup> |

## 定义与计算

该统计量将属性的值与空间权重矩阵 \( w_{i,j} \) 结合，后者编码要素 \( i \) 与 \( j \) 之间的邻域关系，例如邻接、固定距离带或 \( k \) 最近邻。每个属性值被替换为对均值的离差，\( z_i = x_i - \bar{X} \)，分子对所有要素对的加权交叉乘积 \( w_{i,j} z_i z_j \) 求和，再以 \( S_0 = \sum_{i=1}^{n} \sum_{j=1}^{n} w_{i,j} \) 和离差平方和进行归一化。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

交叉乘积决定指数的符号。当相邻要素的值都高于均值或都低于均值时，交叉乘积为正；当一高一低时，交叉乘积为负，且偏离均值越大，交叉乘积越大。若高值聚集在高值附近、低值聚集在低值附近，指数为正。若高值倾向于邻近低值，指数为负。若正负交叉乘积相互抵消，指数接近于零。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

## 显著性检验

该指数是一种推断统计量，对照完全空间随机性的零假设来解读，即属性在研究区域的各要素之间随机分布。计算它的工具或库还会报告z得分 \( z_I = \frac{I - \mathbb{E}[I]}{\sqrt{\mathbb{V}[I]}} \) 和p值。统计上显著的正z得分意味着该模式比纯粹随机情况下产生的模式更为聚集；统计上显著的负z得分意味着它更为离散——这种模式往往反映一种竞争过程，即高值排斥其他高值。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

置换推断是正态近似z得分的一种替代方法：例如，Python库esda默认从999次随机置换中计算伪p值；对于小样本或非正态数据，置换推断优于正态性假设。<sup>[3](https://pysal.org/esda/dev/generated/esda.Moran.html)</sup><sup> • </sup><sup>[4](https://pysal.org/esda/stable/user-guide/geary.html)</sup> 该统计量是渐近正态的，这正是偏斜数据需要每个要素有足够多邻居才能保证近似成立的原因。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

## 全局形式与局部形式

全局莫兰指数返回一个概括整个研究区域的单一数值，因此当空间过程在该区域内保持一致时效果最好。局部统计量则处理不一致的情形。西弗吉尼亚大学区域科学研究教授卢克·安塞林（Luc Anselin）于1995年提出了一类局部空间关联指标（LISA），它将莫兰指数等全局指标分解为每个观测的贡献；局部莫兰统计量识别非平稳性的局部斑块（即热点）和空间离群点，并评估每个位置对全局统计量的影响。<sup>[5](https://onlinelibrary.wiley.com/doi/10.1111/j.1538-4632.1995.tb00338.x/full)</sup> 在实践中，工作流程通常先运行全局莫兰指数以确认自相关存在，再用安塞林局部莫兰指数或Getis-Ord Gi*等局部统计量来定位高-高、低-低和离群位置。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

在一系列递增的距离带值上运行分析，可以显示促进聚集的过程在哪个距离或尺度上最为显著。z得分和p值不能在不同研究区域之间比较，但在研究区域固定、输入字段可比、工具参数相同的情况下，可以比较显著的z得分，以衡量聚集的强度或其随时间变化的趋势。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup>

## 莫兰指数与吉尔里C

吉尔里C（Geary's C）是另一经典的区域型数据全局检验，出自同一文献脉络，与莫兰指数呈反向关系。两者检测的是相同的大尺度空间结构，但并不完全相同：莫兰指数将每个观测与全局均值比较，对宏观趋势更敏感；而吉尔里C将每个观测直接与其邻居比较，对局部的、短程的差异更敏感。吉尔里C在零假设下以1为中心，小于1的值表示正自相关。若两种度量出现分歧，原因通常是某个局部聚集或离群点反映的是高度局限于局部的反差，而非对总体水平的偏离，因此同时报告两种统计量能提供对空间结构更完整的认识。<sup>[4](https://pysal.org/esda/stable/user-guide/geary.html)</sup> 在大多数应用工作中，莫兰指数是首选，当特别关注邻居之间的成对相异性时，吉尔里C则能增添价值。<sup>[4](https://pysal.org/esda/stable/user-guide/geary.html)</sup>

## 局限性

该指数依赖于所选择的空间权重，其在特定问题中的理论范围取决于各区域的空间构型及其值的分布；在行标准化权重下，−1.0至+1.0的界限始终成立，但未标准化权重可能产生超出该范围的值，提示存在参数问题，例如输入值严重偏斜且邻居极少。<sup>[2](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)</sup><sup> • </sup><sup>[6](https://www.sciencedirect.com/science/article/pii/S019897150600072X)</sup> 结果还对所采用的聚合单元敏感。在一项关于可变面元问题的研究中，大多数对县以下分区的离散重新划分并未显著改变莫兰指数，但少数特定的向邻县重新划分使该统计量最多下降了15%。<sup>[7](https://www.tandfonline.com/doi/full/10.1080/20964471.2026.2692263)</sup> 数学上还要求所分析的变量存在变异；若所有输入值完全相同，则无法计算该统计量。<sup>[8](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/spatial-autocorrelation.html)</sup>

## 实现

莫兰指数在地理信息系统和统计库中均有实现。ArcGIS Pro提供空间自相关（全局莫兰指数）工具，返回五个值：莫兰指数值、期望指数、方差、z得分和p值，并可选择生成HTML报告。<sup>[8](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/spatial-autocorrelation.html)</sup> 在Python中，PySAL项目的esda包提供 `esda.moran.Moran(y, w)`，接受一个变量数组和一个空间权重对象，默认权重变换为行标准化。<sup>[3](https://pysal.org/esda/dev/generated/esda.Moran.html)</sup>

## References

1. [P. A. P. Moran (1950). Notes on Continuous Stochastic Phenomena. *Biometrika* 37(1-2), 17–23.](https://academic.oup.com/biomet/article-abstract/37/1-2/17/194868)
2. [How Spatial Autocorrelation (Global Moran's I) works, ArcGIS Pro documentation, Esri.](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/h-how-spatial-autocorrelation-moran-s-i-spatial-st.html)
3. [esda.Moran, PySAL esda documentation.](https://pysal.org/esda/dev/generated/esda.Moran.html)
4. [Global Spatial Autocorrelation with Geary's C, PySAL esda user guide.](https://pysal.org/esda/stable/user-guide/geary.html)
5. [Luc Anselin (1995). Local Indicators of Spatial Association—LISA. *Geographical Analysis* 27(2), 93–115.](https://onlinelibrary.wiley.com/doi/10.1111/j.1538-4632.1995.tb00338.x/full)
6. [Practical limits of Moran's autocorrelation index for raster class maps, *Computers, Environment and Urban Systems*.](https://www.sciencedirect.com/science/article/pii/S019897150600072X)
7. [On the sensitivities to the modifiable areal unit problem, *Big Earth Data* (2026).](https://www.tandfonline.com/doi/full/10.1080/20964471.2026.2692263)
8. [Spatial Autocorrelation (Global Moran's I) tool reference, ArcGIS Pro documentation, Esri.](https://doc.esri.com/en/arcgis-pro/latest/tool-reference/spatial-statistics/spatial-autocorrelation.html)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 物质世界与数学 › 数学与统计学 › 统计学与概率论 › Applied, official, and domain statistics › Spatial statistics and geostatistics › Spatial autocorrelation and lattice data indices

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/morans-i

English original: https://www.edgepedia.org/morans-i
