One Sample Test<T> Constructor
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
Overload List
One | Constructs a new OneSampleTest object. |
One | Constructs a new OneSampleTest object. |
OneSampleTest<T>(HypothesisType)
Constructs a new OneSampleTest object.
protected OneSampleTest(
HypothesisType hypothesisType
)
Parameters
- hypothesisType HypothesisType
- A HypothesisType value that specifies whether the test is one or two-tailed.
OneSampleTest<T>(Vector<T>, HypothesisType, Double, ContinuousDistribution)
Constructs a new OneSampleTest object.
protected OneSampleTest(
Vector<T>? sample,
HypothesisType hypothesisType,
double significanceLevel,
ContinuousDistribution? distribution
)
Parameters
- sample Vector<T>
- The variable 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.