Template:Gumbel confidence bounds: Difference between revisions
(Created page with '===Confidence Bounds=== This section presents the method used by the application to estimate the different types of confidence bounds for data that follow the Gumbel distribution…') |
|||
Line 94: | Line 94: | ||
\end{align}</math> | \end{align}</math> | ||
{{gumbel distribution example}} | |||
Revision as of 22:35, 19 January 2012
Confidence Bounds
This section presents the method used by the application to estimate the different types of confidence bounds for data that follow the Gumbel distribution. The complete derivations were presented in detail (for a general function) in Chapter 5. Only Fisher Matrix confidence bounds are available for the Gumbel distribution.
Bounds on the Parameters
The lower and upper bounds on the mean, [math]\displaystyle{ \widehat{\mu } }[/math] , are estimated from:
- [math]\displaystyle{ \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} }[/math]
Since the standard deviation, [math]\displaystyle{ \widehat{\sigma } }[/math] , must be positive, then [math]\displaystyle{ \ln (\widehat{\sigma }) }[/math] is treated as normally distributed, and the bounds are estimated from:
- [math]\displaystyle{ \begin{align} & {{\sigma }_{U}}= & \widehat{\sigma }\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\sigma })}}{{{\widehat{\sigma }}_{T}}}}}\text{ (upper bound)} \\ & {{\sigma }_{L}}= & \frac{\widehat{\sigma }}{{{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\sigma })}}{\widehat{\sigma }}}}}\text{ (lower bound)} \end{align} }[/math]
where [math]\displaystyle{ {{K}_{\alpha }} }[/math] is defined by:
- [math]\displaystyle{ \alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }}) }[/math]
If [math]\displaystyle{ \delta }[/math] is the confidence level, then [math]\displaystyle{ \alpha =\tfrac{1-\delta }{2} }[/math] for the two-sided bounds, and [math]\displaystyle{ \alpha =1-\delta }[/math] for the one-sided bounds.
The variances and covariances of [math]\displaystyle{ \widehat{\mu } }[/math] and [math]\displaystyle{ \widehat{\sigma } }[/math] are estimated from the Fisher matrix as follows:
- [math]\displaystyle{ \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} }[/math]
[math]\displaystyle{ \Lambda }[/math] is the log-likelihood function of the Gumbel distribution, described in Chapter 3 and Appendix C.
Bounds on Reliability
The reliability of the Gumbel distribution is given by:
- [math]\displaystyle{ \widehat{R}(T;\hat{\mu },\hat{\sigma })={{e}^{-{{e}^{{\hat{z}}}}}} }[/math]
- where:
- [math]\displaystyle{ \widehat{z}=\frac{t-\widehat{\mu }}{\widehat{\sigma }} }[/math]
The bounds on [math]\displaystyle{ z }[/math] are estimated from:
- [math]\displaystyle{ \begin{align} & {{z}_{U}}= & \widehat{z}+{{K}_{\alpha }}\sqrt{Var(\widehat{z})} \\ & {{z}_{L}}= & \widehat{z}-{{K}_{\alpha }}\sqrt{Var(\widehat{z})} \end{align} }[/math]
- where:
- [math]\displaystyle{ Var(\widehat{z})={{\left( \frac{\partial z}{\partial \mu } \right)}^{2}}Var(\widehat{\mu })+{{\left( \frac{\partial z}{\partial \sigma } \right)}^{2}}Var(\widehat{\sigma })+2\left( \frac{\partial z}{\partial \mu } \right)\left( \frac{\partial z}{\partial \sigma } \right)Cov\left( \widehat{\mu },\widehat{\sigma } \right) }[/math]
- or:
- [math]\displaystyle{ Var(\widehat{z})=\frac{1}{{{\widehat{\sigma }}^{2}}}\left[ Var(\widehat{\mu })+{{\widehat{z}}^{2}}Var(\widehat{\sigma })+2\cdot \widehat{z}\cdot Cov\left( \widehat{\mu },\widehat{\sigma } \right) \right] }[/math]
The upper and lower bounds on reliability are:
- [math]\displaystyle{ \begin{align} & {{R}_{U}}= & {{e}^{-{{e}^{{{z}_{L}}}}}}\text{ (upper bound)} \\ & {{R}_{L}}= & {{e}^{-{{e}^{{{z}_{U}}}}}}\text{ (lower bound)} \end{align} }[/math]
Bounds on Time
The bounds around time for a given Gumbel percentile (unreliability) are estimated by first solving the reliability equation with respect to time, as follows:
- [math]\displaystyle{ \widehat{T}(\widehat{\mu },\widehat{\sigma })=\widehat{\mu }+\widehat{\sigma }z }[/math]
- where:
- [math]\displaystyle{ z=\ln (-\ln (R)) }[/math]
- [math]\displaystyle{ Var(\widehat{T})={{(\frac{\partial T}{\partial \mu })}^{2}}Var(\widehat{\mu })+2(\frac{\partial T}{\partial \mu })(\frac{\partial T}{\partial \sigma })Cov(\widehat{\mu },\widehat{\sigma })+{{(\frac{\partial T}{\partial \sigma })}^{2}}Var(\widehat{\sigma }) }[/math]
- or:
- [math]\displaystyle{ Var(\widehat{T})=Var(\widehat{\mu })+2\widehat{z}Cov(\widehat{\mu },\widehat{\sigma })+{{\widehat{z}}^{2}}Var(\widehat{\sigma }) }[/math]
The upper and lower bounds are then found by:
- [math]\displaystyle{ \begin{align} & {{T}_{U}}= & \hat{T}+{{K}_{\alpha }}\sqrt{Var(\hat{T})}\text{ (Upper bound)} \\ & {{T}_{L}}= & \hat{T}-{{K}_{\alpha }}\sqrt{Var(\hat{T})}\text{ (Lower bound)} \end{align} }[/math]
Verify using Monte Carlo simulation that if [math]\displaystyle{ {{t}_{i}}\,\! }[/math] follows a Weibull distribution with [math]\displaystyle{ \beta \,\! }[/math] and [math]\displaystyle{ \eta \,\! }[/math], then the [math]\displaystyle{ Ln({{t}_{i}})\,\! }[/math] follows a Gumbel distribution with [math]\displaystyle{ \mu =\ln (\eta )\,\! }[/math] and [math]\displaystyle{ \sigma =1/\beta )\,\! }[/math].
Let us assume that [math]\displaystyle{ {{t}_{i}}\,\! }[/math] follows a Weibull distribution with [math]\displaystyle{ \beta =0.5\,\! }[/math] and [math]\displaystyle{ \eta =10000\,\! }[/math]. The Monte Carlo simulation tool in Weibull++ can be used to generate a set of random numbers that follow a Weibull distribution with the specified parameters. The following picture shows the Main tab of the Monte Carlo Data Generation utility.
On the Settings tab, set the number of points to 100 and click Generate. This creates a new data sheet in the folio that contains random time values [math]\displaystyle{ {{t}_{i}}\,\! }[/math].
Insert a new data sheet in the folio and enter the corresponding [math]\displaystyle{ Ln({{t}_{i}})\,\! }[/math] values of the time values generated by the Monte Carlo simulation. Delete any negative values, if there are any, because Weibull++ expects the time values to be positive. After obtaining the [math]\displaystyle{ Ln({{t}_{i}})\,\! }[/math] values, analyze the data sheet using the Gumbel distribution and the MLE parameter estimation method. The estimated parameters are (your results may vary due to the random numbers generated by simulation):
- [math]\displaystyle{ \begin{align} & \hat{\mu }= & 9.3816 \\ & \hat{\sigma }= & 1.9717 \end{align}\,\! }[/math]
Because [math]\displaystyle{ \ln (\eta )= 9.2103\,\! }[/math] ( [math]\displaystyle{ \simeq 9.3816\,\! }[/math] ) and [math]\displaystyle{ 1/\beta =2\,\! }[/math] [math]\displaystyle{ (\simeq 1.9717)\,\! }[/math], then this simulation verifies that [math]\displaystyle{ Ln({{t}_{i}})\,\! }[/math] follows a Gumbel distribution with [math]\displaystyle{ \mu =\ln (\eta )\,\! }[/math] and [math]\displaystyle{ \delta =1/\beta \,\! }[/math].
Note: This example illustrates a property of the Gumbel distribution; it is not meant to be a formal proof.