Class PagAdjacencyRecall
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.PagAdjacencyRecall
- All Implemented Interfaces:
Statistic
,Serializable
A class that implements the PagAdjacencyRecall statistic.
This statistic calculates the adjacency recall compared to the true PAG (Partial Ancestral Graph).
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the abbreviation for the given statistic.Returns a short one-line description of this statistic.double
getNormValue
(double value) Retrieves the normalized value of this statistic.double
Calculates the adjacency recall compared to the true PAG (Partial Ancestral Graph).
-
Constructor Details
-
PagAdjacencyRecall
public PagAdjacencyRecall()Constructs a new instance of the statistic.
-
-
Method Details
-
getAbbreviation
Retrieves the abbreviation for the given statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation as a string.
-
getDescription
Returns a short one-line description of this statistic. This will be printed at the beginning of the report.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Calculates the adjacency recall compared to the true PAG (Partial Ancestral Graph). -
getNormValue
public double getNormValue(double value) Retrieves the normalized value of this statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-