Click or drag to resize

OneSampleZTest(Int32, Double, Double) Constructor

Constructs a OneSampleZTest instance using the given array of sample data, and the given population parameters.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public OneSampleZTest(
	int[] data,
	double mu0,
	double sigma
)

Parameters

data  Int32
An array of observed values.
mu0  Double
The population mean.
sigma  Double
The population standard deviation.
Exceptions
ExceptionCondition
InvalidArgumentException Thrown if data has length of zero.
Remarks
The sample mean and sample size are computed from the given array. The alpha level is set to the current value specified by the static DefaultAlpha property; the form of the hypothesis test is set to the current DefaultType.
See Also