[转] 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 ...
随机推荐
- UVALive 7040 Color
题目链接:LA-7040 题意为用m种颜色给n个格子染色.问正好使用k种颜色的方案有多少. 首先很容易想到的是\( k * (k-1)^{n-1}\),这个算出来的是使用小于等于k种颜色给n个方格染色 ...
- 2014ACM/ICPC亚洲区北京站题解
本题解不包括个人觉得太水的题(J题本人偷懒没做). 个人觉得这场其实HDU-5116要比HDU-5118难,不过赛场情况似乎不是这样.怀疑是因为老司机带错了路. 这套题,个人感觉动态规划和数论是两个主 ...
- Ruby-Clamp
require "clamp" class ClampTest < Clamp::Command # 1.命令行的参数使用主要分两类,一种是参数名称后面带参数值的方式, #我 ...
- 全国省市区数据SQL - 省市区
转载:https://www.cnblogs.com/flywind/p/6036801.html
- Struts2学习笔记02 之 使用
一.页面向Action传参 1.基本属性注入,页面命名name,action提供成员变量name并提供set方法. 2.域模型注入:页面用user.name对象点属性形式.action成员user对象 ...
- 17:django Email
我自己在看这一节之前自己先实现了一下,django-admin.py startproject testEmail新建一个新项目,urls.py把urlpatterns的第一行取消注释,改成url(r ...
- find命令的基本用法
linux 中find 常用示例解析 find [-H] [-L] [-P] [-D debugopts] [-Olevel] [path…] [expression] 其实[-H] [-L] [- ...
- redis之(十七)自己实现redis的cluster集群环境的搭建
[一]创建不同节点的配置文件和目录.并将配置文件中的port,cluster-enable,daemonize项做修改. --->port:修改成redis实例对应的端口号 --->clu ...
- 利用js生成读取页面数据并导出为excel
//核心,js部分 */var navs = new Vue({ el: '#navs', data: { navs: [] }, ready: function () { this.$http.ge ...
- ejs模板在express里的默认文件夹路径修改
默认的是这句: app.set('view engine','ejs') ===>/views文件夹 我想要变成/websong app.set('views','webosg'); app.s ...