# The Loglogistic Distribution

 Chapter 15: The Loglogistic Distribution

 Chapter 15 The Loglogistic Distribution

Available Software:
Weibull++

More Resources:
Weibull++ Examples Collection

Life Data Analysis (*.pdf)

Generate Reference Book:
File may be more up-to-date

As may be indicated by the name, the loglogistic distribution has certain similarities to the logistic distribution. A random variable is loglogistically distributed if the logarithm of the random variable is logistically distributed. Because of this, there are many mathematical similarities between the two distributions, as discussed in Meeker and Escobar [27]. For example, the mathematical reasoning for the construction of the probability plotting scales is very similar for these two distributions.

### Loglogistic Probability Density Function

The loglogistic distribution is a 2-parameter distribution with parameters $\mu \,\!$ and $\sigma \,\!$. The pdf for this distribution is given by:

$f(t)=\frac{{{e}^{z}}}{\sigma {t}{{(1+{{e}^{z}})}^{2}}}\,\!$

where:

$z=\frac{{t}'-\mu }{\sigma }\,\!$
${t}'=\ln (t)\,\!$

and:

\begin{align} & \mu = & \text{scale parameter} \\ & \sigma = & \text{shape parameter} \end{align}\,\!

where $0\lt t\lt \infty \,\!$, $-\infty \lt \mu \lt \infty \,\!$ and $0\lt \sigma \lt \infty \,\!$.

### Mean, Median and Mode

The mean of the loglogistic distribution, $\overline{T}\,\!$, is given by:

$\overline{T}={{e}^{\mu }}\Gamma (1+\sigma )\Gamma (1-\sigma )\,\!$

Note that for $\sigma \ge 1,\,\!$ $\overline{T}\,\!$ does not exist.

The median of the loglogistic distribution, $\breve{T}\,\!$, is given by:

$\widehat{T}={{e}^{\mu }}\,\!$

The mode of the loglogistic distribution, $\tilde{T}\,\!$, if $\sigma \lt 1,\,\!$ is given by:

$\tilde{T} = e^{\mu+\sigma ln(\frac{1-\sigma}{1+\sigma})}\,\!$

### The Standard Deviation

The standard deviation of the loglogistic distribution, ${{\sigma }_{T}}\,\!$, is given by:

${{\sigma }_{T}}={{e}^{\mu }}\sqrt{\Gamma (1+2\sigma )\Gamma (1-2\sigma )-{{(\Gamma (1+\sigma )\Gamma (1-\sigma ))}^{2}}}\,\!$

Note that for $\sigma \ge 0.5,\,\!$ the standard deviation does not exist.

### The Loglogistic Reliability Function

The reliability for a mission of time $T\,\!$, starting at age 0, for the loglogistic distribution is determined by:

$R=\frac{1}{1+{{e}^{z}}}\,\!$

where:

$z=\frac{{t}'-\mu }{\sigma }\,\!$
\begin{align} {t}'=\ln (t) \end{align}\,\!

The unreliability function is:

$F=\frac{{{e}^{z}}}{1+{{e}^{z}}}\,\!$

### The loglogistic Reliable Life

The logistic reliable life is:

\begin{align} {{T}_{R}}={{e}^{\mu +\sigma [\ln (1-R)-\ln (R)]}} \end{align}\,\!

### The loglogistic Failure Rate Function

The loglogistic failure rate is given by:

$\lambda (t)=\frac{{{e}^{z}}}{\sigma t(1+{{e}^{z}})}\,\!$

## Distribution Characteristics

For $\sigma \gt 1\,\!$ :

• $f(t)\,\!$ decreases monotonically and is convex. Mode and mean do not exist.

For $\sigma =1\,\!$ :

• $f(t)\,\!$ decreases monotonically and is convex. Mode and mean do not exist. As $t\to 0\,\!$, $f(t)\to \tfrac{1}{\sigma {{e}^{\tfrac{\mu }{\sigma }}}}.\,\!$
• As $t\to 0\,\!$, $\lambda (t)\to \tfrac{1}{\sigma {{e}^{\tfrac{\mu }{\sigma }}}}.\,\!$

For $0\lt \sigma \lt 1\,\!$ :

• The shape of the loglogistic distribution is very similar to that of the lognormal distribution and the Weibull distribution.
• The pdf starts at zero, increases to its mode, and decreases thereafter.
• As $\mu \,\!$ increases, while $\sigma \,\!$ is kept the same, the pdf gets stretched out to the right and its height decreases, while maintaining its shape.
• As $\mu \,\!$ decreases,while $\sigma \,\!$ is kept the same, the pdf gets pushed in towards the left and its height increases.
• $\lambda (t)\,\!$ increases till $t={{e}^{\mu +\sigma \ln (\tfrac{1-\sigma }{\sigma })}}\,\!$ and decreases thereafter. $\lambda (t)\,\!$ is concave at first, then becomes convex.

## Confidence Bounds

The method used by the application in estimating the different types of confidence bounds for loglogistically distributed data is presented in this section. The complete derivations were presented in detail for a general function in Parameter Estimation.

### Bounds on the Parameters

The lower and upper bounds ${\mu }\,\!$, are estimated from:

\begin{align} & \mu _{U}= & {{\widehat{\mu }}}+{{K}_{\alpha }}\sqrt{Var(\widehat{\mu })}\text{ (upper bound)} \\ & \mu _{L}= & {{\widehat{\mu }}}-{{K}_{\alpha }}\sqrt{Var(\widehat{\mu })}\text{ (lower bound)} \end{align}\,\!

For paramter ${{\widehat{\sigma }}}\,\!$, $\ln ({{\widehat{\sigma }}})\,\!$ is treated as normally distributed, and the bounds are estimated from:

\begin{align} & {{\sigma }_{U}}= & {{\widehat{\sigma }}}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\sigma })}}{\widehat{\sigma }}}}\text{ (upper bound)} \\ & {{\sigma }_{L}}= & \frac{{{\widehat{\sigma }}}}{{{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\sigma })}}{{{\widehat{\sigma }}}}}}}\text{ (lower bound)} \end{align}\,\!

