Class BicDiff
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.BicDiff
- All Implemented Interfaces:
Statistic
,Serializable
Difference between the true and estiamted BIC scores. The BIC is calculated as 2L - k ln N, so "higher is better."
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the statistic.Returns the description of the statistic.double
getNormValue
(double value) Returns the normalized value of the statistic.double
Returns the value of the statistic.void
setPrecomputeCovariances
(boolean precomputeCovariances) Returns the precompute covariances flag.
-
Constructor Details
-
BicDiff
public BicDiff()
-
-
Method Details
-
getAbbreviation
Returns the name of the statistic.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- the name of the statistic.
-
getDescription
Returns the description of the statistic.- Specified by:
getDescription
in interfaceStatistic
- Returns:
- the description of the statistic.
-
getValue
Returns the value of the statistic. -
getNormValue
public double getNormValue(double value) Returns the normalized value of the statistic.- Specified by:
getNormValue
in interfaceStatistic
- Parameters:
value
- The value of the statistic.- Returns:
- The normalized value of the statistic.
-
setPrecomputeCovariances
public void setPrecomputeCovariances(boolean precomputeCovariances) Returns the precompute covariances flag.- Parameters:
precomputeCovariances
- The precompute covariances flag.
-