| TwoSamplePairedTTest(Int32, Int32, Double, HypothesisType) Constructor |
Constructs a TwoSamplePairedTTest instance using the given paired arrays of sample data,
and the given hypothesis parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public TwoSamplePairedTTest(
int[] data1,
int[] data2,
double alpha,
HypothesisType type
)
Public Sub New (
data1 As Integer(),
data2 As Integer(),
alpha As Double,
type As HypothesisType
)
public:
TwoSamplePairedTTest(
array<int>^ data1,
array<int>^ data2,
double alpha,
HypothesisType type
)
new :
data1 : int[] *
data2 : int[] *
alpha : float *
type : HypothesisType -> TwoSamplePairedTTest
Parameters
- data1 Int32
- An array of observed values.
- data2 Int32
- An array of observed values.
- 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 mean of the differences between paired observations, the standard deviation of the
differences, and the sample size are computed from the given arrays.
See Also