Package edu.cmu.tetrad.search.utils
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 Summary
Modifier and TypeMethodDescriptiongetCovMatrix.getDataSet.double
getSignificance.getVariables.String[]
getVarNames.boolean
oneFactorTest
(int a, int b, int c, int d) oneFactorTest.boolean
oneFactorTest
(int a, int b, int c, int d, int e) oneFactorTest.void
setSignificance
(double sig) setSignificance.boolean
tetradHolds
(int i, int j, int k, int q) tetradHolds.double
tetradPValue
(int i, int j, int k, int q) tetradPValue.int
tetradScore
(int i, int j, int k, int q) tetradScore.boolean
tetradScore1
(int i, int j, int k, int q) tetradScore1.boolean
tetradScore3
(int i, int j, int k, int q) tetradScore3.boolean
twoFactorTest
(int a, int b, int c, int d) twoFactorTest.boolean
twoFactorTest
(int a, int b, int c, int d, int e) twoFactorTest.boolean
twoFactorTest
(int a, int b, int c, int d, int e, int f) twoFactorTest.
-
Method Details
-
getDataSet
-
tetradScore
int tetradScore(int i, int j, int k, int q) tetradScore.
- Parameters:
i
- a intj
- a intk
- a intq
- a int- Returns:
- a int
-
tetradScore3
boolean tetradScore3(int i, int j, int k, int q) tetradScore3.
- Parameters:
i
- a intj
- a intk
- a intq
- a int- Returns:
- a boolean
-
tetradScore1
boolean tetradScore1(int i, int j, int k, int q) tetradScore1.
- Parameters:
i
- a intj
- a intk
- a intq
- a int- Returns:
- a boolean
-
tetradHolds
boolean tetradHolds(int i, int j, int k, int q) tetradHolds.
- Parameters:
i
- a intj
- a intk
- a intq
- a int- Returns:
- a boolean
-
tetradPValue
double tetradPValue(int i, int j, int k, int q) tetradPValue.
- Parameters:
i
- a intj
- a intk
- a intq
- a int- Returns:
- a double
-
oneFactorTest
boolean oneFactorTest(int a, int b, int c, int d) oneFactorTest.
- Parameters:
a
- a intb
- a intc
- a intd
- a int- Returns:
- a boolean
-
oneFactorTest
boolean oneFactorTest(int a, int b, int c, int d, int e) oneFactorTest.
- Parameters:
a
- a intb
- a intc
- a intd
- a inte
- a int- Returns:
- a boolean
-
twoFactorTest
boolean twoFactorTest(int a, int b, int c, int d) twoFactorTest.
- Parameters:
a
- a intb
- a intc
- a intd
- a int- Returns:
- a boolean
-
twoFactorTest
boolean twoFactorTest(int a, int b, int c, int d, int e) twoFactorTest.
- Parameters:
a
- a intb
- a intc
- a intd
- a inte
- a int- Returns:
- a boolean
-
twoFactorTest
boolean twoFactorTest(int a, int b, int c, int d, int e, int f) twoFactorTest.
- Parameters:
a
- a intb
- a intc
- a intd
- a inte
- a intf
- a int- Returns:
- a boolean
-
getSignificance
double getSignificance()getSignificance.
- Returns:
- a double
-
setSignificance
void setSignificance(double sig) setSignificance.
- Parameters:
sig
- a double
-
getVarNames
-
getVariables
-
getCovMatrix
-