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.doublegetNormValue(double value) Retrieves the normalized value of this statistic.doublegetValue(Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) 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:
getAbbreviationin 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:
getDescriptionin 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:
getNormValuein interfaceStatistic- Parameters:
value- The value of the statistic.- Returns:
- The normalized value of the statistic.
-