Logistic Regression Model.Get Base Log Likelihood Method
Returns the log-likelihood of the model containing only a constant term.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
The log-likelihood of the model containing only a constant term.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public double GetBaseLogLikelihood()
Return Value
DoubleThe 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.