Click or drag to resize
Accord.NET (logo)

TwoSampleZTest Constructor (Double, Double, Double, TwoSampleHypothesis)

Constructs a Z test.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public TwoSampleZTest(
	double[] sample1,
	double[] sample2,
	double hypothesizedDifference = 0,
	TwoSampleHypothesis alternate = TwoSampleHypothesis.ValuesAreDifferent
)
Request Example View Source

Parameters

sample1
Type: SystemDouble
The first data sample.
sample2
Type: SystemDouble
The second data sample.
hypothesizedDifference (Optional)
Type: SystemDouble
The hypothesized sample difference.
alternate (Optional)
Type: Accord.Statistics.TestingTwoSampleHypothesis
The alternative hypothesis (research hypothesis) to test.
See Also