LogisticRegressionModel.GetWaldTest Method

Definition

Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.0

Overload List

GetWaldTest() Returns the Wald test for all the parameters in the regression.
GetWaldTest(Int32[]) Returns the Wald test for the selected parameters in the regression.

GetWaldTest

Returns the Wald test for all the parameters in the regression.
C#
public SimpleHypothesisTest GetWaldTest()

Return Value

SimpleHypothesisTest
A SimpleHypothesisTest object.

Exceptions

InvalidOperationException

The model has not been fitted.

GetWaldTest(Int32[])

Returns the Wald test for the selected parameters in the regression.
C#
public SimpleHypothesisTest GetWaldTest(
	int[] indexes
)

Parameters

indexes  Int32[]
An array containing the indexes of the parameters that are to be included in the test.

Return Value

SimpleHypothesisTest
A SimpleHypothesisTest object.

Exceptions

InvalidOperationException

The model has not been fitted.

ArgumentNullException

indexes is null.

ArgumentException

One or more of the elements of indexes is less than zero or greater than or equal to the number of parameters in the model.

See Also