Class TrueDagFalsePositiveTails
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.TrueDagFalsePositiveTails
- All Implemented Interfaces:
Statistic
,Serializable
TrueDagFalsePositiveTails is a class that implements the Statistic interface. It calculates the number of false
positives for tails in the estimated graph compared to the true DAG.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new TrueDagFalsePositiveTails object. -
Method Summary
Modifier and TypeMethodDescriptionReturns the abbreviation for the statistic.Returns a short one-line description of this statistic.double
getNormValue
(double value) Calculates the normalized value of a statistic.double
Calculates the number of false positives for tails in the estimated graph compared to the true DAG.
-
Constructor Details
-
TrueDagFalsePositiveTails
public TrueDagFalsePositiveTails()Constructs a new TrueDagFalsePositiveTails object.
-
-
Method Details
-
getAbbreviation
Returns the abbreviation for the statistic. This will be printed at the top of each column.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation.
-
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 number of false positives for tails in the estimated graph compared to the true DAG. -
getNormValue
public double getNormValue(double value) Calculates the normalized value of a statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value.
-