Generalized Linear Model.Get Likelihood Ratio Test Method
Returns a test to verify the significance of the logistic model.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A SimpleHypothesisTest object.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public SimpleHypothesisTest GetLikelihoodRatioTest()
Return Value
SimpleHypothesisTestA SimpleHypothesisTest object.
Remarks
This method compares the computed logistical model against a model that contains only a constant. The ratio of the log-likelihoods of the two models follows a chi-square distribution with degrees of freedom equal to the number of additional parameters.
The model must have been computed using the Fit() method before this method is called.
Exceptions
Invalid | The model has not been fitted. |