|
ZTest Constructor (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[] samples,
double hypothesizedMean = 0,
OneSampleHypothesis alternate = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Public Sub New (
samples As Double(),
Optional hypothesizedMean As Double = 0,
Optional alternate As OneSampleHypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis
)
Request Example
View SourceParameters
- samples
- Type: SystemDouble
The data samples from which the test will be performed. - hypothesizedMean (Optional)
- Type: SystemDouble
The constant to be compared with the samples. - alternate (Optional)
- Type: Accord.Statistics.TestingOneSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also