LogisticRegressionModel.GetBaseLogLikelihood Method

Returns the log-likelihood of the model containing only a constant term.

Definition

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public double GetBaseLogLikelihood()

Return Value

Double
The log-likelihood of the model containing only a constant term.

Remarks

This method returns the logarithm of the likelihood function for the model with all independent variables excluded. A smaller value indicates a higher likelihood. This is useful for comparing with the log-likelihood of the complete model.

Because the likelihood is a number between 0 and 1, the value returned by this method is always negative.

See Also