where ${{K}_{\alpha }}\,\!$ is defined by:

$\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})\,\!$

If $\delta \,\!$ is the confidence level, then $\alpha =\tfrac{1-\delta }{2}\,\!$ for the two-sided bounds, and $\alpha =1-\delta \,\!$ for the one-sided bounds.

The variances and covariances of $\widehat{\mu }\,\!$ and $\widehat{\sigma }\,\!$ are estimated as follows:

$\left( \begin{matrix} \widehat{Var}\left( \widehat{\mu } \right) & \widehat{Cov}\left( \widehat{\mu },\widehat{\sigma } \right) \\ \widehat{Cov}\left( \widehat{\mu },\widehat{\sigma } \right) & \widehat{Var}\left( \widehat{\sigma } \right) \\ \end{matrix} \right)=\left( \begin{matrix} -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{(\mu )}^{2}}} & -\tfrac{{{\partial }^{2}}\Lambda }{\partial \mu \partial \sigma } \\ {} & {} \\ -\tfrac{{{\partial }^{2}}\Lambda }{\partial \mu \partial \sigma } & -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{\sigma }^{2}}} \\ \end{matrix} \right)_{\mu =\widehat{\mu },\sigma =\widehat{\sigma }}^{-1}\,\!$

where $\Lambda \,\!$ is the log-likelihood function of the loglogistic distribution.

### Bounds on Reliability

The reliability of the logistic distribution is:

$\widehat{R}=\frac{1}{1+\exp (\widehat{z})}\,\!$

where:

