OneSampleTTest Constructor

Definition

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

Overload List

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

OneSampleTTest

Constructs a new OneSampleTTest.
C#
public OneSampleTTest()

OneSampleTTest(Vector<Double>, Double)

Constructs a new OneSampleTTest for the specified Vector<T>.
C#
public OneSampleTTest(
	Vector<double> data,
	double mean
)

Parameters

data  Vector<Double>
A Vector<T>
mean  Double
The proposed population mean.

OneSampleTTest(Vector<Double>, Double, HypothesisType)

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

Parameters

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

OneSampleTTest(Double, Double, Int32, Double)

Constructs a new OneSampleTTest for the specified Vector<T>.
C#
public OneSampleTTest(
	double sampleMean,
	double sampleStandardDeviation,
	int sampleSize,
	double mean
)

Parameters

sampleMean  Double
The mean of the sample.
sampleStandardDeviation  Double
The standard deviation of the sample.
sampleSize  Int32
The size of the sample.
mean  Double
The proposed population mean.

OneSampleTTest(Double, Double, Int32, Double, HypothesisType)

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

Parameters

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

See Also