OneSampleChiSquareTest Constructor

Definition

Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

OneSampleChiSquareTest() Constructs a new OneSampleChiSquareTest.
OneSampleChiSquareTest(Vector<Double>, Double) Constructs a new OneSampleChiSquareTest for the specified Vector<T>.
OneSampleChiSquareTest(Int32, Double, Double) Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.
OneSampleChiSquareTest(Vector<Double>, Double, HypothesisType) Constructs a new OneSampleChiSquareTest for the specified Vector<T> with known variance.
OneSampleChiSquareTest(Int32, Double, Double, HypothesisType) Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.

OneSampleChiSquareTest

Constructs a new OneSampleChiSquareTest.
C#
public OneSampleChiSquareTest()

OneSampleChiSquareTest(Vector<Double>, Double)

Constructs a new OneSampleChiSquareTest for the specified Vector<T>.
C#
public OneSampleChiSquareTest(
	Vector<double> sample,
	double variance
)

Parameters

sample  Vector<Double>
A Vector<T>
variance  Double
The variance to test for.

OneSampleChiSquareTest(Int32, Double, Double)

Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.
C#
public OneSampleChiSquareTest(
	int sampleSize,
	double sampleVariance,
	double variance
)

Parameters

sampleSize  Int32
The number of observations in the sample.
sampleVariance  Double
The variance of the sample.
variance  Double
The variance to test for.

OneSampleChiSquareTest(Vector<Double>, Double, HypothesisType)

Constructs a new OneSampleChiSquareTest for the specified Vector<T> with known variance.
C#
public OneSampleChiSquareTest(
	Vector<double> sample,
	double variance,
	HypothesisType hypothesisType
)

Parameters

sample  Vector<Double>
A Vector<T>
variance  Double
The variance to test for.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

OneSampleChiSquareTest(Int32, Double, Double, HypothesisType)

Constructs a new OneSampleChiSquareTest for a sample with the specified parameters.
C#
public OneSampleChiSquareTest(
	int sampleSize,
	double sampleVariance,
	double variance,
	HypothesisType hypothesisType
)

Parameters

sampleSize  Int32
The number of observations in the sample.
sampleVariance  Double
The variance of the sample.
variance  Double
The variance to test for.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

See Also