19.11 Log-logistic distribution
19.11.1 Probability density function
If α,β∈R+, then for y∈R+, Log-Logistic(y|α,β)= (βα)(yα)β−1 (1+(yα)β)2.
19.11.2 Sampling statement
y ~
loglogistic
(alpha, beta)
Increment target log probability density with unnormalized
version of loglogistic_lpdf(y | alpha, beta)
Available since 2.29
19.11.3 Stan functions
real
loglogistic_lpdf
(reals y | reals alpha, reals beta)
The log of the log-logistic density of y given scale alpha and shape beta
Available since 2.29
real
loglogistic_cdf
(reals y, reals alpha, reals beta)
The log-logistic cumulative distribution function of y given scale alpha and shape beta
Available since 2.29
R
loglogistic_rng
(reals alpha, reals beta)
Generate a log-logistic variate with scale alpha and shape beta; may only
be used in transformed data and generated quantities blocks.
For a description of argument and return types, see section
vectorized PRNG functions.
Available since 2.29