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) Checks the independence between two variables x and y given a conditioning set z.getData()Retrieves the data model associated with this test.Retrieves the list of variables associated with this independence test.booleanReturns true if the test prints verbose output.voidsetVerbose(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, waitMethods 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 ofIndependenceTestobjects
 
 - 
 - 
Method Details
- 
checkIndependence
Checks the independence between two variables x and y given a conditioning set z.- Specified by:
 checkIndependencein interfaceIndependenceTest- Parameters:
 x- The first variable to test, represented as a Node object.y- The second variable to test, represented as a Node object.z- The set of conditioning variables, represented as a Set of Node objects.- Returns:
 - An IndependenceResult object representing the outcome of the independence test.
 
 - 
getVariables
Retrieves the list of variables associated with this independence test.- Specified by:
 getVariablesin interfaceIndependenceTest- Returns:
 - A list of 
Nodeobjects representing the variables. 
 - 
getData
Retrieves the data model associated with this test.- Specified by:
 getDatain interfaceIndependenceTest- Returns:
 - A 
DataModelobject representing the data model. 
 - 
isVerbose
public boolean isVerbose()Returns true if the test prints verbose output.- Specified by:
 isVerbosein interfaceIndependenceTest- Returns:
 - True if the case.
 
 - 
setVerbose
public void setVerbose(boolean verbose) Sets whether this test will print verbose output.- Specified by:
 setVerbosein interfaceIndependenceTest- Parameters:
 verbose- True, if so.
 
 -