kFactor¶
- kFactor(n, p, alpha)¶
Exact margin factor for bilateral covering interval of a Normal population.
- Parameters:
- nint
The size of the population
- pfloat
The probability level of the covering interval
- alphafloat
The confidence level of the covering interval
- Returns:
- kfloat
The margin factor
Notes
This method allows one to compute the exact margin factor
of a Normal population of size
with unknown means
and unknown common variance
. It is equivalent to the pooled version with
. This implements the standard NF ISO 16269-6.
Examples
>>> import openturns as ot >>> k = ot.DistFunc.kFactor(5, 0.95, 0.9)