Logistic Regression Model.Get Pearson Goodness Of Fit Test Method
Returns the Pearson goodness-of-fit diagnostic over the stored observations.
Definition
Namespace: Numerics.NET.Statistics
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
C#
A SimpleHypothesisTest object.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.9.0
public SimpleHypothesisTest GetPearsonGoodnessOfFitTest()Return Value
SimpleHypothesisTestA SimpleHypothesisTest object.
Remarks
This diagnostic treats each stored row as one multinomial trial, without aggregating repeated feature profiles or applying case weights. Degrees of freedom equal the number of rows times the number of nonreference categories, less the fitted coefficient count. The chi-square calibration requires adequate expected cell counts.
Exceptions
| Invalid | The model has not been fitted. -or- The model is deployed. |