Interface TetradTest

All Known Implementing Classes:
TetradTestContinuous, TetradTestDiscrete, TetradTestPopulation

public interface TetradTest
Provides an interface for classes that test tetrad constraints. For the continuous case, we have a variety of tests, including a distribution-free one (which may not be currently practical when the number of variables is too large).
Version:
$Id: $Id
Author:
Ricardo Silva
  • Method Details

    • getDataSet

      DataSet getDataSet()

      getDataSet.

      Returns:
      a DataSet object
    • tetradScore

      int tetradScore(int i, int j, int k, int q)

      tetradScore.

      Parameters:
      i - a int
      j - a int
      k - a int
      q - a int
      Returns:
      a int
    • tetradScore3

      boolean tetradScore3(int i, int j, int k, int q)

      tetradScore3.

      Parameters:
      i - a int
      j - a int
      k - a int
      q - a int
      Returns:
      a boolean
    • tetradScore1

      boolean tetradScore1(int i, int j, int k, int q)

      tetradScore1.

      Parameters:
      i - a int
      j - a int
      k - a int
      q - a int
      Returns:
      a boolean
    • tetradHolds

      boolean tetradHolds(int i, int j, int k, int q)

      tetradHolds.

      Parameters:
      i - a int
      j - a int
      k - a int
      q - a int
      Returns:
      a boolean
    • tetradPValue

      double tetradPValue(int i, int j, int k, int q)

      tetradPValue.

      Parameters:
      i - a int
      j - a int
      k - a int
      q - a int
      Returns:
      a double
    • oneFactorTest

      boolean oneFactorTest(int a, int b, int c, int d)

      oneFactorTest.

      Parameters:
      a - a int
      b - a int
      c - a int
      d - a int
      Returns:
      a boolean
    • oneFactorTest

      boolean oneFactorTest(int a, int b, int c, int d, int e)

      oneFactorTest.

      Parameters:
      a - a int
      b - a int
      c - a int
      d - a int
      e - a int
      Returns:
      a boolean
    • twoFactorTest

      boolean twoFactorTest(int a, int b, int c, int d)

      twoFactorTest.

      Parameters:
      a - a int
      b - a int
      c - a int
      d - a int
      Returns:
      a boolean
    • twoFactorTest

      boolean twoFactorTest(int a, int b, int c, int d, int e)

      twoFactorTest.

      Parameters:
      a - a int
      b - a int
      c - a int
      d - a int
      e - a int
      Returns:
      a boolean
    • twoFactorTest

      boolean twoFactorTest(int a, int b, int c, int d, int e, int f)

      twoFactorTest.

      Parameters:
      a - a int
      b - a int
      c - a int
      d - a int
      e - a int
      f - a int
      Returns:
      a boolean
    • getSignificance

      double getSignificance()

      getSignificance.

      Returns:
      a double
    • setSignificance

      void setSignificance(double sig)

      setSignificance.

      Parameters:
      sig - a double
    • getVarNames

      String[] getVarNames()

      getVarNames.

      Returns:
      an array of String objects
    • getVariables

      List<Node> getVariables()

      getVariables.

      Returns:
      a List object
    • getCovMatrix

      ICovarianceMatrix getCovMatrix()

      getCovMatrix.

      Returns:
      a ICovarianceMatrix object