| OneSampleTTest(Double, Double, Double, HypothesisType) Constructor |
Constructs a OneSampleTTest instance using the given array of sample data, and
the given population and hypothesis parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public OneSampleTTest(
double[] data,
double mu0,
double alpha,
HypothesisType type
)
Public Sub New (
data As Double(),
mu0 As Double,
alpha As Double,
type As HypothesisType
)
public:
OneSampleTTest(
array<double>^ data,
double mu0,
double alpha,
HypothesisType type
)
new :
data : float[] *
mu0 : float *
alpha : float *
type : HypothesisType -> OneSampleTTest
Parameters
- data Double
- An array of observed values.
- mu0 Double
- The population mean.
- alpha Double
- The accepted probability of falsely rejecting
the null hypothesis.
- type HypothesisType
- Enum value indicating the form of the alternative
hypothesis.
Exceptions Remarks
The sample mean, sample standard deviation, and sample size are computed from
the given array. Missing values are ignored.
See Also