|
ZTest Constructor (Double, Double, Double, OneSampleHypothesis)
|
Constructs a Z test.
Namespace:
Accord.Statistics.Testing
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public ZTest(
double sampleMean,
double standardError,
double hypothesizedMean = 0,
OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsGreaterThanHypothesis
)
Public Sub New (
sampleMean As Double,
standardError As Double,
Optional hypothesizedMean As Double = 0,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsGreaterThanHypothesis
)
Request Example
View SourceParameters
- sampleMean
- Type: SystemDouble
The sample's mean. - standardError
- Type: SystemDouble
The sample's standard error. - hypothesizedMean (Optional)
- Type: SystemDouble
The hypothesized value for the distribution's mean. - alternate (Optional)
- Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also