| TwoSampleUnpairedTTest(Double, Double, Double, HypothesisType) Constructor |
Constructs a TwoSampleUnpairedTTest instance using the given arrays of sample data,
and the given hypothesis parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public TwoSampleUnpairedTTest(
double[] data1,
double[] data2,
double alpha,
HypothesisType type
)
Public Sub New (
data1 As Double(),
data2 As Double(),
alpha As Double,
type As HypothesisType
)
public:
TwoSampleUnpairedTTest(
array<double>^ data1,
array<double>^ data2,
double alpha,
HypothesisType type
)
new :
data1 : float[] *
data2 : float[] *
alpha : float *
type : HypothesisType -> TwoSampleUnpairedTTest
Parameters
- data1 Double
- An array of observed values for the first sample.
- data2 Double
- An array of observed values for the second sample.
- 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 means, sample standard deviations, and sample sizes are computed from
the given arrays. Missing values are ignored.
See Also