Class FciMax
- All Implemented Interfaces:
IGraphSearch
Raghu, V. K., Zhao, W., Pu, J., Leader, J. K., Wang, R., Herman, J., ... & Wilson, D. O. (2019). Feasibility of lung cancer prediction from low-dose CT scan and smoking factors using causal models. Thorax, 74(7), 643-649.
Max-P triple orientation is a method for orienting unshielded triples X*=-*Y*-*Z as one of the following: (a) Collider, X->Y<-Z, or (b) Noncollider, X-->Y-->Z, or X<-Y<-Z, or X<-Y->Z. One does this by conditioning on subsets of adj(X) or adj(Z). One first checks conditional independence of X and Z conditional on each of these subsets, and lists the p-values for each test. Then, one chooses the conditioning set out of all of these that maximizes the p-value. If this conditioning set contains Y, then the triple is judged to be a noncollider; otherwise, it is judged to be a collider.
All unshielded triples in the graph given by FAS are judged as colliders or non-colliders and the colliders oriented. Then the final FCI orientation rules are applied, as in FCI.
This class is configured to respect knowledge of forbidden and required edges, including knowledge of temporal tiers.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongDeprecated.Returns the elapsed time of search.Deprecated.Returns the independence test used in search.Deprecated.Retrieves the background knowledge that was set.Deprecated.Retrieves the map from variable pairs to sepsets from the FAS search.search()Deprecated.Performs the search and returns the PAG.voidsetCompleteRuleSetUsed(boolean completeRuleSetUsed) Deprecated.Sets whether Zhang's complete rule set is used in the search.voidsetDepth(int depth) Deprecated.Sets the maximum nubmer of variables conditioned in any test.voidsetGuaranteePag(boolean guaranteePag) Deprecated.Sets whether to guarantee a PAG.voidsetKnowledge(Knowledge knowledge) Deprecated.Sets background knowledge for the search.voidsetMaxDiscriminatingPathLength(int maxDiscriminatingPathLength) Deprecated.Sets the maximum length of any discriminating path.voidsetPossibleDsepSearchDone(boolean possibleDsepSearchDone) Deprecated.Sets whether the (time-consuming) possible dsep step should be done.voidsetStable(boolean stable) Deprecated.Sets whether the stable option will be used for search.voidsetVerbose(boolean verbose) Deprecated.Sets whether verbose output should be printed.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface edu.cmu.tetrad.search.IGraphSearch
getTest, setTest
-
Constructor Details
-
FciMax
Deprecated.Constructor.- Parameters:
independenceTest- aIndependenceTestobject
-
-
Method Details
-
search
Deprecated.Performs the search and returns the PAG.- Specified by:
searchin interfaceIGraphSearch- Returns:
- This PAG.
- Throws:
InterruptedException- if any
-
setDepth
public void setDepth(int depth) Deprecated.Sets the maximum nubmer of variables conditioned in any test.- Parameters:
depth- This maximum.
-
getElapsedTime
public long getElapsedTime()Deprecated.Returns the elapsed time of search.- Returns:
- This time.
-
getSepsets
Deprecated.Retrieves the map from variable pairs to sepsets from the FAS search.- Returns:
- This map.
-
getKnowledge
Deprecated.Retrieves the background knowledge that was set.- Returns:
- This knoweldge,
-
setKnowledge
Deprecated.Sets background knowledge for the search.- Parameters:
knowledge- This knowledge,
-
setCompleteRuleSetUsed
public void setCompleteRuleSetUsed(boolean completeRuleSetUsed) Deprecated.Sets whether Zhang's complete rule set is used in the search.- Parameters:
completeRuleSetUsed- set to true if Zhang's complete rule set should be used, false if only R1-R4 (the rule set of the original FCI) should be used. False by default.
-
setPossibleDsepSearchDone
public void setPossibleDsepSearchDone(boolean possibleDsepSearchDone) Deprecated.Sets whether the (time-consuming) possible dsep step should be done.- Parameters:
possibleDsepSearchDone- True, if so.
-
setMaxDiscriminatingPathLength
public void setMaxDiscriminatingPathLength(int maxDiscriminatingPathLength) Deprecated.Sets the maximum length of any discriminating path.- Parameters:
maxDiscriminatingPathLength- the maximum length of any discriminating path, or -1 if unlimited.
-
setVerbose
public void setVerbose(boolean verbose) Deprecated.Sets whether verbose output should be printed.- Parameters:
verbose- True, if so.
-
getIndependenceTest
Deprecated.Returns the independence test used in search.- Returns:
- This test.
-
setStable
public void setStable(boolean stable) Deprecated.Sets whether the stable option will be used for search.- Parameters:
stable- True, if so.
-
setGuaranteePag
public void setGuaranteePag(boolean guaranteePag) Deprecated.Sets whether to guarantee a PAG.- Parameters:
guaranteePag- true to guarantee a PAG, false otherwise.
-