Java org.apache.commons.math3.stat.correlation PearsonsCorrelation fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.correlation PearsonsCorrelation fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.correlation PearsonsCorrelation.

The text is from its open source code.

Constructor

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 .

Method

RealMatrixcomputeCorrelationMatrix(RealMatrix matrix)
Computes the correlation matrix for the columns of the input matrix.
RealMatrixcomputeCorrelationMatrix(double[][] data)
Computes the correlation matrix for the columns of the input rectangular array.
doublecorrelation(final double[] xArray, final double[] yArray)
Computes the Pearson's product-moment correlation coefficient between the two arrays.
RealMatrixgetCorrelationMatrix()
Returns the correlation matrix
RealMatrixgetCorrelationPValues()
Returns a matrix of p-values associated with the (two-sided) null hypothesis that the corresponding correlation coefficient is zero.