Cumulative density function of the Loglogistic distribution with shape parameter \(\tau\) and scale parameter \(\lambda\).

pllogis(q, shape, rate = 1/scale, scale = 1/rate, lower.tail = TRUE)

Arguments

q

quantile.

shape

shape parameter \(\tau\), must be positive integer.

rate

alternative parameterization the scale parameter, rate = 1 / scale.

scale

\(\lambda\) rate parameter, must be positive.

lower.tail

logical; if \codeTRUE (default) probabilities are Pr(M <= k), otherwise, Pr(M > k).

Value

Function :

Invalid parameter values will return an error detailing which parameter is problematic.

Details

The Loglogistic distribution with shape parameter \(\tau\) and scale parameter \(\lambda\) has density: $$\frac{\tau \lambda^\tau x^{\tau -1}}{(\lambda^{\tau }+x^{\tau })^{2}}$$ for \(x \in \mathcal{R}^+\), \(\lambda, \tau > 0\).

See also

Examples

# With scale parameter pllogis(q = 3, shape = 3, scale = 5)
#> [1] 0.9997038
# With rate parameter pllogis(q = 3, shape = 3, rate = 0.2)
#> [1] 0.9997038
# Survival function pllogis(q = 3, shape = 3, rate = 0.2, lower.tail = FALSE)
#> [1] 0.0002962085