|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.stat.correlation.CovarianceTest
public class CovarianceTest
| Field Summary | |
|---|---|
protected double[] |
longleyData
|
protected double[] |
swissData
|
| Constructor Summary | |
|---|---|
CovarianceTest()
|
|
| Method Summary | |
|---|---|
protected RealMatrix |
createRealMatrix(double[] data,
int nRows,
int nCols)
|
void |
testConsistency()
Verify that diagonal entries are consistent with Variance computation and matrix matches column-by-column covariances |
void |
testConstant()
Constant column |
void |
testInsufficientData()
Insufficient data |
void |
testLongly()
Test Longley dataset against R. |
void |
testOneColumn()
One column |
void |
testSwissFertility()
Test R Swiss fertility dataset against R. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final double[] longleyData
protected final double[] swissData
| Constructor Detail |
|---|
public CovarianceTest()
| Method Detail |
|---|
public void testLongly()
public void testSwissFertility()
public void testConstant()
public void testOneColumn()
public void testInsufficientData()
public void testConsistency()
protected RealMatrix createRealMatrix(double[] data,
int nRows,
int nCols)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||