Log-logistic distribution¶
The log-logistic distribution is the probability distribution of a random variable whose logarithm has a logistic distribution.
The distribution is also known as the Fisk distribution.
The distribution has two parameters, beta and scale. beta is a shape parameter.
- mpsci.distributions.loglogistic.cdf(x, beta, scale)¶
CDF of the log-logistic distribution.
- mpsci.distributions.loglogistic.invcdf(p, beta, scale)¶
Inverse CDF of the log-logistic distribution.
This function is also known as the quantile function or the percent point function.
- mpsci.distributions.loglogistic.invsf(p, beta, scale)¶
Inverse survival function of the log-logistic distribution.
- mpsci.distributions.loglogistic.logpdf(x, beta, scale)¶
Logarithm of the PDF of the log-logistic distribution.
- mpsci.distributions.loglogistic.mean(beta, scale)¶
Mean of the log-logistic distribution.
nan is returned if beta <= 1.
- mpsci.distributions.loglogistic.noncentral_moment(n, beta, scale)¶
Noncentral moment (i.e. raw moment) of the log-logistic distribution.
n
is the order of the moment to be computed.The moment does not exist if
n >= beta
.nan
is returned in that case.
- mpsci.distributions.loglogistic.pdf(x, beta, scale)¶
PDF of the log-logistic distribution.
- mpsci.distributions.loglogistic.sf(x, beta, scale)¶
Survival function of the log-logistic distribution.
- mpsci.distributions.loglogistic.support(beta, scale)¶
Support of the log-logistic distribution.
- mpsci.distributions.loglogistic.var(beta, scale)¶
Variance of the log-logistic distribution.
nan is returned if beta <= 2.