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
| Name | Type | Description |
|---|---|---|
| p | float | Cumulative 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))