In probability and statistics, the **log-logistic distribution** (known as the **Fisk distribution** in economics) is a continuous probability distribution for a non-negative random variable. It is used in survival analysis as a parametric model for events whose rate increases initially and decreases later, for example mortality rate from cancer following diagnosis or treatment. It has also been used in hydrology to model stream flow and precipitation, in economics as a simple model of the distribution of wealth or income, and in networking to model the transmission times of data considering both the network and the software.

The log-logistic distribution is the probability distribution of a random variable whose logarithm has a logistic distribution. It is similar in shape to the log-normal distribution but has heavier tails. Unlike the log-normal, its cumulative distribution function can be written in closed form.

There are several different parameterizations of the distribution in use. The one shown here gives reasonably interpretable parameters and a simple form for the cumulative distribution function. The parameter
α
>
0
is a scale parameter and is also the median of the distribution. The parameter
β
>
0
is a shape parameter. The distribution is unimodal when
β
>
1
and its dispersion decreases as
β
increases.

The cumulative distribution function is

F
(
x
;
α
,
β
)
=
1
1
+
(
x
/
α
)
−
β
=
(
x
/
α
)
β
1
+
(
x
/
α
)
β
=
x
β
α
β
+
x
β
where
x
>
0
,
α
>
0
,
β
>
0.

The probability density function is

f
(
x
;
α
,
β
)
=
(
β
/
α
)
(
x
/
α
)
β
−
1
(
1
+
(
x
/
α
)
β
)
2
An alternative parametrization is given by the pair
μ
,
s
in analogy with the logistic distribution:

μ
=
ln
(
α
)
s
=
1
/
β
The
k
th raw moment exists only when
k
<
β
,
when it is given by

E
(
X
k
)
=
α
k
B
(
1
−
k
/
β
,
1
+
k
/
β
)
=
α
k
k
π
/
β
sin
(
k
π
/
β
)
where B() is the beta function. Expressions for the mean, variance, skewness and kurtosis can be derived from this. Writing
b
=
π
/
β
for convenience, the mean is

E
(
X
)
=
α
b
/
sin
b
,
β
>
1
,
and the variance is

Var
(
X
)
=
α
2
(
2
b
/
sin
2
b
−
b
2
/
sin
2
b
)
,
β
>
2.
Explicit expressions for the skewness and kurtosis are lengthy. As
β
tends to infinity the mean tends to
α
, the variance and skewness tend to zero and the excess kurtosis tends to 6/5 (see also related distributions below).

The quantile function (inverse cumulative distribution function) is :

F
−
1
(
p
;
α
,
β
)
=
α
(
p
1
−
p
)
1
/
β
.
It follows that the median is
α
, the lower quartile is
3
−
1
/
β
α
and the upper quartile is
3
1
/
β
α
.

The log-logistic distribution provides one parametric model for survival analysis. Unlike the more commonly used Weibull distribution, it can have a non-monotonic hazard function: when
β
>
1
,
the hazard function is unimodal (when
β
≤ 1, the hazard decreases monotonically). The fact that the cumulative distribution function can be written in closed form is particularly useful for analysis of survival data with censoring. The log-logistic distribution can be used as the basis of an accelerated failure time model by allowing
α
to differ between groups, or more generally by introducing covariates that affect
α
but not
β
by modelling
log
(
α
)
as a linear function of the covariates.

The survival function is

S
(
t
)
=
1
−
F
(
t
)
=
[
1
+
(
t
/
α
)
β
]
−
1
,
and so the hazard function is

h
(
t
)
=
f
(
t
)
S
(
t
)
=
(
β
/
α
)
(
t
/
α
)
β
−
1
1
+
(
t
/
α
)
β
.
The log-logistic distribution has been used in hydrology for modelling stream flow rates and precipitation.

Extreme values like maximum one-day rainfall and river discharge per month or per year often follow a log-normal distribution. The log-normal distribution, however, needs a numeric approximation. As the log-logistic distribution, which can be solved analytically, is similar to the log-normal distribution, it can be used instead.

The blue picture illustrates an example of fitting the log-logistic distribution to ranked maximum one-day October rainfalls and it shows the 90% confidence belt based on the binomial distribution. The rainfall data are represented by the plotting position *r*/(*n*+1) as part of the cumulative frequency analysis.

The log-logistic has been used as a simple model of the distribution of wealth or income in economics, where it is known as the Fisk distribution. Its Gini coefficient is
1
/
β
.

The log-logistic has been used as a model for the period of time beginning when some data leaves a software user application in a computer and the response is received by the same application after travelling through and being processed by other computers, applications, and network segments, most or all of them without hard real-time guarantees (for example, when an application is displaying data coming from a remote sensor connected to the Internet). It has been shown to be a more accurate probabilistic model for that than the log-normal distribution or others, as long as abrupt changes of regime in the sequences of those times are properly detected.

If
X
∼
L
L
(
α
,
β
)
then
k
X
∼
L
L
(
k
α
,
β
)
.
L
L
(
α
,
β
)
∼
Dagum
(
1
,
α
,
β
)
(Dagum distribution).
L
L
(
α
,
β
)
∼
SinghMaddala
(
1
,
α
,
β
)
(Singh-Maddala distribution).
LL
(
γ
,
σ
)
∼
β
′
(
1
,
1
,
γ
,
σ
)
(Beta prime distribution).
If *X* has a log-logistic distribution with scale parameter
α
and shape parameter
β
then *Y* = log(*X*) has a logistic distribution with location parameter
log
(
α
)
and scale parameter
1
/
β
.
As the shape parameter
β
of the log-logistic distribution increases, its shape increasingly resembles that of a (very narrow) logistic distribution. Informally:
The log-logistic distribution with shape parameter
β
=
1
and scale parameter
α
is the same as the generalized Pareto distribution with location parameter
μ
=
0
, shape parameter
ξ
=
1
and scale parameter
α
:
The addition of another parameter (a shift parameter) formally results in a shifted log-logistic distribution, but this is usually considered in a different parameterization so that the distribution can be bounded above or bounded below.
Several different distributions are sometimes referred to as the **generalized log-logistic distribution**, as they contain the log-logistic as a special case. These include the Burr Type XII distribution (also known as the *Singh-Maddala distribution*) and the Dagum distribution, both of which include a second shape parameter. Both are in turn special cases of the even more general *generalized beta distribution of the second kind*. Another more straightforward generalization of the log-logistic is the shifted log-logistic distribution.