类 PearsonsCorrelationTest
java.lang.Object
org.hipparchus.stat.correlation.PearsonsCorrelationTest
-
字段概要
-
构造器概要
-
方法概要
修饰符和类型方法说明protected RealMatrix
createLowerTriangularRealMatrix
(double[] data, int dimension) protected RealMatrix
createRealMatrix
(double[] data, int nRows, int nCols) protected void
fillUpper
(RealMatrix matrix, double diagonalValue) void
void
常数列void
验证从协方差创建相关性是否与直接从原始矩阵计算得出的结果相同void
数据不足void
针对R测试Longley数据集。void
p值接近0的测试void
验证使用标准误差估计的直接t检验结果是否与报告的p值一致void
针对R测试瑞士生育数据集。
-
字段详细资料
-
longleyData
protected final double[] longleyData -
swissData
protected final double[] swissData
-
-
构造器详细资料
-
PearsonsCorrelationTest
public PearsonsCorrelationTest()
-
-
方法详细资料
-
testLongly
public void testLongly()针对R测试Longley数据集。 -
testSwissFertility
public void testSwissFertility()针对R测试瑞士生育数据集。 -
testPValueNearZero
public void testPValueNearZero()p值接近0的测试。JIRA: MATH-371 -
testConstant
public void testConstant()常数列 -
testInsufficientData
public void testInsufficientData()数据不足 -
testStdErrorConsistency
public void testStdErrorConsistency()验证使用标准误差估计的直接t检验结果是否与报告的p值一致 -
testCovarianceConsistency
public void testCovarianceConsistency()验证从协方差创建相关性是否与直接从原始矩阵计算得出的结果相同 -
testConsistency
public void testConsistency() -
createRealMatrix
-
createLowerTriangularRealMatrix
-
fillUpper
-