Lines Matching refs:mu
71 >>> mu = mean(data)
72 >>> pvariance(data, mu)
866 def pvariance(data, mu=None):
870 value. The optional argument mu, if given, should be the mean of
886 >>> mu = mean(data)
887 >>> pvariance(data, mu)
901 T, ss, c, n = _ss(data, mu)
925 def pstdev(data, mu=None):
934 T, ss, c, n = _ss(data, mu)
1089 def _normal_dist_inv_cdf(p, mu, sigma):
1116 return mu + (x * sigma)
1160 return mu + (x * sigma)
1180 def __init__(self, mu=0.0, sigma=1.0):
1181 "NormalDist where mu is the mean and sigma is the standard deviation."
1184 self._mu = float(mu)
1195 mu, sigma = self._mu, self._sigma
1196 return [gauss(mu, sigma) for i in range(n)]
1316 If *other* is a constant, translate mu by the constant,
1330 If *other* is a constant, translate by the constant mu,
1342 """Multiply both mu and sigma by a constant.
1350 """Divide both mu and sigma by a constant.
1362 "Negates mu while keeping sigma the same."
1374 "Two NormalDist objects are equal if their mu and sigma are both equal."
1380 "NormalDist objects hash equal if their mu and sigma are both equal."
1384 return f'{type(self).__name__}(mu={self._mu!r}, sigma={self._sigma!r})'