[
https://issues.apache.org/jira/browse/MATH-1697?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18146471#comment-18146471
]
Alex Herbert commented on MATH-1697:
------------------------------------
Should we move this to a STATISTICS issue? It can also linkĀ STATISTICS-5.
I did look at moving Covariance as I required it for a minor piece of work. It
is very bloated. The only method that really does any work is the instance
method:
```java
public double covariance(final double[] xArray, final double[] yArray, boolean
biasCorrected)
```
This can be static as it uses nothing from the instance. Current matrix support
repeatedly calls this. It could be optimised given repeat calls with the same
column recompute the mean each time.
> Move contents of "o.a.c.m.legacy.stat.correlation" to Commons Statistics
> ------------------------------------------------------------------------
>
> Key: MATH-1697
> URL: https://issues.apache.org/jira/browse/MATH-1697
> Project: Commons Math
> Issue Type: Wish
> Components: legacy
> Reporter: Gilles Sadowski
> Priority: Major
> Labels: commons-statistics, refactoring
>
> As per title.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)