Class NumCorrectBidirected
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.NumCorrectBidirected
- All Implemented Interfaces:
Statistic
,Serializable
Counts the number of X<->Y edges for which a latent confounder of X and Y exists.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCounts the number of bidirectional edges for which a latent confounder of X and Y exists. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the abbreviation for the statistic.Returns a short one-line description of this statistic.double
getNormValue
(double value) Returns the normalized value of the given statistic.double
Returns the number of bidirected edges for which a latent confounder exists.
-
Constructor Details
-
NumCorrectBidirected
public NumCorrectBidirected()Counts the number of bidirectional edges for which a latent confounder of X and Y exists.
-
-
Method Details
-
getAbbreviation
Retrieves the abbreviation for the statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- The abbreviation for the statistic.
-
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 statistics as a String.
-
getValue
Returns the number of bidirected edges for which a latent confounder exists. -
getNormValue
public double getNormValue(double value) Returns the normalized value of the given statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value.
-