|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.stat.correlation.PearsonsCorrelationTest
public class PearsonsCorrelationTest
| Field Summary | |
|---|---|
protected double[] |
longleyData
|
protected double[] |
swissData
|
| Constructor Summary | |
|---|---|
PearsonsCorrelationTest()
|
|
| Method Summary | |
|---|---|
protected RealMatrix |
createLowerTriangularRealMatrix(double[] data,
int dimension)
|
protected RealMatrix |
createRealMatrix(double[] data,
int nRows,
int nCols)
|
protected void |
fillUpper(RealMatrix matrix,
double diagonalValue)
|
void |
testConsistency()
|
void |
testConstant()
Constant column |
void |
testCovarianceConsistency()
Verify that creating correlation from covariance gives same results as direct computation from the original matrix |
void |
testInsufficientData()
Insufficient data |
void |
testLongly()
Test Longley dataset against R. |
void |
testPValueNearZero()
Test p-value near 0. |
void |
testStdErrorConsistency()
Verify that direct t-tests using standard error estimates are consistent with reported p-values |
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 PearsonsCorrelationTest()
| Method Detail |
|---|
public void testLongly()
public void testSwissFertility()
public void testPValueNearZero()
public void testConstant()
public void testInsufficientData()
public void testStdErrorConsistency()
public void testCovarianceConsistency()
public void testConsistency()
protected RealMatrix createRealMatrix(double[] data,
int nRows,
int nCols)
protected RealMatrix createLowerTriangularRealMatrix(double[] data,
int dimension)
protected void fillUpper(RealMatrix matrix,
double diagonalValue)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||