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.doublegetNormValue(double value) Returns the normalized value of the statistic.doubleReturns the value of the statistic.voidsetPrecomputeCovariances(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:
getAbbreviationin interfaceStatistic- Returns:
- Thsi abbreviation.
-
getDescription
Returns the description of the statistic.- Specified by:
getDescriptionin interfaceStatistic- Returns:
-
getValue
Returns the value of the statistic. -
getNormValue
public double getNormValue(double value) Returns the normalized value of the statistic.- Specified by:
getNormValuein 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.
-