One Sample Test 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(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(Vector<Double>, HypothesisType, Double, ContinuousDistribution)
Constructs a new OneSampleTest object.
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.