HistogramChiSquaredTest Method |
Performs a χ2 test comparing the histogram to the given distribution.
Namespace:
Meta.Numerics.Statistics
Assembly:
Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax public TestResult ChiSquaredTest(
DiscreteDistribution distribution
)
Public Function ChiSquaredTest (
distribution As DiscreteDistribution
) As TestResult
public:
TestResult^ ChiSquaredTest(
DiscreteDistribution^ distribution
)
member ChiSquaredTest :
distribution : DiscreteDistribution -> TestResult
Parameters
- distribution
- Type: Meta.Numerics.Statistics.DistributionsDiscreteDistribution
The distribution against which to test the histogram.
Return Value
Type:
TestResultThe test result.
See Also