Click or drag to resize
Accord.NET (logo)

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
)
Request Example View Source

Parameters

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