|
PairedTTest Constructor
|
Creates a new paired t-test.
Namespace:
Accord.Statistics.Testing
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public PairedTTest(
double[] sample1,
double[] sample2,
TwoSampleHypothesis alternate = TwoSampleHypothesis.ValuesAreDifferent
)
Public Sub New (
sample1 As Double(),
sample2 As Double(),
Optional alternate As TwoSampleHypothesis = TwoSampleHypothesis.ValuesAreDifferent
)
Request Example
View SourceParameters
- sample1
- Type: SystemDouble
The observations in the first sample. - sample2
- Type: SystemDouble
The observations in the second sample. - alternate (Optional)
- Type: Accord.Statistics.TestingTwoSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also