Regression Model<T>.Log Likelihood Property
Gets the log-likelihood that the model generated the data.
Definition
Namespace: Numerics.NET.DataAnalysis.Models
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
C#
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.10.0
public double LogLikelihood { get; }Property Value
DoubleRemarks
This is the full log likelihood, including observation-dependent normalization terms. For grouped binomial GLMs, each row contributes its log binomial coefficient as well as the parameter-dependent kernel; case weights multiply the entire contribution.
This property is only available when the model is fitted. It throws an InvalidOperationException if the model is empty or deployed.Exceptions
| Invalid | Thrown if the model is empty or deployed. |