Constructs a new chi-squared goodness-of-fit test
for the specified distribution.
Namespace: Extreme.Statistics.TestsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public ChiSquareGoodnessOfFitTest(
NumericalVariable sample,
Distribution distribution,
int numberOfEstimatedParameters
)
Public Sub New (
sample As NumericalVariable,
distribution As Distribution,
numberOfEstimatedParameters As Integer
)
public:
ChiSquareGoodnessOfFitTest(
NumericalVariable^ sample,
Distribution^ distribution,
int numberOfEstimatedParameters
)
new :
sample : NumericalVariable *
distribution : Distribution *
numberOfEstimatedParameters : int -> ChiSquareGoodnessOfFitTest
Parameters
- sample
- Type: Extreme.StatisticsNumericalVariable
A NumericalVariable that specifies the sample. - distribution
- Type: Extreme.Statistics.DistributionsDistribution
A ContinuousDistribution object
that represents the distribution that is to be compared. - numberOfEstimatedParameters
- Type: SystemInt32
The number of parameters of
distribution that were estimated from the sample sample.
The reason the number of estimated parameters is important,
is that it decreases the number of degrees of freedom of the sample relative to the distribution.
Numerical Libraries
Supported in: 5.x, 4.x
Reference