Class IndTestUniformScatter
java.lang.Object
edu.cmu.tetrad.search.work_in_progress.IndTestUniformScatter
- All Implemented Interfaces:
IndependenceTest
-
Constructor Summary
ConstructorsConstructorDescriptionIndTestUniformScatter(DataSet dataSet, double alpha, double avgCountPerCell, int numCondCategories) -
Method Summary
Modifier and TypeMethodDescriptioncheckIndependence(Node x, Node y, Set<Node> z) getData()booleanReturns true if the test prints verbose output.static voidvoidsetVerbose(boolean verbose) Sets whether this test will print verbose output.Methods inherited from class java.lang.Object
clone, equals, finalize, 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
-
IndTestUniformScatter
public IndTestUniformScatter(DataSet dataSet, double alpha, double avgCountPerCell, int numCondCategories)
-
-
Method Details
-
main
-
checkIndependence
- Specified by:
checkIndependencein interfaceIndependenceTest- Returns:
- an IndependenceResult (see).
- See Also:
-
getVariables
- Specified by:
getVariablesin interfaceIndependenceTest- Returns:
- the list of variables over which this independence checker is capable of determining independence relations.
-
getData
- Specified by:
getDatain interfaceIndependenceTest- Returns:
- The data model for the independence test, either a DataSet or a CovarianceMatrix.
- See Also:
-
isVerbose
public boolean isVerbose()Description copied from interface:IndependenceTestReturns true if the test prints verbose output.- Specified by:
isVerbosein interfaceIndependenceTest- Returns:
- True if the case.
-
setVerbose
public void setVerbose(boolean verbose) Description copied from interface:IndependenceTestSets whether this test will print verbose output.- Specified by:
setVerbosein interfaceIndependenceTest- Parameters:
verbose- True, if so.
-