Statistics Methods
statistics.NormalDist.cdf()
Evaluate the probability that a normal observation is at or below x. Requires positive sigma.
Formal Syntax & Structure
python syntaxpython
distribution.cdf(x)Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| x | real number | Input real value. |
Return Value
float
Floating-point result; finite precision and domain restrictions apply.
Working Example
Example Snippetpython
import statisticsprint(statistics.NormalDist(10, 2).cdf(10))