Class PercentAmbiguous
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.PercentAmbiguous
- All Implemented Interfaces:
Statistic
,Serializable
The adjacency precision. The true positives are the number of adjacencies in both the true and estimated graphs.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the abbreviation for the statistic.Retrieves the description of the statistic.double
getNormValue
(double value) Calculates the normalized value of a statistic given the original value.double
Calculates the percentage of ambiguous triples in the estimated graph compared to the true graph.
-
Constructor Details
-
PercentAmbiguous
public PercentAmbiguous()Constructs a new instance of the statistic.
-
-
Method Details
-
getAbbreviation
Retrieves the abbreviation for the statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation for the statistic.
-
getDescription
Retrieves the description of the statistic.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Calculates the percentage of ambiguous triples in the estimated graph compared to the true graph. -
getNormValue
public double getNormValue(double value) Calculates the normalized value of a statistic given the original value.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-