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