Returns a test to verify that the residuals follow a normal distribution.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetNormalityOfResidualsTest As OneSampleTest |
| C# |
|---|
public OneSampleTest GetNormalityOfResidualsTest () |
| C++ |
|---|
public: OneSampleTest^ GetNormalityOfResidualsTest () |
Return Value
A OneSampleTest object.
Remarks
Linear regression assumes that the residuals follow a normal distribution.
Use this method to obtain a statistical test object that can be used to verify this assumption.
By default, the AndersonDarlingTest is used.
The model must have been computed using the Compute() method before this method is called.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The model has not been computed. |