Returns a test to verify the significance of the logistic model.

Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)

Syntax

Visual Basic (Declaration)
Public Function GetLikelihoodRatioTest As SimpleHypothesisTest
C#
public SimpleHypothesisTest GetLikelihoodRatioTest ()
C++
public:
SimpleHypothesisTest^ GetLikelihoodRatioTest ()

Return Value

A 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 Compute() method before this method is called.

Exceptions

ExceptionCondition
InvalidOperationException The model has not been computed.