Class IndTestFisherZRecursive

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

public final class IndTestFisherZRecursive extends Object implements IndependenceTest
Checks conditional independence of variable in a continuous data set using Fisher's Z test. See Spirtes, Glymour, and Scheines, "Causation, Prediction and Search," 2nd edition, page 94.
Author:
Joseph Ramsey, Frank Wimberly adapted IndTestCramerT for Fisher's Z
  • Constructor Details

    • IndTestFisherZRecursive

      public IndTestFisherZRecursive(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 containing only continuous columns.
      alpha - The alpha level of the test.
    • IndTestFisherZRecursive

      public IndTestFisherZRecursive(Matrix data, List<Node> variables, double alpha)
      Constructs a new Fisher Z independence test with the listed arguments.
      Parameters:
      data - A 2D continuous data set with no missing values.
      variables - A list of variables, a subset of the variables of data.
      alpha - The significance cutoff level. p values less than alpha will be reported as dependent.
    • IndTestFisherZRecursive

      public IndTestFisherZRecursive(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