Class TrueDagPrecisionTails
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.TrueDagPrecisionTails
- All Implemented Interfaces:
- Statistic,- Serializable
A class that implements the Statistic interface to calculate the proportion of X-->Y edges in the estimated graph for
 which there is a path X~~>Y in the true graph.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionThis class represents a statistic that calculates the precision for tails compared to the true DAG.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the abbreviation for the statistic.Returns a short one-line description of this statistic.doublegetNormValue(double value) Calculates the normalized value of a statistic.doublegetValue(Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) Calculates the proportion of X-->Y edges in the estimated graph for which there is a path X~~>Y in the true graph.
- 
Constructor Details- 
TrueDagPrecisionTailspublic TrueDagPrecisionTails()This class represents a statistic that calculates the precision for tails compared to the true DAG.
 
- 
- 
Method Details- 
getAbbreviationReturns the abbreviation for the statistic.- Specified by:
- getAbbreviationin interface- Statistic
- Returns:
- The abbreviation string.
 
- 
getDescriptionReturns a short one-line description of this statistic. This will be printed at the beginning of the report.- Specified by:
- getDescriptionin interface- Statistic
- Returns:
- The description of the statistic.
 
- 
getValueCalculates the proportion of X-->Y edges in the estimated graph for which there is a path X~~>Y in the true graph.- Specified by:
- getValuein interface- Statistic
- Parameters:
- trueGraph- The true graph (DAG, CPDAG, PAG_of_the_true_DAG).
- estGraph- The estimated graph (same type).
- dataModel- The data model.
- parameters- The parameters.
- Returns:
- The proportion of X-->Y edges in the estimated graph for which there is a path X~~>Y in the true graph.
 
- 
getNormValuepublic double getNormValue(double value) Calculates the normalized value of a statistic.- Specified by:
- getNormValuein interface- Statistic
- Parameters:
- value- The value of the statistic.
- Returns:
- The normalized value of the statistic.
 
 
-