Template:Loglogistic confidence bounds

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 Chapter Parameter Estimation.

Bounds on the Parameters
The lower and upper bounds $${\mu }$$, are estimated from:


 * $$\begin{align}

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

For paramter $$$$,  $$\ln $$  is treated as normally distributed, and the bounds are estimated from:


 * $$\begin{align}

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

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


 * $$\alpha =\frac{1}{\sqrt{2\pi }}\int_^{\infty }{{e}^{-\tfrac{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<t<\infty $$,  $$-\infty <\mu <\infty $$  ,  $$0<\sigma <\infty $$ , therefore  $$0<t'=\ln (t)<\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}(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}^}}\text{(Upper bound)}$$


 * $${{R}_{L}}=\frac{1}{1+{{e}^}}\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:


 * $$z=\ln (1-R)-\ln (R)$$

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}^}\text{ (upper bound)}$$


 * $${{T}_{L}}={{e}^}\text{ (lower bound)}$$