Uses of Interface
edu.cmu.tetrad.search.IndependenceTest
Packages that use IndependenceTest
Package
Description
Contains classes for searching for (mostly structural) causal models given data.
Contains classes for various sorts of scores for running score-based algorithms.
Contains classes for running conditional independence tests for various sorts of data.
Contains some utility classes for search algorithms.
Contains some classes that aren't ready for prime time.
-
Uses of IndependenceTest in edu.cmu.tetrad.algcomparison.independence
Methods in edu.cmu.tetrad.algcomparison.independence that return IndependenceTestModifier and TypeMethodDescriptionBasisFunctionBicTest.getTest
(DataModel dataSet, Parameters parameters) Returns an instance of IndependenceTest for the Basis Function BIC test.BdeuTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.CciTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.ChiSquare.getTest
(DataModel dataSet, Parameters parameters) Retrieves an instance of the IndependenceTest interface that performs a Chi Square Test for independence.ConditionalGaussianLRT.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.DegenerateGaussianLRT.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.DiscreteBicTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.FisherZ.getTest
(DataModel dataModel, Parameters parameters) Gets an independence test based on the given data model and parameters.GICScoreTests.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.GSquare.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.IndependenceWrapper.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.Kci.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.MagSemBicTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.Mnlrlrt.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.MSeparationTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.MultinomialLogisticRegressionWald.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.Mvplrt.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.PoissonPriorTest.getTest
(DataModel dataSet, Parameters parameters) Returns an instance of IndependenceTest for the Poisson Prior test.PositiveCorr.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.ProbabilisticTest.getTest
(DataModel dataSet, Parameters parameters) Returns true iff x and y are independent conditional on z for the given data set.SemBicDTest.getTest
(DataModel dataSet, Parameters parameters) Retrieves an IndependenceTest object for testing independence against a given data set and parameters.SemBicTest.getTest
(DataModel dataSet, Parameters parameters) Returns an instance of IndependenceTest for the SEM BIC test. -
Uses of IndependenceTest in edu.cmu.tetrad.graph
Methods in edu.cmu.tetrad.graph with parameters of type IndependenceTestModifier and TypeMethodDescriptionDag.getSepset
(Node n1, Node n2, IndependenceTest test) Returns the sepset between two given nodes in the graph.EdgeListGraph.getSepset
(Node x, Node y, IndependenceTest test) Returns the set of nodes that form the separating set between two given nodes.Graph.getSepset
(Node n1, Node n2, IndependenceTest test) Returns the set of nodes that form the separating set between two given nodes.LagGraph.getSepset
(Node n1, Node n2, IndependenceTest test) Returns the set of nodes that form the separating set between two given nodes.Paths.getSepset
(Node x, Node y, boolean allowSelectionBias, IndependenceTest test, int depth) Finds a sepset for x and y, if there is one; otherwise, returns null.SemGraph.getSepset
(Node n1, Node n2, IndependenceTest test) Returns the set of nodes that form the separating set between two given nodes.TimeLagGraph.getSepset
(Node n1, Node n2, IndependenceTest test) Retrieves the sepset of two nodes in the graph.static double
GraphUtils.localMarkovInitializePValues
(Graph dag, boolean ensureMarkov, IndependenceTest test, Map<org.apache.commons.lang3.tuple.Pair<Node, Node>, Set<Double>> pValues) Initializes and evaluates p-values for local Markov properties in a given graph.void
Paths.removeByPossibleMsep
(IndependenceTest test, SepsetMap sepsets) Remove edges by the possible m-separation rule. -
Uses of IndependenceTest in edu.cmu.tetrad.search
Classes in edu.cmu.tetrad.search that implement IndependenceTestModifier and TypeClassDescriptionclass
CompositeIndependenceTest class.class
Checks independence results by listing all tests with those variables, testing each one, and returning the resolution of these test results.Methods in edu.cmu.tetrad.search that return IndependenceTestModifier and TypeMethodDescriptionBFci.getIndependenceTest()
The independence test being used for some steps in final orientation.Cpc.getIndependenceTest()
Rreturn the independence test used in the search, set in the constructor.Fci.getIndependenceTest()
Returns the independence test used in search.FciMax.getIndependenceTest()
Returns the independence test used in search.GFci.getIndependenceTest()
Returns the independence test used in search.MarkovCheck.getIndependenceTest()
Returns the independence test being used.Pc.getIndependenceTest()
Returns the independence test being used in the search.Pcd.getIndependenceTest()
Retrieves the IndependenceTest used by this method.Rfci.getIndependenceTest()
Returns the independence test.SpFci.getIndependenceTest()
Returns the independence test used in search.SvarFci.getIndependenceTest()
Returns independence test.PcMb.getTest()
Returns the test used in search.default IndependenceTest
IndependenceTest.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestIod.indTestSubset
(List<Node> vars) Calculates the independence test for a subset of variables.Methods in edu.cmu.tetrad.search with parameters of type IndependenceTestModifier and TypeMethodDescriptionMarkovCheck.getAndersonDarlingTestAcceptsRejectsNodesForAllNodes
(IndependenceTest independenceTest, Graph graph, Double threshold, Double shuffleThreshold) Calculates the Anderson-Darling test and classifies nodes as accepted or rejected based on the given threshold.MarkovCheck.getAndersonDarlingTestAcceptsRejectsNodesForAllNodesPlotData
(IndependenceTest independenceTest, Graph estimatedCpdag, Graph trueGraph, Double threshold, Double shuffleThreshold, Double lowRecallBound) Get accepts and rejects nodes for all nodes from Anderson-Darling test and generate the plot data for confusion statistics.MarkovCheck.getAndersonDarlingTestAcceptsRejectsNodesForAllNodesPlotData2
(IndependenceTest independenceTest, Graph estimatedCpdag, Graph trueGraph, Double threshold, Double shuffleThreshold, Double lowRecallBound) Get accepts and rejects nodes for all nodes from Anderson-Darling test and generate the plot data for confusion statistics.MarkovCheck.getLocalPValues
(IndependenceTest independenceTest, List<IndependenceFact> facts) Calculates the local p-values for a given independence test and a list of independence facts.MarkovCheck.getLocalPValues
(IndependenceTest independenceTest, List<IndependenceFact> facts, Double shuffleThreshold) Get Local P values with shuffle threshold provided.SepsetFinder.getSepsetContainingGreedy
(Graph graph, Node x, Node y, Set<Node> containing, IndependenceTest test, int depth) Returns the sepset that contains the greedy test for variables x and y in the given graph.SepsetFinder.getSepsetContainingMaxPHybrid
(Graph graph, Node x, Node y, Set<Node> containing, IndependenceTest test, int depth) Returns the set of nodes that act as a separating set between two given nodes (x and y) in a graph.SepsetFinder.getSepsetContainingMinPHybrid
(Graph graph, Node x, Node y, Set<Node> containing, IndependenceTest test, int depth) Returns the sepset containing the minimum p-value for the given variables x and y.SepsetFinder.getSepsetPathBlockingOutOfX
(Graph mpdag, Node x, Node y, IndependenceTest test, int maxLength, int depth, boolean allowSelectionBias, Set<Node> blacklist) Calculates the sepset path blocking out-of operation for a given pair of nodes in a graph.void
MarkovCheck.setIndependenceTest
(IndependenceTest test) Sets the independence test to be used for determining independence between variables.Constructors in edu.cmu.tetrad.search with parameters of type IndependenceTestModifierConstructorDescriptionBFci
(IndependenceTest test, Score score) Constructor.Ccd
(IndependenceTest test) Construct a CCD algorithm with the given independence test.Cfci
(IndependenceTest independenceTest) Constructs a new FCI search for the given independence test and background knowledge.CompositeIndependenceTest
(IndependenceTest[] independenceTests) Constructor for CompositeIndependenceTest.Cpc
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.Fas
(IndependenceTest test) Constructor.Fasd
(IndependenceTest test) Constructs a new FastAdjacencySearch.FaskOrig
(DataSet dataSet, Score score, IndependenceTest test) Constructor.Fci
(IndependenceTest independenceTest) Constructor.Fci
(IndependenceTest independenceTest, List<Node> searchVars) Constructor.FciMax
(IndependenceTest independenceTest) Constructor.GFci
(IndependenceTest test, Score score) Constructs a new GFci algorithm with the given independence test and score.Grasp
(@NotNull IndependenceTest test) Constructor for a test.Grasp
(IndependenceTest test, Score score) Constructor that takes both a test and a score; only one is used-- the parameter setting will decide which.GraspFci
(IndependenceTest test, Score score) Constructs a new GraspFci object.GrowShrink
(IndependenceTest test) Constructs a new search.LvLite
(Graph cpdag, IndependenceTest test) Alternative LV-Lite constructor.LvLite
(IndependenceTest test, Score score) LV-Lite constructor.MarkovCheck
(Graph graph, IndependenceTest independenceTest, ConditioningSetType setType) Constructor.Pc
(IndependenceTest independenceTest) Constructs a new PC search using the given independence test as oracle.Pcd
(IndependenceTest independenceTest) Constructs a new PC search using the given independence test as oracle.PcMb
(IndependenceTest test, int depth) Constructs a new search.Rfci
(IndependenceTest independenceTest) Constructs a new RFCI search for the given independence test and background knowledge.Rfci
(IndependenceTest independenceTest, List<Node> searchVars) Constructs a new RFCI search for the given independence test and background knowledge and a list of variables to search over.SpFci
(IndependenceTest test, Score score) Constructor; requires by ta test and a score, over the same variables.SvarFas
(IndependenceTest test) Constructs a new FastAdjacencySearch.SvarFci
(IndependenceTest independenceTest) Constructs a new FCI search for the given independence test and background knowledge.SvarGfci
(IndependenceTest test, Score score) Constructs a new GFCI search for the given independence test and background knowledge.Constructor parameters in edu.cmu.tetrad.search with type arguments of type IndependenceTestModifierConstructorDescriptionIndTestIod
(List<IndependenceTest> tests) Constructs a new pooled independence test from the given list of independence tests. -
Uses of IndependenceTest in edu.cmu.tetrad.search.score
Constructors in edu.cmu.tetrad.search.score with parameters of type IndependenceTestModifierConstructorDescriptionIndTestScore
(IndependenceTest test) Constructs the score using a covariance matrix. -
Uses of IndependenceTest in edu.cmu.tetrad.search.test
Classes in edu.cmu.tetrad.search.test that implement IndependenceTestModifier and TypeClassDescriptionfinal class
Checks the conditional independence X _||_ Y | S, where S is a set of discrete variable, and X and Y are discrete variable not in S, by applying a conditional Chi Square test.final class
Checks conditional independence of variable in a continuous data set using a conditional correlation test for the nonlinear nonGaussian with the additive error case.class
Performs a test of conditional independence X _||_ Y | Z1...Zn where all searchVariables are either continuous or discrete.class
Implements a degenerate Gaussian score as a LRT.final class
Checks conditional independence of variable in a continuous data set using Fisher's Z test.final class
Calculates independence from pooled residuals using the Fisher Z method.final class
Calculates independence from multiple datasets from using the Fisher method of pooling independence results.final class
Checks the conditional independence X _||_ Y | S, where S is a set of discrete variable, and X and Y are discrete variable not in S, by applying a conditional G Square test.final class
Checks the conditional independence X _||_ Y | S, where S is a set of continuous variable, and X and Y are discrete variable not in S, using the Hilbert-Schmidth Independence Criterion (HSIC), a kernel based nonparametric test for conditional independence.final class
Checks conditional independence against a list of conditional independence facts, manually entered.final class
A class that represents a pooled independence test for multiple data sets.class
Performs a test of conditional independence X _||_ Y | Z1...Zn where all variables are either continuous or discrete.class
Uses BCInference by Cooper and Bui to calculate probabilistic conditional independence judgments.final class
Checks independence of X _||_ Y | Z for variables X and Y and list Z of variables by regressing X on {Y} U Z and testing whether the coefficient for Y is zero.final class
Checks d-separations in a structural model using t-separations over indicators.class
Gives an implementation of the Kernel Independence Test (KCI) by Kun Zhang, which is a general test of conditional independence.class
Checks independence facts for variables associated with the nodes in a given graph by checking m-separation facts on the underlying nodes.class
Gives a way of interpreting a score as an independence test.Methods in edu.cmu.tetrad.search.test that return IndependenceTestModifier and TypeMethodDescriptionIndTestChiSquare.indTestSubset
(List<Node> nodes) Checks conditional independence between variables in a subset.IndTestConditionalCorrelation.indTestSubset
(List<Node> vars) Constructs a new Independence test which checks independence facts based on the correlation data implied by the given data set (must be continuous).IndTestConditionalGaussianLrt.indTestSubset
(List<Node> vars) This method returns an instance of the IndependenceTest interface that can test the independence of a subset of variables.IndTestDegenerateGaussianLrt.indTestSubset
(List<Node> vars) Subsets the variables used in the independence test.IndTestFisherZ.indTestSubset
(List<Node> vars) Creates a new independence test instance for a subset of the variables.IndTestFisherZConcatenateResiduals.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestFisherZFisherPValue.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestGSquare.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestHsic.indTestSubset
(List<Node> vars) Subset of variables for independence testing.IndTestIndependenceFacts.indTestSubset
(List<Node> vars) Returns anIndependenceTest
object for a sublist of variables.IndTestMulti.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestMvpLrt.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestProbabilistic.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestRegression.indTestSubset
(List<Node> vars) Performs an independence test for a sublist of variables.IndTestTrekSep.indTestSubset
(List<Node> vars) Determines independence between variables in a given subset.Kci.indTestSubset
(List<Node> vars) MsepTest.indTestSubset
(List<Node> vars) Conducts an independence test on a subset of variables.Constructor parameters in edu.cmu.tetrad.search.test with type arguments of type IndependenceTestModifierConstructorDescriptionIndTestMulti
(List<IndependenceTest> independenceTests, ResolveSepsets.Method method) Constructs a new pooled independence test for the given data sets. -
Uses of IndependenceTest in edu.cmu.tetrad.search.utils
Methods in edu.cmu.tetrad.search.utils that return IndependenceTestModifier and TypeMethodDescriptionPcCommon.getIndependenceTest()
Getter for the fieldindependenceTest
.R0R4StrategyTestBased.getTest()
Retrieves the IndependenceTest object used by the strategy.Methods in edu.cmu.tetrad.search.utils with parameters of type IndependenceTestModifier and TypeMethodDescriptionstatic R0R4Strategy
R0R4StrategyTestBased.defaultConfiguration
(IndependenceTest test, Knowledge knowledge) Returns a default configuration of the FciOrientDataExaminationStrategy object.MbUtils.generateMbDags
(Graph mbCPDAG, boolean orientBidirectedEdges, IndependenceTest test, int depth, Node target) Generates the list of MB DAGs consistent with the MB CPDAG returned by the previous search.GraphSearchUtils.getCpcTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph) getCpcTripleType.PossibleMsepFci.getSepset
(IndependenceTest test, Node node1, Node node2) Getter for the fieldsepset
.EnsureMarkov.localMarkovAdjustPValues
(Graph cpdag, boolean ensureMarkov, IndependenceTest test, Map<org.apache.commons.lang3.tuple.Pair<Node, Node>, Set<Double>> pValues, org.apache.commons.lang3.tuple.Pair<Node, Node> withoutPair) Adjusts the p-values for a local Markov condition in a given constraint-based partially directed acyclic graph (CPDAG).static void
GraphSearchUtils.pcdOrientC
(IndependenceTest test, Knowledge knowledge, Graph graph) Performs step C of the algorithm, as indicated on page xxx of CPS, with the modification that X--W--Y is oriented as X-->W<--Y if W is *determined by* the sepset of (X, Y), rather than W just being *in* the sepset of (X, Y).static R0R4Strategy
R0R4StrategyTestBased.specialConfiguration
(IndependenceTest test, Knowledge knowledge, boolean verbose) Provides a special configuration for creating an instance of FciOrientDataExaminationStrategy.Method parameters in edu.cmu.tetrad.search.utils with type arguments of type IndependenceTestModifier and TypeMethodDescriptionstatic boolean
ResolveSepsets.isIndependentPooled
(ResolveSepsets.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsets.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsets.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsets.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsets.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsets.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsets.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsets.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsets.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsets.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsets.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodConstructors in edu.cmu.tetrad.search.utils with parameters of type IndependenceTestModifierConstructorDescriptionEnsureMarkov
(Graph dag, IndependenceTest test) Constructs an EnsureMarkov class for a given Markov dag.MaxP
(IndependenceTest test) Constructor.PcCommon
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.PossibleMsepFci
(Graph graph, IndependenceTest test) Creates a new SepSet and assumes that none of the variables have yet been checked.Creates a new instance of FciOrientDataExaminationStrategyTestBased.SepsetsGreedy
(Graph graph, IndependenceTest independenceTest, int depth) Constructor for Sepsets.SepsetsMaxP
(Graph graph, IndependenceTest independenceTest, int depth) Constructs a SepsetsMaxP object with the given graph, independence test, and depth.SepsetsMinP
(Graph graph, IndependenceTest independenceTest, int depth) Initializes a new instance of the SepsetsMinP class.SepsetsPossibleMsep
(Graph graph, IndependenceTest test, Knowledge knowledge, int depth, int maxDiscriminatingPathLength) Constructor for SepsetsPossibleMsep.SepsetsSet
(SepsetMap sepsets, IndependenceTest test) Constructor for SepsetsSet.SvarSetEndpointStrategy
(IndependenceTest independenceTest, Knowledge knowledge) Creates a new instance of SvarSetEndpointStrategy with the given IndependenceTest and Knowledge.TeyssierScorer
(IndependenceTest test, Score score) Constructor that takes both a test or a score. -
Uses of IndependenceTest in edu.cmu.tetrad.search.work_in_progress
Classes in edu.cmu.tetrad.search.work_in_progress that implement IndependenceTestModifier and TypeClassDescriptionfinal class
Checks conditional independence for continuous variables using Cramer's T-test formula (Cramer, Mathematical Methods of Statistics (1951), page 413).final class
Calculates independence from pooled residuals.final class
Checks conditional independence of variable in a continuous data set using Fisher's Z test.class
Performs a test of conditional independence X _||_ Y | Z1...Zn where all searchVariables are either continuous or discrete.class
Performs a test of conditional independence X _||_ Y | Z1...Zn where all searchVariables are either continuous or discrete.class
Performs a test of conditional independence X _||_ Y | Z1...Zn where all searchVariables are either continuous or discrete.final class
Checks conditional independence of variable in a continuous data set using Fisher's Z test.class
Checks independence facts for variables associated with a sepset by simply querying the sepsetclass
Uses BCInference by Cooper and Bui to calculate probabilistic conditional independence judgments.Methods in edu.cmu.tetrad.search.work_in_progress that return IndependenceTestModifier and TypeMethodDescriptionIGFci.getIndependenceTest()
Retrieves the current independence test object being used.Kpc.getIndependenceTest()
Getter for the fieldindependenceTest
.Mmhc.getIndependenceTest()
Getter for the fieldindependenceTest
.SampleVcpc.getIndependenceTest()
Getter for the fieldindependenceTest
.SampleVcpcFast.getIndependenceTest()
Getter for the fieldindependenceTest
.VcPc.getIndependenceTest()
Getter for the fieldindependenceTest
.VcPcAlt.getIndependenceTest()
Getter for the fieldindependenceTest
.VcPcFast.getIndependenceTest()
Getter for the fieldindependenceTest
.IndTestCramerT.indTestSubset
(List<Node> vars) This method performs an independence test based on a given sublist of variables.IndTestFisherZPercentIndependent.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestFisherZRecursive.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.IndTestMixedMultipleTTest.indTestSubset
(List<Node> vars) IndTestMnlrLr.indTestSubset
(List<Node> vars) This method returns an independence test for a sublist of variables.IndTestMultinomialLogisticRegression.indTestSubset
(List<Node> vars) Performs an independence test for a sublist of variables.IndTestPositiveCorr.indTestSubset
(List<Node> vars) Performs an independence test on a subset of variables.IndTestSepsetDci.indTestSubset
(List<Node> vars) Determines independence between a subset of variables.ProbabilisticMapIndependence.indTestSubset
(List<Node> vars) Returns an Independence test for a sublist of the variables.Methods in edu.cmu.tetrad.search.work_in_progress with parameters of type IndependenceTestModifier and TypeMethodDescriptionVcPc.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) getPopulationTripleType.VcPcFast.getPopulationTripleType
(Node x, Node y, Node z, IndependenceTest test, int depth, Graph graph, boolean verbose) getPopulationTripleType.void
IGFci.setIndependenceTest
(IndependenceTest independenceTest) Sets the independence test for the IGFci algorithm.Method parameters in edu.cmu.tetrad.search.work_in_progress with type arguments of type IndependenceTestModifier and TypeMethodDescriptionstatic boolean
ResolveSepsetsDci.isIndependentPooled
(ResolveSepsetsDci.Method method, List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Tests for independence using one of the pooled methodsstatic boolean
ResolveSepsetsDci.isIndependentPooledAverage
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledAverageTest
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by taking the average test statistic CURRENTLY ONLY WORKS FOR CHISQUARE TESTstatic boolean
ResolveSepsetsDci.isIndependentPooledFisher
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Fisher's method.static boolean
ResolveSepsetsDci.isIndependentPooledFisher2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Eliminates from considerations independence tests that cannot be evaluated (due to missing variables mainly).static boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Mudholker and George's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledMudholkerGeorge2
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) The same as isIndepenentPooledMudholkerGeoerge, except that only available independence tests are used.static boolean
ResolveSepsetsDci.isIndependentPooledRandom
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples by randomly selecting a p valuestatic boolean
ResolveSepsetsDci.isIndependentPooledStouffer
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Stouffer et al.'s methodstatic boolean
ResolveSepsetsDci.isIndependentPooledTippett
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Tippett's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWilkinson
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet, int r) Checks independence from pooled samples using Wilkinson's methodstatic boolean
ResolveSepsetsDci.isIndependentPooledWorsleyFriston
(List<IndependenceTest> independenceTests, Node x, Node y, Set<Node> condSet) Checks independence from pooled samples using Worsley and Friston's methodConstructors in edu.cmu.tetrad.search.work_in_progress with parameters of type IndependenceTestModifierConstructorDescriptionFasDci
(Graph graph, IndependenceTest independenceTest) Constructs a new FastAdjacencySearch for DCI.FasDci
(Graph graph, IndependenceTest independenceTest, ResolveSepsets.Method method, List<Set<Node>> marginalVars, List<IndependenceTest> independenceTests, SepsetMapDci knownIndependencies, SepsetMapDci knownAssociations) Constructs a new FastAdjacencySearch for DCI with independence test pooling to resolve inconsistencies.FasFdr
(IndependenceTest test, int numIndependenceTests) Constructs a new FastAdjacencySearch.GraspTol
(@NotNull IndependenceTest test) Constructor for GraspTol.GraspTol
(@NotNull IndependenceTest test, Score score) Constructor for GraspTol.Iamb
(IndependenceTest test) Constructs a new search.IambnPc
(IndependenceTest test) Constructs a new search.IGFci
(IndependenceTest test, ISScore score) Constructs an instance of IGFci with the provided independence test and score.IGFci
(IndependenceTest test, ISScore score, Graph populationGraph) Constructs an instance of IGFci with the provided independence test, score, and population graph.InterIamb
(IndependenceTest test) Constructs a new search.Mmhc
(IndependenceTest test, DataSet dataSet) Constructor for Mmhc.Mmmb
(IndependenceTest test, int depth, boolean symmetric) Constructs.SampleVcpc
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.SampleVcpcFast
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.VcFas
(IndependenceTest test) Constructor for VcFas.VcPc
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.VcPcAlt
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.VcPcFast
(IndependenceTest independenceTest) Constructs a CPC algorithm that uses the given independence test as oracle.Constructor parameters in edu.cmu.tetrad.search.work_in_progress with type arguments of type IndependenceTestModifierConstructorDescriptionDci
(List<IndependenceTest> tests) Constructor for Dci.Dci
(List<IndependenceTest> tests, ResolveSepsets.Method method) Constructor for Dci. -
Uses of IndependenceTest in edu.pitt.csb.mgm
Classes in edu.pitt.csb.mgm that implement IndependenceTestModifier and TypeClassDescriptionclass
Performs a test of conditional independence X _||_ Y | Z1...Zn where all searchVariables are either continuous or discrete.Methods in edu.pitt.csb.mgm that return IndependenceTestModifier and TypeMethodDescriptionstatic IndependenceTest
MixedUtils.IndTestFromString
(String name, DataSet data, double alpha) Returns independence tests by name located in edu.cmu.tetrad.search and edu.pitt.csb.mgm also supports shorthand for LRT ("lrt) and t-tests ("tlin" for prefer linear (fastest) or "tlog" for prefer logistic)IndTestMultinomialLogisticRegressionWald.indTestSubset
(List<Node> vars) Tests the conditional independence between two variables given a sublist of variables.