Announcement: All noncommercial projects registered to use Earth Engine before April 15, 2025 must verify noncommercial eligibility to maintain Earth Engine access.
Stay organized with collections
Save and categorize content based on your preferences.
Creates a two-input reducer that computes the Spearman's rank-moment correlation. See https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/stat/correlation/SpearmansCorrelation.html for details.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-13 UTC."],[[["\u003cp\u003eCalculates the Spearman's rank-moment correlation between two input variables.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the Apache Commons Math library for computation, as detailed in their documentation.\u003c/p\u003e\n"],["\u003cp\u003eOffers a straightforward usage with \u003ccode\u003eee.Reducer.spearmansCorrelation()\u003c/code\u003e which returns a Reducer object.\u003c/p\u003e\n"],["\u003cp\u003eRequires no arguments for initialization.\u003c/p\u003e\n"]]],["This defines a reducer, `ee.Reducer.spearmansCorrelation()`, which calculates the Spearman's rank-moment correlation between two input datasets. The reducer, which takes no arguments, utilizes the methodology detailed in the Apache Commons Math library. The output of this reducer is a `Reducer` object representing the computed correlation.\n"],null,["Creates a two-input reducer that computes the Spearman's rank-moment correlation. See https://commons.apache.org/proper/commons-math/javadocs/api-3.6/org/apache/commons/math3/stat/correlation/SpearmansCorrelation.html for details.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Usage | Returns |\n|-------------------------------------|---------|\n| `ee.Reducer.spearmansCorrelation()` | Reducer |\n\n**No arguments.**"]]