particles.distributions.LogitD¶
- class LogitD(base_dist, a=0.0, b=1.0)[source]¶
Distributions of Y=logit((X-a)/(b-a)).
See base class
TransformedDist
.- Parameters:
base_dist (ProbDist) – The distribution of X
a (float) – intervalp [a, b] is the support of base_dist
b (float) – intervalp [a, b] is the support of base_dist
Methods
__init__
(base_dist[, a, b])error_msg
(method)f
(x)finv
(x)Inverse of f.
logJac
(x)Log of Jacobian.
logpdf
(x)pdf
(x)ppf
(u)rvs
([size])shape
(size)Attributes
dim