Class IndTestCramerT

java.lang.Object
edu.cmu.tetrad.search.IndTestCramerT
All Implemented Interfaces:
IndependenceTest

public final class IndTestCramerT extends Object implements IndependenceTest
Checks conditional independence for continuous variables using Cramer's T-test formula (Cramer, Mathematical Methods of Statistics (1951), page 413).
Author:
Joseph Ramsey
  • Constructor Details

    • IndTestCramerT

      public IndTestCramerT(DataSet dataSet, double alpha)
      Constructs a new Independence test which checks independence facts based on the correlation matrix implied by the given data set (must be continuous). The given significance level is used.
      Parameters:
      dataSet - A data set with all continuous columns.
      alpha - the alpha level of the test.
    • IndTestCramerT

      public IndTestCramerT(CorrelationMatrix covMatrix, double alpha)
      Constructs a new independence test that will determine conditional independence facts using the given correlation matrix and the given significance level.
    • IndTestCramerT

      public IndTestCramerT(ICovarianceMatrix covMatrix, double alpha)
      Constructs a new independence test that will determine conditional independence facts using the given correlation matrix and the given significance level.
  • Method Details