DistFunc_kFactor

DistFunc_kFactor(n, p, alpha)

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

Parameters:

n : int

The size of the population

p : float 0<p<1

The probability level of the covering interval

alpha : float 0<\alpha<1

The confidence level of the covering interval

Returns:

k : float

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)