类 PearsonsCorrelationTest

java.lang.Object
org.hipparchus.stat.correlation.PearsonsCorrelationTest
直接已知子类:
KendallsCorrelationTest, SpearmansRankCorrelationTest

public class PearsonsCorrelationTest extends Object
  • 字段详细资料

    • 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

      protected RealMatrix createRealMatrix(double[] data, int nRows, int nCols)
    • createLowerTriangularRealMatrix

      protected RealMatrix createLowerTriangularRealMatrix(double[] data, int dimension)
    • fillUpper

      protected void fillUpper(RealMatrix matrix, double diagonalValue)