Class BidirectedLatentPrecision
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.BidirectedLatentPrecision
- All Implemented Interfaces:
- Statistic,- Serializable
The BidirectedLatentPrecision class implements the Statistic interface and represents a statistic that calculates
 the percentage of bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionThe BidirectedLatentPrecision class implements the Statistic interface and represents a statistic that calculates the percentage of bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the abbreviation for the statistic.Returns a short description of the statistic, which is the percentage of bidirected edges for which a latent confounder exists.doublegetNormValue(double value) Calculates the normalized value of a given statistic value.doublegetValue(Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) Calculates the percentage of correctly identified bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
- 
Constructor Details- 
BidirectedLatentPrecisionpublic BidirectedLatentPrecision()The BidirectedLatentPrecision class implements the Statistic interface and represents a statistic that calculates the percentage of bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
 
- 
- 
Method Details- 
getAbbreviationReturns the abbreviation for the statistic. The abbreviation is a short string that represents the statistic. For this statistic, the abbreviation is "<->-Lat-Prec".- Specified by:
- getAbbreviationin interface- Statistic
- Returns:
- The abbreviation for the statistic.
 
- 
getDescriptionReturns a short description of the statistic, which is the percentage of bidirected edges for which a latent confounder exists.- Specified by:
- getDescriptionin interface- Statistic
- Returns:
- The description of the statistic.
 
- 
getValueCalculates the percentage of correctly identified bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
- 
getNormValuepublic double getNormValue(double value) Calculates the normalized value of a given statistic value.- Specified by:
- getNormValuein interface- Statistic
- Parameters:
- value- The value of the statistic.
- Returns:
- The normalized value of the statistic.
 
 
-