OneSampleZTest Constructor

Definition

Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

OneSampleZTest() Constructs a new OneSampleZTest.
OneSampleZTest(Vector<Double>, Double, Double) Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
OneSampleZTest(Double, Int32, Double, Double) Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
OneSampleZTest(Vector<Double>, Double, Double, HypothesisType) Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
OneSampleZTest(Double, Int32, Double, Double, HypothesisType) Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.

OneSampleZTest

Constructs a new OneSampleZTest.
C#
public OneSampleZTest()

OneSampleZTest(Vector<Double>, Double, Double)

Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
C#
public OneSampleZTest(
	Vector<double> data,
	double populationMean,
	double populationStandardDeviation
)

Parameters

data  Vector<Double>
A Vector<T>.
populationMean  Double
The mean of the population
populationStandardDeviation  Double
The standard deviation of the population.

OneSampleZTest(Double, Int32, Double, Double)

Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
C#
public OneSampleZTest(
	double sampleMean,
	int sampleSize,
	double populationMean,
	double populationStandardDeviation
)

Parameters

sampleMean  Double
The mean of the sample.
sampleSize  Int32
The size of the sample.
populationMean  Double
The mean of the population
populationStandardDeviation  Double
The standard deviation of the population.

OneSampleZTest(Vector<Double>, Double, Double, HypothesisType)

Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
C#
public OneSampleZTest(
	Vector<double> data,
	double populationMean,
	double populationStandardDeviation,
	HypothesisType hypothesisType
)

Parameters

data  Vector<Double>
A Vector<T>.
populationMean  Double
The mean of the population
populationStandardDeviation  Double
The standard deviation of the population.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

OneSampleZTest(Double, Int32, Double, Double, HypothesisType)

Constructs a new OneSampleZTest for the specified Vector<T> with known standard deviation.
C#
public OneSampleZTest(
	double sampleMean,
	int sampleSize,
	double populationMean,
	double populationStandardDeviation,
	HypothesisType hypothesisType
)

Parameters

sampleMean  Double
The mean of the sample.
sampleSize  Int32
The size of the sample.
populationMean  Double
The mean of the population
populationStandardDeviation  Double
The standard deviation of the population.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.

See Also