| OneSampleZTest(IDFColumn, Double, Double) Constructor |
Constructs a OneSampleZTest instance using the given column of sample data, and
the given population parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public OneSampleZTest(
IDFColumn data,
double mu0,
double sigma
)
Public Sub New (
data As IDFColumn,
mu0 As Double,
sigma As Double
)
public:
OneSampleZTest(
IDFColumn^ data,
double mu0,
double sigma
)
new :
data : IDFColumn *
mu0 : float *
sigma : float -> OneSampleZTest
Parameters
- data IDFColumn
- A column of observed values.
- mu0 Double
- The population mean.
- sigma Double
- The population standard deviation.
Exceptions Exception | Condition |
---|
InvalidArgumentException |
Thrown if data does not contain numeric data, or has length of
zero after removing missing values.
|
Remarks
The sample mean and sample size are computed from the given column.
Missing values are ignored.
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