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 Summary
ConstructorsConstructorDescriptionThe 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 Summary
Modifier 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.double
getNormValue
(double value) Calculates the normalized value of a given statistic value.double
Calculates the percentage of correctly identified bidirected edges in an estimated graph for which a latent confounder exists in the true graph.
-
Constructor Details
-
BidirectedLatentPrecision
public 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
-
getAbbreviation
Returns 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:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation for the statistic.
-
getDescription
Returns a short description of the statistic, which is the percentage of bidirected edges for which a latent confounder exists.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Calculates the percentage of correctly identified bidirected edges in an estimated graph for which a latent confounder exists in the true graph. -
getNormValue
public double getNormValue(double value) Calculates the normalized value of a given statistic value.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-