ee.Reducer.kendallsCorrelation

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 details.

UsageReturns
ee.Reducer.kendallsCorrelation(numInputs)Reducer
ArgumentTypeDetails
numInputsInteger, default: 1

The number of inputs to expect (1 or 2). If 1 is specified, automatically generates sequence numbers for the x value (meaning there can be no ties).

Examples

JavaScript

// Your example goes here!

Python

# Your example goes here!