|
TTest Constructor (Double, Double, 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 estimatedValue,
double standardError,
double degreesOfFreedom,
double hypothesizedValue = 0,
OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Public Sub New (
estimatedValue As Double,
standardError As Double,
degreesOfFreedom As Double,
Optional hypothesizedValue As Double = 0,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example
View SourceParameters
- estimatedValue
- Type: SystemDouble
The estimated value (θ). - standardError
- Type: SystemDouble
The standard error of the estimation (SE). - degreesOfFreedom
- Type: SystemDouble
The degrees of freedom for the test distribution. - hypothesizedValue (Optional)
- Type: SystemDouble
The hypothesized value (θ'). - alternate (Optional)
- Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also