Returns a ChiSquareGoodnessOfFitTest object to test if the
distribution follows the specified distribution specified as a histogram.
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (Extreme.Numerics)
Syntax
| Visual Basic (Declaration) |
|---|
Public Function GetGoodnessOfFitTest ( _ expectedHistogram As Histogram _ ) As ChiSquareGoodnessOfFitTest |
| C# |
|---|
public ChiSquareGoodnessOfFitTest GetGoodnessOfFitTest ( Histogram expectedHistogram ) |
| C++ |
|---|
public: ChiSquareGoodnessOfFitTest^ GetGoodnessOfFitTest ( Histogram^ expectedHistogram ) |
Parameters
- expectedHistogram (Extreme.Statistics.Histogram)
- A Histogram that specifies the expected distribution.
Return Value
A ChiSquareGoodnessOfFitTest object.
Remarks
Use this method to construct a test for how well the histogram fits another histogram.
expectedHistogram must have the same boundaries as the current instance.
The method returns a ChiSquareGoodnessOfFitTest object.