Class NumVisibleEdgeTrue
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.NumVisibleEdgeTrue
- All Implemented Interfaces:
Statistic
,Serializable
A class that implements the Statistic interface to calculate the number of visible edges in the true PAG.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionA class that calculates the number of visible edges in the true PAG. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the abbreviation for the statistic.Retrieves the description of the statistic.double
getNormValue
(double value) Returns the normalized value of a given statistic.double
Retrieves the number of X-->Y edges for which X-->Y is visible in the true PAG.
-
Constructor Details
-
NumVisibleEdgeTrue
public NumVisibleEdgeTrue()A class that calculates the number of visible edges in the true PAG.
-
-
Method Details
-
getAbbreviation
Retrieves the abbreviation for the statistic. This will be printed at the top of each column. The abbreviation format is "#X->Y visible (T)".- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation string.
-
getDescription
Retrieves the description of the statistic. This method returns the number of X-->Y edges for which X-->Y is visible in the true PAG.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Retrieves the number of X-->Y edges for which X-->Y is visible in the true PAG. -
getNormValue
public double getNormValue(double value) Returns the normalized value of a given statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The original value of the statistic.- Returns:
- The normalized value of the statistic.
-