normal¶
- final class boring_math.probability_distributions.distributions.normal.Normal(mu: float = 0.0, sigma: float = 1.0)¶
Class for visualizing Normal distributions.
Note
The Normal, also called Gaussian, distribution is a continuous probability distribution with probability density function
f(x) = (1/√(2πσ²))exp(-(x-μ)²/2σ²)where
μ = mu =mean valueσ = sigma =standard deviation- __add__(other: Self) Self¶
Add together two Normal distributions.
- __init__(mu: float = 0.0, sigma: float = 1.0)¶
- __repr__() str¶
Return repr(self).
- cdf(x: float) float¶
Normal cumulative probability distribution function.
- pdf(x: float) float¶
Normal probability distribution function.