OneSampleTest Constructor

Definition

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

Overload List

OneSampleTest(HypothesisType)

Constructs a new OneSampleTest object.
C#
protected OneSampleTest(
	HypothesisType hypothesisType
)

Parameters

hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is one or two-tailed.

OneSampleTest(Vector<Double>, HypothesisType, Double, ContinuousDistribution)

Constructs a new OneSampleTest object.
C#
protected OneSampleTest(
	Vector<double>? sample,
	HypothesisType hypothesisType,
	double significanceLevel,
	ContinuousDistribution? distribution
)

Parameters

sample  Vector<Double>
The Vector<T> the test is to be applied to.
hypothesisType  HypothesisType
A HypothesisType value that specifies whether the test is one or two-tailed.
significanceLevel  Double
The desired significance level.
distribution  ContinuousDistribution
The ContinuousDistribution that is to be used to calculate the significance.

See Also