[转] Moran's I
Introduction
In statistics, Moran's I is a measure of spatial autocorrelation developed by Patrick Alfred Pierce Moran. Spatial autocorrelation is characterized by a correlationin a signal among nearby locations in space. Spatial autocorrelation is more complex than one-dimensional autocorrelation because spatial correlation is multi-dimensional (i.e. 2 or 3 dimensions of space) and multi-directional.
Global Moran's I is defined as

where wij is the weight between observation i and j, and S0 is the sum of all wij's, n is equal to the total number of pixels.:

The zI-score for the statistic is computed as:

Where:


the p-value for the null hypothesis is written as

this formula sources from Aki-Hiro Sato. Applied Data-Centric Social Sciences: Concepts, Data, Computation and Theory. Japan, Springer, 2014. pp. 137-138.
Negative/positive
values indicate negative/positive spatial autocorrelation. Values range
from -1 (indicating perfect dispersion) to 1 (perfect correlation). A
zero value indicates a random spatial pattern. For statistical
hypothesis testing (the null hypothesis of no autocorrelation is not equal to zero but given by I0 = -1/(n-1).), Moran's I
values can be transformed to z-scores in which values greater than 1.96
or smaller than -1.96 indicate spatial autocorrelation that is
significant at the 5% level.
栅格数据的权重规则:In its simplest form, these weights will take values 1 for close neighbours, and 0 otherwise,并规定栅格邻接为四至,如Fig. 1,中间绿色的像元的四至是四个橘红像元,绿色像元与他们之间存在着公共边,四个蓝色像元虽与绿色像元临近但不存在公共边,故而,绿色像元与橘红像元的权重是1,而与蓝色像元权重是0。(Rooks Case, Bishops Case, Oueen's (Kings) Case)

Fig. 1
Example
四张NDVI影像测试本帖代码,计算有效区域(mask影像数值是1像元)的Global Moran's I。代码运算结果如Fig. 2,MODIS_NDVI_200308的Global Moran's I是0.95467222,Z-score是418.50598145,ArcGIS计算结果分别是0.954661和418.498382,两者计算结果非常接近,考虑到二者计算中间数值的精度不同,这很可能就是引起二者差异的主要原因。其他三张数据情况类似,代码计算结果与ArcGIS结果非常接近。

Fig. 2
仍以MODIS_NDVI_200308Z-score为例说明显著性水平。如Fig.3,非常形象地说明Z-score与p之间对应关系,Z-score等于418.50598145大于2.58,说明此时p小于0.01,该Global Moran's I等于0.95467222通过0.01显著性水平检验。

Fig. 3
References
[1] Moran's I, from Wikipedia, the free encyclopedia.
[2] Geary's C, from Wikipedia, the free encyclopedia.
[3] How Spatial Autocorrelation (Global Moran's I) works.
[4] What is spatial autocorrelation (spatial dependency)?
[5] Spatial Autocorrelation, ArcGIS for Polygons.
[6] What is a z-score? What is a p-value?
[转] Moran's I的更多相关文章
- R语言计算moran‘I
R语言计算moran‘I install.packages("maptools")#画地图的包 install.packages("spdep")#空间统计,m ...
- GeoDa计算全局Moran‘I
GeoDa计算全局Moran‘I 1.导入包含数据的.shp文件 2.创建权重矩阵,点击Weight Manger,再点击Create, weights file ID variable(其中包含的数 ...
- 白话空间统计之:Moran's I(莫兰指数)
前两天聊了空间统计学里面的两个经典概念,今天来说说第一篇文章留下的大坑:Moran's I. 首先,Moran's I这个东西.官方叫做:莫兰指数,是澳大利亚统计学家帕特里克·阿尔弗雷德·皮尔斯·莫兰 ...
- Moran’s I空间统计中出现内存溢出的问题
在经济学.资源管理.生物地理学.政治地理学和人口统计等领域,经常会有如下的研究需求: 研究区域中的富裕区和贫困区之间的最清晰边界在哪里? 研究区域中存在可以找到异常消费模式的位置吗? 研究区域中意想不 ...
- 地理信息系统 - ArcGIS - 高/低聚类分析工具(High/Low Clustering ---Getis-Ord General G)
前段时间在学习空间统计相关的知识,于是把ArcGIS里Spatial Statistics工具箱里的工具好好研究了一遍,同时也整理了一些笔记上传分享.这一篇先聊一些基础概念,工具介绍篇随后上传. 空间 ...
- ArcGIS空间分析工具
1. 3D分析 1.1. 3D Features toolset 工具 工具 描述 3D Features toolset (3D 要素工具集) Add Z Information 添加 Z 信息 添 ...
- Objective -C学习笔记之字典
//字典:(关键字 值) // NSArray *array = [NSArray array];//空数组 // NSDictionary *dictionary = [NSDictionary d ...
- Objective-C之字典
//字典:(关键字 值) //插入代码字太小 // NSArray *array = [NSArray array];//空数组 // NSDictionary *dict ...
- 远程办公《Remote》读书笔记:中国程序员在家上班月入过六万不是梦
这不是一本新书,这是一本很值得中国程序员看的老书,所以我不是来做卖新书广告的:) 但它的确是一本好书,这本书在Amazon上3个business categories排第一.作者Jason Fried ...
随机推荐
- UNIX v6
UNIX v6 http://download.csdn.net/download/u013896535/9106775 https://github.com/chromium/mini_chromi ...
- c#导出文件,下载文件,命名下载后的文件名
Page.Response.AppendHeader("Content-Disposition", "attachment;filename=" + HttpU ...
- 设计模式之笔记--适配器模式(Adapter)
适配器模式(Adapter) 定义 适配器模式(Adapter),将一个类的接口转换成客户希望的另外一个接口.Adapter模式使得原本由于接口不兼容而不能一起工作的那些类可以在一起工作. 适配器模式 ...
- UML基础
UML基础系列:类图 类图描述系统中类的静态结构,它不仅定义系统中的类,描述类之间的联系,如关联.依赖.聚合等,还包括类的内部结构(类的属性和操作).类图描述的是静态关系,在系统的整个生命周期中都 ...
- 使用cmd(黑窗口)敲命令使用远程数据库
C:\Users\gzz>mysql -h 10.27.104.176 -u root -p mysql
- python中烦人的锟斤拷(\xef\xbf\xbd)
首先要知道\xef\xbf\xbd是啥东西 >>> u'\uFFFD'.encode('utf-8') '\xef\xbf\xbd' 由此我们可以知道\xef\xbf\xbd是utf ...
- django “如何”系列2:如何编写django-admin 命令
应用可以使用manage.py注册自己的动作,例如,你可能想要为你即将发布的应用添加一个manage.py 操作.这节我们将为polls应用添加一个closepoll的命令 添加一个managemen ...
- hdu 2818(并查集,带权更新)
Building Block Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)To ...
- 更换163的yum源
1.利用oss的文件目录形式进行各地项目的汇总保存.上报在A目录,统计过的放到B目录. 2.各地服务器健康状态检查,每5分钟检查项目, 如果有异常,就发短信+邮件进行汇报.不管是不是有异常,都以 ...
- PHP PDO类 单例
<?php /*//pdo连接信息 $pdo=array("mysql:host=localhost;dbname=demo;charset=utf8","root ...