Example usage for Java org.apache.commons.math.stat.correlation PearsonsCorrelation fields, constructors, methods, implement or subclass
The text is from its open source code.
PearsonsCorrelation() Create a PearsonsCorrelation instance without data | |
PearsonsCorrelation(double[][] data) Create a PearsonsCorrelation from a rectangular array whose columns represent values of variables to be correlated. | |
PearsonsCorrelation(RealMatrix matrix) Create a PearsonsCorrelation from a RealMatrix whose columns represent variables to be correlated. | |
PearsonsCorrelation(Covariance covariance) Create a PearsonsCorrelation from a Covariance . |
double | correlation(final double[] xArray, final double[] yArray) Computes the Pearson's product-moment correlation coefficient between the two arrays. |
RealMatrix | getCorrelationMatrix() Returns the correlation matrix |
RealMatrix | getCorrelationPValues() Returns a matrix of p-values associated with the (two-sided) null hypothesis that the corresponding correlation coefficient is zero. |