Probability density function
Cumulative distribution function
if , else undefined
if , 0 otherwise
|Variance||See main text|
|MGF|| where is the Beta function.|
|CF|| where is the Beta function.|
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, as, 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 is a scale parameter and is also the median of the distribution. The parameter is a shape parameter. The distribution is unimodal when and its dispersion decreases as increases.
where , ,
The probability density function is
An alternative parametrization is given by the pair in analogy with the logistic distribution:
and the variance is
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 :
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 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 as a linear function of the covariates.
The survival function is
and so the hazard function is
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.
Derivation of Gini coefficient
The Gini coefficient for a continuous probability distribution takes the form:
where is the CDF of the distribution and is the expected value. For the log-logistic distribution, the formula for the Gini coefficient becomes:
Defining the substitution leads to the simpler equation:
And making the substitution further simplifies the Gini coefficient formula to:
The integral component is equivalent to the standard beta function . The beta function may also be written as:
where is the gamma function. Using the properties of the gamma function, it can be shown that:
From Euler's reflection formula, the expression can be simplified further:
Finally, we may conclude that the Gini coefficient for the log-logistic distribution .
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 then
- If then
- (Dagum distribution).
- (Singh–Maddala distribution).
- (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 and scale parameter
- 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 and scale parameter is the same as the generalized Pareto distribution with location parameter , shape parameter 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.
Another generalized log-logistic distribution is the log-transform of the metalog distribution, in which power series expansions in terms of are substituted for logistic distribution parameters and . The resulting log-metalog distribution is highly shape flexible, has simple closed form PDF and quantile function, can be fit to data with linear least squares, and subsumes the log-logistic distribution is special case.
- Ekawati, D.; Warsono; Kurniasari, D. (2014). "On the Moments, Cumulants, and Characteristic Function of the Log-Logistic Distribution". IPTEK, The Journal for Technology and Science. 25 (3): 78–82.
- Shoukri, M.M.; Mian, I.U.M.; Tracy, D.S. (1988), "Sampling Properties of Estimators of the Log-Logistic Distribution with Application to Canadian Precipitation Data", The Canadian Journal of Statistics, 16 (3): 223–236, doi:10.2307/3314729, JSTOR 3314729
- Ashkar, Fahim; Mahdi, Smail (2006), "Fitting the log-logistic distribution by generalized moments", Journal of Hydrology, 328 (3–4): 694–703, Bibcode:2006JHyd..328..694A, doi:10.1016/j.jhydrol.2006.01.014
- Tadikamalla, Pandu R.; Johnson, Norman L. (1982), "Systems of Frequency Curves Generated by Transformations of Logistic Variables", Biometrika, 69 (2): 461–465, CiteSeerX 10.1.1.153.9487, doi:10.1093/biomet/69.2.461, JSTOR 2335422
- Tadikamalla, Pandu R. (1980), "A Look at the Burr and Related Distributions", International Statistical Review, 48 (3): 337–344, doi:10.2307/1402945, JSTOR 1402945
- McLaughlin, Michael P. (2001), A Compendium of Common Probability Distributions (PDF), p. A–37, retrieved 2008-02-15
- Bennett, Steve (1983), "Log-Logistic Regression Models for Survival Data", Journal of the Royal Statistical Society, Series C, 32 (2): 165–171, doi:10.2307/2347295, JSTOR 2347295
- Collett, Dave (2003), Modelling Survival Data in Medical Research (2nd ed.), CRC press, ISBN 978-1-58488-325-8
- Di Crescenzo, Antonio; Pellerey, Franco (2019), "Some results and applications of geometric counting processes", Methodology and Computing in Applied Probability, 21 (1): 203–233, doi:10.1007/s11009-018-9649-9
- Ritzema (ed.), H.P. (1994), Frequency and Regression Analysis, Chapter 6 in: Drainage Principles and Applications, Publication 16, International Institute for Land Reclamation and Improvement (ILRI), Wageningen, The Netherlands, pp. 175–224, ISBN 978-90-70754-33-4CS1 maint: extra text: authors list (link)
- Fisk, P.R. (1961), "The Graduation of Income Distributions", Econometrica, 29 (2): 171–185, doi:10.2307/1909287, JSTOR 1909287
- Kleiber, C.; Kotz, S (2003), Statistical Size Distributions in Economics and Actuarial Sciences, Wiley, ISBN 978-0-471-15064-0
- Gago-Benítez, A.; Fernández-Madrigal J.-A., Cruz-Martín, A. (2013), "Log-Logistic Modeling of Sensory Flow Delays in Networked Telerobots", IEEE Sensors Journal, IEEE Sensors 13(8), 13 (8): 2944–2953, Bibcode:2013ISenJ..13.2944G, doi:10.1109/JSEN.2013.2263381CS1 maint: multiple names: authors list (link)