Package edu.cmu.tetrad.search
Class CompositeIndependenceTest
java.lang.Object
edu.cmu.tetrad.search.CompositeIndependenceTest
- All Implemented Interfaces:
IndependenceTest
CompositeIndependenceTest class.
- Version:
- $Id: $Id
- Author:
- josephramsey
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeIndependenceTest
(IndependenceTest[] independenceTests) Constructor for CompositeIndependenceTest. -
Method Summary
Modifier and TypeMethodDescriptioncheckIndependence
(Node x, Node y, Set<Node> z) checkIndependence.getData()
getData.getVariables.boolean
Returns true if the test prints verbose output.void
setVerbose
(boolean verbose) Sets whether this test will print verbose output.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.cmu.tetrad.search.IndependenceTest
checkIndependence, determines, getAlpha, getCov, getDataSets, getSampleSize, getVariable, getVariableNames, indTestSubset, setAlpha, toString
-
Constructor Details
-
CompositeIndependenceTest
Constructor for CompositeIndependenceTest.
- Parameters:
independenceTests
- an array ofIndependenceTest
objects
-
-
Method Details
-
checkIndependence
checkIndependence.
- Specified by:
checkIndependence
in interfaceIndependenceTest
- Parameters:
x
- aNode
objecty
- aNode
objectz
- aSet
object- Returns:
- an IndependenceResult (see).
- See Also:
-
getVariables
getVariables.
- Specified by:
getVariables
in interfaceIndependenceTest
- Returns:
- the list of variables over which this independence checker is capable of determining independence relations.
-
getData
getData.
- Specified by:
getData
in interfaceIndependenceTest
- Returns:
- The data model for the independence test, either a DataSet or a CovarianceMatrix.
- See Also:
-
isVerbose
public boolean isVerbose()Returns true if the test prints verbose output.- Specified by:
isVerbose
in interfaceIndependenceTest
- Returns:
- True if the case.
-
setVerbose
public void setVerbose(boolean verbose) Sets whether this test will print verbose output.- Specified by:
setVerbose
in interfaceIndependenceTest
- Parameters:
verbose
- True, if so.
-