Class IndTestCramerT

java.lang.Object
edu.cmu.tetrad.search.work_in_progress.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).
Version:
$Id: $Id
Author:
josephramsey
  • 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.
      Parameters:
      covMatrix - a CorrelationMatrix object
      alpha - a double
    • 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.
      Parameters:
      covMatrix - a ICovarianceMatrix object
      alpha - a double
  • Method Details