You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Anirudh Joshi (Jira)" <ji...@apache.org> on 2023/08/03 07:11:00 UTC
[jira] [Created] (STATISTICS-79) Implement Mean
Anirudh Joshi created STATISTICS-79:
---------------------------------------
Summary: Implement Mean
Key: STATISTICS-79
URL: https://issues.apache.org/jira/browse/STATISTICS-79
Project: Commons Statistics
Issue Type: Sub-task
Components: descriptive
Reporter: Anirudh Joshi
Computes the rolling mean according to the [FirstMoment.increment(double d)|https://github.com/apache/commons-math/blob/master/commons-math-legacy/src/main/java/org/apache/commons/math4/legacy/stat/descriptive/moment/FirstMoment.java#L92] method in {{commons-math}} library. If the input array is known beforehand, such as in the {{Mean.of(double... values)}} method, a more accurate mean is computed using a two-pass, corrected algorithm is used, starting with the recursive updating algorithm mentioned above, which protects the mean from overflow, and then correcting this by adding the mean deviation of the data values from the arithmetic mean.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)