NormalDist

Standard library class statistics.NormalDist View source
class NormalDist
class NormalDist
Constructors 1
__init__
__init__(self, mu = 0.0, sigma = 1.0)
Defined in statistics
Properties 5
mean
@property
mean(self)
Defined in statistics
median
@property
median(self)
Defined in statistics
mode
@property
mode(self)
Defined in statistics
stdev
@property
stdev(self)
Defined in statistics
variance
@property
variance(self)
Defined in statistics
Methods 8
pdf
pdf(self, x)
Defined in statistics
cdf
cdf(self, x)
Defined in statistics
zscore
zscore(self, x)
Defined in statistics
inv_cdf
inv_cdf(self, p: float)
Defined in statistics
quantiles
quantiles(self, n: int = 4)
Defined in statistics
overlap
overlap(self, other: NormalDist)
Defined in statistics
samples
samples(self, n: int, seed: Optional[int] = None)
Defined in statistics
from_samples
from_samples(data)
Defined in statistics
Special methods 13
__add__
__add__(x1: NormalDist, x2: NormalDist)
Defined in statistics
__add__(x1: NormalDist, x2: float)
Defined in statistics
__sub__
__sub__(x1: NormalDist, x2: NormalDist)
Defined in statistics
__sub__(x1: NormalDist, x2: float)
Defined in statistics
__mul__
__mul__(x1: NormalDist, x2: float)
Defined in statistics
__truediv__
__truediv__(x1: NormalDist, x2: float)
Defined in statistics
__pos__
__pos__(x1: NormalDist)
Defined in statistics
__neg__
__neg__(x1: NormalDist)
Defined in statistics
__radd__
__radd__(x1: NormalDist, x2: float)
Defined in statistics
__rsub__
__rsub__(x1: NormalDist, x2: float)
Defined in statistics
__rmul__
__rmul__(x1: NormalDist, x2: float)
Defined in statistics
__eq__
__eq__(x1: NormalDist, x2: NormalDist)
Defined in statistics
__ne__
__ne__(self, other: NormalDist)
Defined in statistics
__hash__
__hash__(self)
Defined in statistics
__repr__
__repr__(self)
Defined in statistics