Class BicTrue
java.lang.Object
edu.cmu.tetrad.algcomparison.statistic.BicTrue
- All Implemented Interfaces:
Statistic
,Serializable
True BIC score. The BIC is calculated as 2L - k ln N, so "higher is better."
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionNo-arg constructor.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 whether to precompute covariances.
-
Constructor Details
-
BicTrue
public BicTrue()
-
-
Method Details
-
getAbbreviation
No-arg constructor. Used for reflection; do not delete.- Specified by:
getAbbreviation
in interfaceStatistic
- Returns:
- Thsi abbreviation.
-
getDescription
Returns the description of the statistic.- Specified by:
getDescription
in interfaceStatistic
- Returns:
-
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 whether to precompute covariances.- Parameters:
precomputeCovariances
- whether to precompute covariances.
-