Announcement: All noncommercial projects registered to use Earth Engine before
April 15, 2025 must
verify noncommercial eligibility to maintain Earth Engine access.
ee.Reducer.spearmansCorrelation
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.
Usage | Returns | ee.Reducer.spearmansCorrelation() | Reducer |
No arguments.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-13 UTC.
[null,null,["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,["# ee.Reducer.spearmansCorrelation\n\nCreates 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.**"]]