Google Earth Engine(GEE) ——kendalls/pearsons/spearmans三种相关系数的对比分析

很多时候我们要计算波段之间的相关性,这里我们就需要了解相关性分析,在GEE中存在有三种相关性分析的函数,这次我们使用了两种不同的影像,分别选择对应的ndvi波段来完成对影像波段的选择,最后我们可以通过reduceRegion函数实现对影像的统计,这里我们要明确的是,我们需要对影像进行统计分析,即使是用相关性分析也是要通过这个函数来实现的,和统计影像数量是一样的。分别如下:

函数:

ee.Reducer.kendallsCorrelation(numInputs)

Creates a reducer that computes the Kendall's Tau-b rank correlation. A positive tau value indicates an increasing trend; negative value indicates a decreasing trend. See https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/stat/correlation/KendallsCorrelation.html for detail

猜你喜欢

转载自blog.csdn.net/qq_31988139/article/details/128719640