$\widehat{z}=\frac{{t}'-\widehat{\mu }}{\widehat{\sigma }}\,\!$

Here $0\lt t\lt \infty \,\!$, $-\infty \lt \mu \lt \infty \,\!$, $0\lt \sigma \lt \infty \,\!$, therefore $0\lt t'=\ln (t)\lt \infty \,\!$ and $z\,\!$ also is changing from $-\infty \,\!$ till $+\infty \,\!$.

The bounds on $z\,\!$ are estimated from:

${{z}_{U}}=\widehat{z}+{{K}_{\alpha }}\sqrt{Var(\widehat{z})}\,\!$
${{z}_{L}}=\widehat{z}-{{K}_{\alpha }}\sqrt{Var(\widehat{z})\text{ }}\text{ }\,\!$

where:

$Var(\widehat{z})={{(\frac{\partial z}{\partial \mu })}^{2}}Var({{\widehat{\mu }}^{\prime }})+2(\frac{\partial z}{\partial \mu })(\frac{\partial z}{\partial \sigma })Cov(\widehat{\mu },\widehat{\sigma })+{{(\frac{\partial z}{\partial \sigma })}^{2}}Var(\widehat{\sigma })\,\!$

or:

$Var(\widehat{z})=\frac{1}{{{\sigma }^{2}}}(Var(\widehat{\mu })+2\widehat{z}Cov(\widehat{\mu },\widehat{\sigma })+{{\widehat{z}}^{2}}Var(\widehat{\sigma }))\,\!$

The upper and lower bounds on reliability are:

${{R}_{U}}=\frac{1}{1+{{e}^{{{z}_{L}}}}}\text{(Upper bound)}\,\!$
${{R}_{L}}=\frac{1}{1+{{e}^{{{z}_{U}}}}}\text{(Lower bound)}\,\!$

### Bounds on Time

The bounds around time for a given loglogistic percentile, or unreliability, are estimated by first solving the reliability equation with respect to time, as follows:

$\widehat{T}(\widehat{\mu },\widehat{\sigma })={{e}^{\widehat{\mu }+\widehat{\sigma }z}}\,\!$

where:

\begin{align} z=\ln (1-R)-\ln (R) \end{align}\,\!

or:

$\ln (\hat{T})=\widehat{\mu }+\widehat{\sigma }z\,\!$

Let:

${u}=\ln (\hat{T})=\widehat{\mu }+\widehat{\sigma }z\,\!$

then:

${u}_{U}=\widehat{u}+{{K}_{\alpha }}\sqrt{Var(\widehat{u})\text{ }}\text{ }\,\!$

${u}_{L}=\widehat{u}-{{K}_{\alpha }}\sqrt{Var(\widehat{u})\text{ }}\text{ }\,\!$

where:

$Var(\widehat{u})={{(\frac{\partial u}{\partial \mu })}^{2}}Var(\widehat{\mu })+2(\frac{\partial u}{\partial \mu })(\frac{\partial u}{\partial \sigma })Cov(\widehat{\mu },\widehat{\sigma })+{{(\frac{\partial u}{\partial \sigma })}^{2}}Var(\widehat{\sigma })\,\!$

or:

$Var(\widehat{u})=Var(\widehat{\mu })+2\widehat{z}Cov(\widehat{\mu },\widehat{\sigma })+{{\widehat{z}}^{2}}Var(\widehat{\sigma })\,\!$

The upper and lower bounds are then found by:

${{T}_{U}}={{e}^{{{u}_{U}}}}\text{ (upper bound)}\,\!$
${{T}_{L}}={{e}^{{{u}_{L}}}}\text{ (lower bound)}\,\!$

## General Examples

Determine the loglogistic parameter estimates for the data given in the following table.

$\overset{{}}{\mathop{\text{Test data}}}\,\,\!$
$\begin{matrix} \text{Data point index} & \text{Last Inspected} & \text{State End time} \\ \text{1} & \text{105} & \text{106} \\ \text{2} & \text{197} & \text{200} \\ \text{3} & \text{297} & \text{301} \\ \text{4} & \text{330} & \text{335} \\ \text{5} & \text{393} & \text{401} \\ \text{6} & \text{423} & \text{426} \\ \text{7} & \text{460} & \text{468} \\ \text{8} & \text{569} & \text{570} \\ \text{9} & \text{675} & \text{680} \\ \text{10} & \text{884} & \text{889} \\ \end{matrix}\,\!$

Set up the folio for times-to-failure data that includes interval and left censored data, then enter the data. The computed parameters for maximum likelihood are calculated to be:

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 5.9772 \\ & {{{\hat{\sigma }}}_{{{T}'}}}= & 0.3256 \end{align}\,\!

For rank regression on $X\,\!$:

\begin{align} & \hat{\mu }= & 5.9281 \\ & \hat{\sigma }= & 0.3821 \end{align}\,\!

For rank regression on $Y\,\!$:

\begin{align} & \hat{\mu }= & 5.9772 \\ & \hat{\sigma }= & 0.3256 \end{align}\,\!