One Sample ZTest Of Proportion Constructor
Definition
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
One | Constructs a new unpaired OneSampleZTestOfProportion for the specified samples. |
One | Constructs a new OneSampleZTestOfProportion for the specified samples. |
One | Constructs a new OneSampleZTestOfProportion for the specified samples. |
OneSampleZTestOfProportion
Constructs a new unpaired OneSampleZTestOfProportion for
the specified samples.
public OneSampleZTestOfProportion()
Remarks
This constructor constructs a 'blank' one sample z test.
The test is an unpaired test for equality of the means with a significance level of 0.95.
The sample has to be set using the Sample property before any
of the test results are accessed.
OneSampleZTestOfProportion(Int32, Double)
Constructs a new OneSampleZTestOfProportion for
the specified samples.
public OneSampleZTestOfProportion(
int count,
double proportion
)
Parameters
- count Int32
- The number of observations in the sample.
- proportion Double
- The proportion of the sample.
Exceptions
ArgumentOutOfRangeException | count is less than or equal to one. -or proportion is less than zero or greater than one. |
OneSampleZTestOfProportion(Int32, Double, HypothesisType)
Constructs a new OneSampleZTestOfProportion for
the specified samples.
public OneSampleZTestOfProportion(
int count,
double proportion,
HypothesisType hypothesisType
)
Parameters
- count Int32
- The number of observations in the sample.
- proportion Double
- The proportion of the sample.
- hypothesisType HypothesisType
- A HypothesisType value that specifies whether the test is one or two-tailed.
Exceptions
ArgumentOutOfRangeException | count is less than or equal to one. -or proportion is less than zero or greater than one. |