|
TTest Constructor (Double, Double, OneSampleHypothesis)
|
Tests the null hypothesis that the population mean is equal to a specified value.
Namespace:
Accord.Statistics.Testing
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public TTest(
double statistic,
double degreesOfFreedom,
OneSampleHypothesis hypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Public Sub New (
statistic As Double,
degreesOfFreedom As Double,
Optional hypothesis As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example
View SourceParameters
- statistic
- Type: SystemDouble
The test statistic. - degreesOfFreedom
- Type: SystemDouble
The degrees of freedom for the test distribution. - hypothesis (Optional)
- Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also