Class ProportionSemidirectedPathsNotReversedEst
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.ProportionSemidirectedPathsNotReversedEst
- All Implemented Interfaces:
Statistic
,Serializable
Proportion of semi(X, Y) in estimated graph for which there is no semi(Y, X) in true graph.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new instance of the statistic. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the abbreviation for the statistic.Retrieves the description of the statistic: Proportion of semi(X, Y) in estimated graph for which there is no semi(Y, X) in true graph.double
getNormValue
(double value) Retrieves the normalized value of the given statistic.double
Calculates the proportion of semi(X, Y) in the estimated graph for which there is no semi(Y, X) in the true graph.
-
Constructor Details
-
ProportionSemidirectedPathsNotReversedEst
public ProportionSemidirectedPathsNotReversedEst()Constructs a new instance of the statistic.
-
-
Method Details
-
getAbbreviation
Retrieves the abbreviation for the statistic. This abbreviation will be printed at the top of each column.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation for the statistic.
-
getDescription
Retrieves the description of the statistic: Proportion of semi(X, Y) in estimated graph for which there is no semi(Y, X) in true graph.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- The description of the statistic.
-
getValue
Calculates the proportion of semi(X, Y) in the estimated graph for which there is no semi(Y, X) in the true graph.- Specified by:
getValue
in interfaceStatistic
- Parameters:
trueGraph
- The true graph (DAG, CPDAG, PAG_of_the_true_DAG).estGraph
- The estimated graph (same type).dataModel
- The data model.- Returns:
- The proportion of semi(X, Y) in the estimated graph for which there is no semi(Y, X) in the true graph.
-
getNormValue
public double getNormValue(double value) Retrieves the normalized value of the given statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-