[转] 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 ...
随机推荐
- C基础 redis缓存访问
引言 先说redis安装, 这里采用的环境是. Linux version --generic (buildd@lgw01-) (gcc version (Ubuntu -14ubuntu2) ) # ...
- 【java报错】Unknown character set index for field '224' received from server.
在捣腾免费数据库时,使用的一个数据库提供商的服务器使用utf8mb4编码,而我的jar包还是八百年前的.然后...然后就报错了... (1) MYSQL 5.5 之前, UTF8 编码只支持1-3个字 ...
- aspxpivotgrid排序
protected virtual void SetSortBySummary() { foreach (PivotGridField field in grid.Fields) { if (fiel ...
- python_day3学习笔记
set集合 python的set是一个无序不重复元素集,基本功能包括关系测试和消除重复元素. 集合对象还支持并.交.差.对称差等. sets 支持 x in set. len(set).和 for x ...
- HDU 2829 Lawrence(斜率优化DP O(n^2))
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2829 题目大意:有一段铁路有n个站,每个站可以往其他站运送粮草,现在要炸掉m条路使得粮草补给最小,粮草 ...
- request.getRemoteAddr() 获取的值为0:0:0:0:0:0:0:1的原因及解决办法
问题: 在近期开发的javaweb项目中,需要记录登录时的电脑ip地址和主机名,通过request.getRemoteAddr()和request.getRemoteHost()得到的值都是0:0:0 ...
- sonar rule
bug类型: 1.".equals()" should not be used to test the values of "Atomic" classes. ...
- 架构设计之NodeJS操作消息队列RabbitMQ
一. 什么是消息队列? 消息(Message)是指在应用间传送的数据.消息可以非常简单,比如只包含文本字符串,也可以更复杂,可能包含嵌入对象. 消息队列(Message Queue)是一种应用间的通信 ...
- es2015(es6)学习总结
1.三种声明方式 var:它是variable的简写,可以理解成变量的意思. let:它在英文中是“让”的意思,也可以理解为一种声明的意思. const:它在英文中也是常量的意思,在ES6也是用来声明 ...
- C/C++宏的用法
今天看caffe源码的时候看到了很多宏定义的内容,苦于代码基础薄弱,无法全部理解,故在网上搜得此篇好文,转载一发附原文地址:http://blog.csdn.net/hanchaoman/articl ...