Class TrueDagFalsePositiveTails
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.TrueDagFalsePositiveTails
- All Implemented Interfaces:
Statistic, Serializable
-
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.doublegetNormValue(double value) Calculates the normalized value of a statistic.doublegetValue(Graph trueDag, Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) Calculates the number of false positives for tail endpoints in the estimated graph compared to the true graph.
-
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:
getAbbreviationin 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:
getDescriptionin interfaceStatistic- Returns:
- The description of the statistic.
-
getValue
public double getValue(Graph trueDag, Graph trueGraph, Graph estGraph, DataModel dataModel, Parameters parameters) Calculates the number of false positives for tail endpoints in the estimated graph compared to the true graph.- Specified by:
getValuein interfaceStatistic- Parameters:
trueDag- The true directed acyclic graph (DAG) representing the correct structure.trueGraph- The true graph against which the estimated graph is evaluated.estGraph- The estimated graph being analyzed for false positives.dataModel- The data model containing the relevant data, unused in this calculation.parameters- The parameters object containing configuration options, unused in this calculation.- Returns:
- The number of false positives for tail endpoints in the estimated graph.
-
getNormValue
public double getNormValue(double value) Calculates the normalized value of a statistic.- Specified by:
getNormValuein interfaceStatistic- Parameters:
value- The value of the statistic.- Returns:
- The normalized value.
-