Chi Square Goodness Of Fit Test Constructor
Definition
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution using histogram data. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution using histogram data. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution using histogram data. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution using histogram data. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution using histogram data. |
Chi | Constructs a new chi-squared goodness-of-fit test for the specified distribution. |
ChiSquareGoodnessOfFitTest(Histogram<Double>, ContinuousDistribution)
public ChiSquareGoodnessOfFitTest(
Histogram<double> histogram,
ContinuousDistribution distribution
)
Parameters
- histogram Histogram<Double>
- A vector that specifies the sample data.
- distribution ContinuousDistribution
- A ContinuousDistribution object that represents the distribution that is to be compared.
Remarks
The test created by this constructor assumes that none of the parameters of distribution were estimated from the sample.
ChiSquareGoodnessOfFitTest(Histogram<Int32>, DiscreteDistribution)
public ChiSquareGoodnessOfFitTest(
Histogram<int> histogram,
DiscreteDistribution distribution
)
Parameters
- histogram Histogram<Int32>
- A vector that specifies the sample data.
- distribution DiscreteDistribution
- A DiscreteDistribution object that represents the distribution that is to be compared.
Remarks
The test created by this constructor assumes that none of the parameters of distribution were estimated from the sample.
ChiSquareGoodnessOfFitTest(ICategoricalVector, Vector<Double>)
public ChiSquareGoodnessOfFitTest(
ICategoricalVector sample,
Vector<double> expected
)
Parameters
- sample ICategoricalVector
- A categorical vector that specifies the sample.
- expected Vector<Double>
- A vector that specifies the data expected from the proposed distribution.
ChiSquareGoodnessOfFitTest(Vector<Double>, Distribution)
public ChiSquareGoodnessOfFitTest(
Vector<double> sample,
Distribution distribution
)
Parameters
- sample Vector<Double>
- A vector that specifies the sample.
- distribution Distribution
- A Distribution object that represents the distribution that is to be compared.
Remarks
The test created by this constructor assumes that none of the parameters of distribution were estimated from the sample.
ChiSquareGoodnessOfFitTest(Vector<Double>, Vector<Double>)
public ChiSquareGoodnessOfFitTest(
Vector<double> actual,
Vector<double> expected
)
Parameters
Remarks
Both histograms must have the same bin boundaries.
ChiSquareGoodnessOfFitTest(Histogram<Double>, ContinuousDistribution, Int32)
public ChiSquareGoodnessOfFitTest(
Histogram<double> histogram,
ContinuousDistribution distribution,
int numberOfEstimatedParameters
)
Parameters
- histogram Histogram<Double>
- A vector that specifies the sample data.
- distribution ContinuousDistribution
- A ContinuousDistribution object that represents the distribution that is to be compared.
- numberOfEstimatedParameters Int32
- The number of parameters of distribution that were estimated from the sample.
Remarks
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.
ChiSquareGoodnessOfFitTest(Histogram<Int32>, DiscreteDistribution, Int32)
public ChiSquareGoodnessOfFitTest(
Histogram<int> histogram,
DiscreteDistribution distribution,
int numberOfEstimatedParameters
)
Parameters
- histogram Histogram<Int32>
- A vector that specifies the sample data.
- distribution DiscreteDistribution
- A ContinuousDistribution object that represents the distribution that is to be compared.
- numberOfEstimatedParameters Int32
- The number of parameters of distribution that were estimated from the sample.
Remarks
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.
ChiSquareGoodnessOfFitTest(Vector<Double>, Distribution, Int32)
public ChiSquareGoodnessOfFitTest(
Vector<double> sample,
Distribution distribution,
int numberOfEstimatedParameters
)
Parameters
- sample Vector<Double>
- A vector that specifies the sample.
- distribution Distribution
- A ContinuousDistribution object that represents the distribution that is to be compared.
- numberOfEstimatedParameters Int32
- The number of parameters of distribution that were estimated from the sample sample.
Remarks
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.