| OneSampleZTest(Double, Int32, Double, Double, Double, HypothesisType) Constructor |
Constructs a OneSampleZTest instance with the given sample, population,
and hypothesis parameters.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public OneSampleZTest(
double xbar,
int n,
double mu0,
double sigma,
double alpha,
HypothesisType type
)
Public Sub New (
xbar As Double,
n As Integer,
mu0 As Double,
sigma As Double,
alpha As Double,
type As HypothesisType
)
public:
OneSampleZTest(
double xbar,
int n,
double mu0,
double sigma,
double alpha,
HypothesisType type
)
new :
xbar : float *
n : int *
mu0 : float *
sigma : float *
alpha : float *
type : HypothesisType -> OneSampleZTest
Parameters
- xbar Double
- The sample mean.
- n Int32
- The sample size.
- mu0 Double
- The population mean.
- sigma Double
- The population standard deviation.
- alpha Double
-
The accepted probability of falsely rejecting the null hypothesis.
- type HypothesisType
-
Enum value indicating the form of the alternative hypothesis.
See Also