Statistics Methods

statistics.NormalDist.inv_cdf()

Find the quantile whose cumulative probability is p, strictly between zero and one. Requires positive sigma.

Formal Syntax & Structure

python syntaxpython
distribution.inv_cdf(p)

Parameters & Attributes

NameTypeDescription
pfloatCumulative probability strictly between zero and one.

Return Value

float

Floating-point result; finite precision and domain restrictions apply.

Working Example

Example Snippetpython
import statisticsprint(statistics.NormalDist(10, 2).inv_cdf(0.5))
Python Reference