Package edu.cmu.tetrad.search.test
Class IndTestFisherZConcatenateResiduals
java.lang.Object
edu.cmu.tetrad.search.test.IndTestFisherZConcatenateResiduals
- All Implemented Interfaces:
- IndependenceTest
Calculates independence from pooled residuals using the Fisher Z method.
- Author:
- josephramsey
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionIndTestFisherZConcatenateResiduals(List<DataSet> dataSets, double alpha) Constructor.
- 
Method SummaryModifier and TypeMethodDescriptioncheckIndependence(Node x, Node y, Set<Node> _z) Determines whether x _||_ y | z.booleandetermines(List<Node> z, Node x) doublegetAlpha()Gets the getModel significance level.getCov()Returns teh covaraince matrix of the concatenated data.getData()Returns the concatenated data.indTestSubset(List<Node> vars) Returns an Independence test for a sublist of the variables.booleanReturn True if verbose output should be printed.voidsetAlpha(double alpha) Sets the significance level at which independence judgments should be made.voidsetVerbose(boolean verbose) Sets whether verbose output is printed.toString()Returns a string representation of this test.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.IndependenceTestcheckIndependence, determines, getDataSets, getSampleSize, getVariable, getVariableNames
- 
Constructor Details- 
IndTestFisherZConcatenateResidualsConstructor.- Parameters:
- dataSets- The continuous datasets to analyze.
- alpha- The alpha significance cutoff value.
 
 
- 
- 
Method Details- 
indTestSubsetDescription copied from interface:IndependenceTestReturns an Independence test for a sublist of the variables.- Specified by:
- indTestSubsetin interface- IndependenceTest
- Parameters:
- vars- The sublist of variables.
- Throws:
- UnsupportedOperationException- Not implemented.
 
- 
checkIndependenceDetermines whether x _||_ y | z.- Specified by:
- checkIndependencein interface- IndependenceTest
- Returns:
- an independence result
- Throws:
- org.apache.commons.math3.linear.SingularMatrixException- if a matrix singularity is encountered.
- See Also:
 
- 
getAlphapublic double getAlpha()Gets the getModel significance level.- Specified by:
- getAlphain interface- IndependenceTest
- Returns:
- This level.
 
- 
setAlphapublic void setAlpha(double alpha) Sets the significance level at which independence judgments should be made. Affects the cutoff for partial correlations to be considered statistically equal to zero.- Specified by:
- setAlphain interface- IndependenceTest
- Parameters:
- alpha- This level.
 
- 
getVariables- Specified by:
- getVariablesin interface- IndependenceTest
- Returns:
- the list of variables over which this independence checker is capable of determinine independence relations-- that is, all the variables in the given graph or the given data set.
 
- 
determines- Throws:
- UnsupportedOperationException- Not implemented.
 
- 
getDataReturns the concatenated data.- Specified by:
- getDatain interface- IndependenceTest
- Returns:
- This data
- See Also:
 
- 
getCovReturns teh covaraince matrix of the concatenated data.- Specified by:
- getCovin interface- IndependenceTest
- Returns:
- This covariance matrix.
 
- 
toStringDescription copied from interface:IndependenceTestReturns a string representation of this test.- Specified by:
- toStringin interface- IndependenceTest
- Overrides:
- toStringin class- Object
- Returns:
- a string representation of this test.
 
- 
isVerbosepublic boolean isVerbose()Return True if verbose output should be printed.- Specified by:
- isVerbosein interface- IndependenceTest
- Returns:
- True, if so.
 
- 
setVerbosepublic void setVerbose(boolean verbose) Sets whether verbose output is printed.- Specified by:
- setVerbosein interface- IndependenceTest
- Parameters:
- verbose- True, if so.
 
 
-