| TwoSampleUnpairedTTest(Int32, Int32, 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(
int[] data1,
int[] data2,
double alpha,
HypothesisType type
)
Public Sub New (
data1 As Integer(),
data2 As Integer(),
alpha As Double,
type As HypothesisType
)
public:
TwoSampleUnpairedTTest(
array<int>^ data1,
array<int>^ data2,
double alpha,
HypothesisType type
)
new :
data1 : int[] *
data2 : int[] *
alpha : float *
type : HypothesisType -> TwoSampleUnpairedTTest
Parameters
- data1 Int32
- An array of observed values for the first sample.
- data2 Int32
- 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.
See Also