Package edu.cmu.tetrad.search
Class Ida
java.lang.Object
edu.cmu.tetrad.search.Ida
Implements the IDA algorithm. The reference is here:
Maathuis, Marloes H., Markus Kalisch, and Peter Bühlmann. "Estimating high-dimensional intervention effects from observational data." The Annals of Statistics 37.6A (2009): 3133-3164.
The IDA algorithm seeks to give a list of possible parents of a given variable Y and their corresponding lower-bounded effects on Y.
- Author:
- josephramsey
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classGives a list of nodes (parents or children) and corresponding minimum effects for the IDA algorithm.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns a map from nodes in V \ {Y} to their minimum effects.doubledistance(LinkedList<Double> effects, double trueEffect) Returns the distance between the effects and the true effect.Returns the minimum effects of X on Y for X in V \ {Y}, sorted downward by minimum effectdoubletrueEffect(Node x, Node y, Graph trueDag) Calculates the true effect of (x, y) given the true DAG (which must be provided).
- 
Constructor Details- 
IdaConstructor.- Parameters:
- dataSet- The dataset being searched over.
- cpdag- The CPDAG (found, e.g., by running PC, or some other CPDAG producing algorithm.
- possibleCauses- The possible causes to be considered.
 
 
- 
- 
Method Details- 
getSortedMinEffectsReturns the minimum effects of X on Y for X in V \ {Y}, sorted downward by minimum effect- Parameters:
- y- The child variable.
- Returns:
- Two sorted lists, one of possible parents, the other of corresponding minimum effects, sorted downward by minimum effect size.
- See Also:
 
- 
trueEffectCalculates the true effect of (x, y) given the true DAG (which must be provided).- Parameters:
- trueDag- The true DAG.
- Returns:
- The true effect of (x, y).
 
- 
distanceReturns the distance between the effects and the true effect.- Returns:
- This difference.
 
- 
calculateMinimumEffectsOnYReturns a map from nodes in V \ {Y} to their minimum effects.- Parameters:
- y- The child variable
- Returns:
- Thia map.
 
 
-