DistFunc_kFactor

DistFunc_kFactor(n, p, alpha)

Exact margin factor for bilateral covering interval of a Normal population.

Parameters
nint

The size of the population

pfloat 0<p<1

The probability level of the covering interval

alphafloat 0<\alpha<1

The confidence level of the covering interval

Returns
kfloat

The margin factor

Notes

This method allows to compute the exact margin factor k of a Normal population of size n with unknown means \mu_i and unknown common variance \sigma^2. It is equivalent to the pooled version with m=1.

Examples

>>> import openturns as ot
>>> k = ot.DistFunc.kFactor(5, 0.95, 0.9)