Package edu.cmu.tetrad.stat.correlation
Class RealCovarianceMatrix
java.lang.Object
edu.cmu.tetrad.stat.correlation.RealCovarianceMatrix
- All Implemented Interfaces:
RealCovariance
Jan 27, 2016 5:35:01 PM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2@pitt.edu)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]compute(boolean biasCorrected) compute.double[]computeLowerTriangle(boolean biasCorrected) computeLowerTriangle.
-
Constructor Details
-
RealCovarianceMatrix
public RealCovarianceMatrix(double[][] data) Constructor for RealCovarianceMatrix.
- Parameters:
data- an array of objects
-
-
Method Details
-
computeLowerTriangle
public double[] computeLowerTriangle(boolean biasCorrected) computeLowerTriangle.
- Specified by:
computeLowerTrianglein interfaceRealCovariance- Parameters:
biasCorrected- a boolean- Returns:
- an array of objects
-
compute
public double[][] compute(boolean biasCorrected) compute.
- Specified by:
computein interfaceRealCovariance- Parameters:
biasCorrected- a boolean- Returns:
- an array of objects
-