# The Exponential Distribution

### From ReliaWiki

Lisa Hacker (Talk | contribs) (→Example) |
m (→The 2-Parameter Exponential Distribution) |
||

(29 intermediate revisions not shown) | |||

Line 1: | Line 1: | ||

{{template:LDABOOK|7|The Exponential Distribution}} | {{template:LDABOOK|7|The Exponential Distribution}} | ||

- | The exponential distribution is a commonly used distribution in reliability engineering. Mathematically, it is a fairly simple distribution, which many times leads to its use in inappropriate situations. It is, in fact, a special case of the Weibull distribution where <math>\beta =1</math>. The exponential distribution is used to model the behavior of units that have a constant failure rate (or units that do not degrade with time or wear out). | + | The exponential distribution is a commonly used distribution in reliability engineering. Mathematically, it is a fairly simple distribution, which many times leads to its use in inappropriate situations. It is, in fact, a special case of the Weibull distribution where <math>\beta =1\,\!</math>. The exponential distribution is used to model the behavior of units that have a constant failure rate (or units that do not degrade with time or wear out). |

==Exponential Probability Density Function== | ==Exponential Probability Density Function== | ||

Line 6: | Line 6: | ||

The 2-parameter exponential ''pdf'' is given by: | The 2-parameter exponential ''pdf'' is given by: | ||

- | ::<math>f(t)=\lambda {{e}^{-\lambda (t-\gamma )}},f(t)\ge 0,\lambda >0,t\ge | + | ::<math>f(t)=\lambda {{e}^{-\lambda (t-\gamma )}},f(t)\ge 0,\lambda >0,t\ge \gamma \,\!</math> |

- | where <math>\gamma </math> is the location parameter. | + | where <math>\gamma \,\!</math> is the location parameter. |

- | Some of the characteristics of the 2-parameter exponential distribution are [[Appendix: | + | Some of the characteristics of the 2-parameter exponential distribution are discussed in Kececioglu [[Appendix:_Life_Data_Analysis_References|[19]]]: |

- | [19]]]: | + | *The location parameter, <math>\gamma \,\!</math>, if positive, shifts the beginning of the distribution by a distance of <math>\gamma \,\!</math> to the right of the origin, signifying that the chance failures start to occur only after <math>\gamma \,\!</math> hours of operation, and cannot occur before. |

- | + | *The scale parameter is <math>\tfrac{1}{\lambda }=\bar{t}-\gamma =m-\gamma \,\!</math>. | |

- | + | *The exponential ''pdf'' has no shape parameter, as it has only one shape. | |

- | + | *The distribution starts at <math>t=\gamma \,\!</math> at the level of <math>f(t=\gamma )=\lambda \,\!</math> and decreases thereafter exponentially and monotonically as <math>t\,\!</math> increases beyond <math>\gamma \,\!</math> and is convex. | |

- | + | *As <math>t\to \infty \,\!</math>, <math>f(t)\to 0\,\!</math>. | |

- | + | ||

===The 1-Parameter Exponential Distribution=== | ===The 1-Parameter Exponential Distribution=== | ||

- | The 1-parameter exponential | + | The 1-parameter exponential ''pdf'' is obtained by setting <math>\gamma =0\,\!</math>, and is given by: |

::<math> \begin{align}f(t)= & \lambda {{e}^{-\lambda t}}=\frac{1}{m}{{e}^{-\tfrac{1}{m}t}}, | ::<math> \begin{align}f(t)= & \lambda {{e}^{-\lambda t}}=\frac{1}{m}{{e}^{-\tfrac{1}{m}t}}, | ||

& t\ge 0, \lambda >0,m>0 | & t\ge 0, \lambda >0,m>0 | ||

\end{align} | \end{align} | ||

- | </math> | + | \,\!</math> |

where: | where: | ||

Line 29: | Line 28: | ||

::<math>\lambda \,\!</math> = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.) | ::<math>\lambda \,\!</math> = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.) | ||

- | ::<math>\lambda =\frac{1}{m}</math> | + | ::<math>\lambda =\frac{1}{m}\,\!</math> |

::<math>m\,\!</math> = mean time between failures, or to failure | ::<math>m\,\!</math> = mean time between failures, or to failure | ||

::<math>t\,\!</math> = operating time, life, or age, in hours, cycles, miles, actuations, etc. | ::<math>t\,\!</math> = operating time, life, or age, in hours, cycles, miles, actuations, etc. | ||

- | This distribution requires the knowledge of only one parameter, <math>\lambda </math>, for its application. Some of the characteristics of the 1-parameter exponential distribution are [[Appendix: | + | This distribution requires the knowledge of only one parameter, <math>\lambda \,\!</math>, for its application. Some of the characteristics of the 1-parameter exponential distribution are discussed in Kececioglu [[Appendix:_Life_Data_Analysis_References| [19]]]: |

- | [19]]]: | + | |

*The location parameter, <math>\gamma \,\!</math>, is zero. | *The location parameter, <math>\gamma \,\!</math>, is zero. | ||

- | *The scale parameter is <math>\tfrac{1}{\lambda }=m</math>. | + | *The scale parameter is <math>\tfrac{1}{\lambda }=m\,\!</math>. |

- | *As <math>\lambda </math> is decreased in value, the distribution is stretched out to the right, and as <math>\lambda </math> is increased, the distribution is pushed toward the origin. | + | *As <math>\lambda \,\!</math> is decreased in value, the distribution is stretched out to the right, and as <math>\lambda \,\!</math> is increased, the distribution is pushed toward the origin. |

*This distribution has no shape parameter as it has only one shape, (i.e., the exponential, and the only parameter it has is the failure rate, <math>\lambda \,\!</math>). | *This distribution has no shape parameter as it has only one shape, (i.e., the exponential, and the only parameter it has is the failure rate, <math>\lambda \,\!</math>). | ||

- | *The distribution starts at <math>t=0\,\!</math> at the level of <math>f(t=0)=\lambda \,\!</math> and decreases thereafter exponentially and monotonically as <math>t</math> increases, and is convex. | + | *The distribution starts at <math>t=0\,\!</math> at the level of <math>f(t=0)=\lambda \,\!</math> and decreases thereafter exponentially and monotonically as <math>t\,\!</math> increases, and is convex. |

- | *As <math>t\to \infty </math> , <math>f(t)\to 0</math>. | + | *As <math>t\to \infty \,\!</math>, <math>f(t)\to 0\,\!</math>. |

- | *The | + | *The ''pdf'' can be thought of as a special case of the Weibull ''pdf'' with <math>\gamma =0\,\!</math> and <math>\beta =1\,\!</math>. |

==Exponential Distribution Functions== | ==Exponential Distribution Functions== | ||

Line 51: | Line 49: | ||

==Estimation of the Exponential Parameters== | ==Estimation of the Exponential Parameters== | ||

===Probability Plotting=== | ===Probability Plotting=== | ||

- | Estimation of the parameters for the exponential distribution via probability plotting is very similar to the process used when dealing with the Weibull distribution. Recall, however, that the appearance of the probability plotting paper and the methods by which the parameters are estimated vary from distribution to distribution, so there will be some noticeable differences. In fact, due to the nature of the exponential | + | Estimation of the parameters for the exponential distribution via probability plotting is very similar to the process used when dealing with the Weibull distribution. Recall, however, that the appearance of the probability plotting paper and the methods by which the parameters are estimated vary from distribution to distribution, so there will be some noticeable differences. In fact, due to the nature of the exponential ''cdf'', the exponential probability plot is the only one with a negative slope. This is because the y-axis of the exponential probability plotting paper represents the reliability, whereas the y-axis for most of the other life distributions represents the unreliability. |

- | This is illustrated in the process of linearizing the | + | This is illustrated in the process of linearizing the ''cdf'', which is necessary to construct the exponential probability plotting paper. For the two-parameter exponential distribution the cumulative density function is given by: |

::<math>\begin{align} | ::<math>\begin{align} | ||

F(t)=1-{{e}^{-\lambda (t-\gamma )}} | F(t)=1-{{e}^{-\lambda (t-\gamma )}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

Taking the natural logarithm of both sides of the above equation yields: | Taking the natural logarithm of both sides of the above equation yields: | ||

- | ::<math>\ln \left[ 1-F(t) \right]=-\lambda (t-\gamma )</math> | + | ::<math>\ln \left[ 1-F(t) \right]=-\lambda (t-\gamma )\,\!</math> |

or: | or: | ||

Line 67: | Line 65: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

\ln [1-F(t)]=\lambda \gamma -\lambda t | \ln [1-F(t)]=\lambda \gamma -\lambda t | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

Now, let: | Now, let: | ||

Line 73: | Line 71: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

y=\ln [1-F(t)] | y=\ln [1-F(t)] | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

::<math>\begin{align} | ::<math>\begin{align} | ||

a=\lambda \gamma | a=\lambda \gamma | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

and: | and: | ||

Line 83: | Line 81: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

b=-\lambda | b=-\lambda | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

which results in the linear equation of: | which results in the linear equation of: | ||

Line 89: | Line 87: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

y=a+bt | y=a+bt | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | Note that with the exponential probability plotting paper, the y-axis scale is logarithmic and the x-axis scale is linear. This means that the zero value is present only on the x-axis. For <math>t=0</math>, <math>R=1</math> and <math>F(t)=0</math>. So if we were to use <math>F(t)</math> for the y-axis, we would have to plot the point <math>(0,0)</math>. However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, <math>\lambda </math>, is the negative of the slope of the line, but there is an easier way to determine the value of <math>\lambda </math> from the probability plot, as will be illustrated in the following example. | + | Note that with the exponential probability plotting paper, the y-axis scale is logarithmic and the x-axis scale is linear. This means that the zero value is present only on the x-axis. For <math>t=0\,\!</math>, <math>R=1\,\!</math> and <math>F(t)=0\,\!</math>. So if we were to use <math>F(t)\,\!</math> for the y-axis, we would have to plot the point <math>(0,0)\,\!</math>. However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, <math>\lambda \,\!</math>, is the negative of the slope of the line, but there is an easier way to determine the value of <math>\lambda \,\!</math> from the probability plot, as will be illustrated in the following example. |

====Plotting Example==== | ====Plotting Example==== | ||

{{:1P Exponential Example}} | {{:1P Exponential Example}} | ||

Line 99: | Line 97: | ||

The least squares parameter estimation method (regression analysis) was discussed in [[Parameter Estimation]], and the following equations for rank regression on Y (RRY) were derived: | The least squares parameter estimation method (regression analysis) was discussed in [[Parameter Estimation]], and the following equations for rank regression on Y (RRY) were derived: | ||

- | ::<math>\hat{a}=\bar{y}-\hat{b}\bar{x}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}</math> | + | ::<math>\hat{a}=\bar{y}-\hat{b}\bar{x}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}\,\!</math> |

and: | and: | ||

- | ::<math>\hat{b}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}-\tfrac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,x_{i}^{2}-\tfrac{{{\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}} \right)}^{2}}}{N}}</math> | + | ::<math>\hat{b}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}-\tfrac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,x_{i}^{2}-\tfrac{{{\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}} \right)}^{2}}}{N}}\,\!</math> |

- | In our case, the equations for <math>{{y}_{i}}</math> and <math>{{x}_{i}}</math> are: | + | In our case, the equations for <math>{{y}_{i}}\,\!</math> and <math>{{x}_{i}}\,\!</math> are: |

::<math>\begin{align} | ::<math>\begin{align} | ||

{{y}_{i}}=\ln [1-F({{t}_{i}})] | {{y}_{i}}=\ln [1-F({{t}_{i}})] | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

and: | and: | ||

Line 115: | Line 113: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

{{x}_{i}}={{t}_{i}} | {{x}_{i}}={{t}_{i}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | and the <math>F({{t}_{i}})</math> is estimated from the median ranks. Once <math>\hat{a}</math> and <math>\hat{b}</math> are obtained, then <math>\hat{\lambda }</math> and <math>\hat{\gamma }</math> can easily be obtained from above equations. | + | and the <math>F({{t}_{i}})\,\!</math> is estimated from the median ranks. Once <math>\hat{a}\,\!</math> and <math>\hat{b}\,\!</math> are obtained, then <math>\hat{\lambda }\,\!</math> and <math>\hat{\gamma }\,\!</math> can easily be obtained from above equations. |

For the one-parameter exponential, equations for estimating ''a'' and ''b'' become: | For the one-parameter exponential, equations for estimating ''a'' and ''b'' become: | ||

Line 123: | Line 121: | ||

\hat{a}= & 0, \\ | \hat{a}= & 0, \\ | ||

\hat{b}= & \frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,x_{i}^{2}} | \hat{b}= & \frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,x_{i}^{2}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

'''The Correlation Coefficient''' | '''The Correlation Coefficient''' | ||

- | |||

- | ::<math>\hat{\rho }=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,({{x}_{i}}-\overline{x})({{y}_{i}}-\overline{y})}{\sqrt{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{({{x}_{i}}-\overline{x})}^{2}}\cdot \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{({{y}_{i}}-\overline{y})}^{2}}}}</math> | + | The estimator of <math>\rho \,\!</math> is the sample correlation coefficient, <math>\hat{\rho }\,\!</math>, given by: |

+ | |||

+ | ::<math>\hat{\rho }=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,({{x}_{i}}-\overline{x})({{y}_{i}}-\overline{y})}{\sqrt{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{({{x}_{i}}-\overline{x})}^{2}}\cdot \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{({{y}_{i}}-\overline{y})}^{2}}}}\,\!</math> | ||

====RRY Example==== <!-- THIS SECTION HEADER IS LINKED FROM OTHER SECTIONS IN THIS PAGE. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK(S). --> | ====RRY Example==== <!-- THIS SECTION HEADER IS LINKED FROM OTHER SECTIONS IN THIS PAGE. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK(S). --> | ||

Line 136: | Line 135: | ||

Similar to rank regression on Y, performing a rank regression on X requires that a straight line be fitted to a set of data points such that the sum of the squares of the horizontal deviations from the points to the line is minimized. | Similar to rank regression on Y, performing a rank regression on X requires that a straight line be fitted to a set of data points such that the sum of the squares of the horizontal deviations from the points to the line is minimized. | ||

- | Again the first task is to bring our exponential | + | Again the first task is to bring our exponential ''cdf'' function into a linear form. This step is exactly the same as in regression on Y analysis. The deviation from the previous analysis begins on the least squares fit step, since in this case we treat <math>x\,\!</math> as the dependent variable and <math>y\,\!</math> as the independent variable. The best-fitting straight line to the data, for regression on X (see [[Parameter Estimation]]), is the straight line: |

- | ::<math>x=\hat{a}+\hat{b}y</math> | + | ::<math>x=\hat{a}+\hat{b}y\,\!</math> |

- | The corresponding equations for <math>\hat{a}</math> and <math>\hat{b}</math> are: | + | The corresponding equations for <math>\hat{a}\,\!</math> and <math>\hat{b}\,\!</math> are: |

- | ::<math>\hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}</math> | + | ::<math>\hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}\,\!</math> |

and: | and: | ||

- | ::<math>\hat{b}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}-\tfrac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,y_{i}^{2}-\tfrac{{{\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}} \right)}^{2}}}{N}}</math> | + | ::<math>\hat{b}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}-\tfrac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,y_{i}^{2}-\tfrac{{{\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}} \right)}^{2}}}{N}}\,\!</math> |

where: | where: | ||

Line 152: | Line 151: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

{{y}_{i}}=\ln [1-F({{t}_{i}})] | {{y}_{i}}=\ln [1-F({{t}_{i}})] | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

and: | and: | ||

Line 158: | Line 157: | ||

::<math>\begin{align} | ::<math>\begin{align} | ||

{{x}_{i}}={{t}_{i}} | {{x}_{i}}={{t}_{i}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | The values of <math>F({{t}_{i}})</math> are estimated from the median ranks. Once <math>\hat{a}</math> and <math>\hat{b}</math> are obtained, solve for the unknown <math>y</math> value, which corresponds to: | + | The values of <math>F({{t}_{i}})\,\!</math> are estimated from the median ranks. Once <math>\hat{a}\,\!</math> and <math>\hat{b}\,\!</math> are obtained, solve for the unknown <math>y\,\!</math> value, which corresponds to: |

- | ::<math>y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x</math> | + | ::<math>y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x\,\!</math> |

Solving for the parameters from above equations we get: | Solving for the parameters from above equations we get: | ||

- | ::<math>a=-\frac{\hat{a}}{\hat{b}}=\lambda \gamma \Rightarrow \gamma =\hat{a}</math> | + | ::<math>a=-\frac{\hat{a}}{\hat{b}}=\lambda \gamma \Rightarrow \gamma =\hat{a}\,\!</math> |

and: | and: | ||

- | ::<math>b=\frac{1}{\hat{b}}=-\lambda \Rightarrow \lambda =-\frac{1}{\hat{b}}</math> | + | ::<math>b=\frac{1}{\hat{b}}=-\lambda \Rightarrow \lambda =-\frac{1}{\hat{b}}\,\!</math> |

For the one-parameter exponential case, equations for estimating a and b become: | For the one-parameter exponential case, equations for estimating a and b become: | ||

Line 177: | Line 176: | ||

\hat{a}= & 0 \\ | \hat{a}= & 0 \\ | ||

\hat{b}= & \frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,y_{i}^{2}} | \hat{b}= & \frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}{{y}_{i}}}{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,y_{i}^{2}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

The correlation coefficient is evaluated as before. | The correlation coefficient is evaluated as before. | ||

Line 184: | Line 183: | ||

'''2-Parameter Exponential RRX Example''' | '''2-Parameter Exponential RRX Example''' | ||

- | Using the same data set from the [[The_Exponential_Distribution#RRY_Example|RRY example above]] and assuming a 2-parameter exponential distribution, estimate the parameters and determine the correlation coefficient estimate, <math>\hat{\rho }</math>, using rank regression on X. | + | Using the same data set from the [[The_Exponential_Distribution#RRY_Example|RRY example above]] and assuming a 2-parameter exponential distribution, estimate the parameters and determine the correlation coefficient estimate, <math>\hat{\rho }\,\!</math>, using rank regression on X. |

Line 195: | Line 194: | ||

\\ | \\ | ||

\hat{b}= & \frac{-927.4899-(630)(-13.2315)/14}{22.1148-{{(-13.2315)}^{2}}/14} | \hat{b}= & \frac{-927.4899-(630)(-13.2315)/14}{22.1148-{{(-13.2315)}^{2}}/14} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

or: | or: | ||

- | ::<math>\hat{b}=-34.5563</math> | + | ::<math>\hat{b}=-34.5563\,\!</math> |

and: | and: | ||

- | ::<math>\hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}}}{14}-\hat{b}\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}}}{14}</math> | + | ::<math>\hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}}}{14}-\hat{b}\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}}}{14}\,\!</math> |

or: | or: | ||

- | ::<math>\hat{a}=\frac{630}{14}-(-34.5563)\frac{(-13.2315)}{14}=12.3406</math> | + | ::<math>\hat{a}=\frac{630}{14}-(-34.5563)\frac{(-13.2315)}{14}=12.3406\,\!</math> |

Therefore: | Therefore: | ||

- | ::<math>\hat{\lambda }=-\frac{1}{\hat{b}}=-\frac{1}{(-34.5563)}=0.0289\text{ failures/hour}</math> | + | ::<math>\hat{\lambda }=-\frac{1}{\hat{b}}=-\frac{1}{(-34.5563)}=0.0289\text{ failures/hour}\,\!</math> |

and: | and: | ||

- | ::<math>\hat{\gamma }=\hat{a}=12.3406</math> | + | ::<math>\hat{\gamma }=\hat{a}=12.3406\,\!</math> |

The correlation coefficient is found to be: | The correlation coefficient is found to be: | ||

- | ::<math>\hat{\rho }=-0.9679</math> | + | ::<math>\hat{\rho }=-0.9679\,\!</math> |

- | Note that the equation for regression on Y is not necessarily the same as that for the regression on X. The only time when the two regression methods yield identical results is when the data lie perfectly on a line. If this were the case, the correlation coefficient would be <math>-1</math>. The negative value of the correlation coefficient is due to the fact that the slope of the exponential probability plot is negative. | + | Note that the equation for regression on Y is not necessarily the same as that for the regression on X. The only time when the two regression methods yield identical results is when the data lie perfectly on a line. If this were the case, the correlation coefficient would be <math>-1\,\!</math>. The negative value of the correlation coefficient is due to the fact that the slope of the exponential probability plot is negative. |

This example can be repeated using Weibull++, choosing two-parameter exponential and rank regression on X (RRX) methods for analysis, as shown below. | This example can be repeated using Weibull++, choosing two-parameter exponential and rank regression on X (RRX) methods for analysis, as shown below. | ||

Line 230: | Line 229: | ||

\hat{\gamma}= & 12.3395 \text{hours} \\ | \hat{\gamma}= & 12.3395 \text{hours} \\ | ||

\hat{\rho} = &-0.9679 \\ | \hat{\rho} = &-0.9679 \\ | ||

- | \end{array}</math> | + | \end{array}\,\!</math> |

- | [[Image:Exponential Distribution Example 3 Data Folio.png|center| | + | [[Image:Exponential Distribution Example 3 Data Folio.png|center|700px|]] |

Line 239: | Line 238: | ||

- | [[Image:Exponential Distribution Example 3 Plot.png|center| | + | [[Image:Exponential Distribution Example 3 Plot.png|center|600px|]] |

===Maximum Likelihood Estimation=== | ===Maximum Likelihood Estimation=== | ||

Line 245: | Line 244: | ||

====MLE Example==== | ====MLE Example==== | ||

- | '''MLE for Exponential Distribution''' | + | '''MLE for the Exponential Distribution''' |

- | Using the same data set from the [[The_Exponential_Distribution#RRY_Example|RRY | + | Using the same data set from the [[The_Exponential_Distribution#RRY_Example|RRY and RRX examples above]] and assuming a 2-parameter exponential distribution, estimate the parameters using the MLE method. |

'''Solution''' | '''Solution''' | ||

- | In this example, we have complete data only. The partial derivative of the log-likelihood function, <math>\Lambda ,</math> is given by: | + | In this example, we have complete data only. The partial derivative of the log-likelihood function, <math>\Lambda ,\,\!</math> is given by: |

- | ::<math>\frac{\partial \Lambda }{\partial \lambda }=\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,\left[ \frac{1}{\lambda }-\left( {{T}_{i}}-\gamma \right) \right]=\underset{i=1}{\overset{14}{\mathop \sum }}\,\left[ \frac{1}{\lambda }-\left( {{T}_{i}}-\gamma \right) \right]=0</math> | + | ::<math>\frac{\partial \Lambda }{\partial \lambda }=\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,\left[ \frac{1}{\lambda }-\left( {{T}_{i}}-\gamma \right) \right]=\underset{i=1}{\overset{14}{\mathop \sum }}\,\left[ \frac{1}{\lambda }-\left( {{T}_{i}}-\gamma \right) \right]=0\,\!</math> |

- | Complete descriptions of the partial derivatives can be found in [[Appendix:_Log-Likelihood_Equations|Appendix D]]. Recall that when using the MLE method for the exponential distribution, the value of <math>\gamma </math> is equal to that of the first failure time. The first failure occurred at 5 hours, thus <math>\gamma =5</math> hours<math>.</math> Substituting the values for <math>T</math> and <math>\gamma </math> we get: | + | Complete descriptions of the partial derivatives can be found in [[Appendix:_Log-Likelihood_Equations|Appendix D]]. Recall that when using the MLE method for the exponential distribution, the value of <math>\gamma \,\!</math> is equal to that of the first failure time. The first failure occurred at 5 hours, thus <math>\gamma =5\,\!</math> hours<math>.\,\!</math> Substituting the values for <math>T\,\!</math> and <math>\gamma \,\!</math> we get: |

- | ::<math>\frac{14}{\hat{\lambda }}=560</math> | + | ::<math>\frac{14}{\hat{\lambda }}=560\,\!</math> |

or: | or: | ||

- | ::<math>\hat{\lambda }=0.025\text{ failures/hour}</math> | + | ::<math>\hat{\lambda }=0.025\text{ failures/hour}\,\!</math> |

Using Weibull++: | Using Weibull++: | ||

- | [[Image:Exponential Distribution Example 4 Data.png|center| | + | [[Image:Exponential Distribution Example 4 Data.png|center|700px|]] |

The probability plot is: | The probability plot is: | ||

- | [[Image:Exponential Distribution Example 4 Plot.png|center| | + | [[Image:Exponential Distribution Example 4 Plot.png|center|650px|]] |

==Confidence Bounds== | ==Confidence Bounds== | ||

In this section, we present the methods used in the application to estimate the different types of confidence bounds for exponentially distributed data. The complete derivations were presented in detail (for a general function) in the chapter for [[Confidence Bounds]]. | In this section, we present the methods used in the application to estimate the different types of confidence bounds for exponentially distributed data. The complete derivations were presented in detail (for a general function) in the chapter for [[Confidence Bounds]]. | ||

- | At this time we should point out that exact confidence bounds for the exponential distribution have been derived, and exist in a closed form, utilizing the <math>{{\chi }^{2}}</math> distribution. These are described in detail in [[Appendix: | + | At this time we should point out that exact confidence bounds for the exponential distribution have been derived, and exist in a closed form, utilizing the <math>{{\chi }^{2}}\,\!</math> distribution. These are described in detail in Kececioglu [[Appendix:_Life_Data_Analysis_References|[20]]], and are covered in the section in the [[Reliability Test Design|test design chapter]]. For most exponential data analyses, Weibull++ will use the approximate confidence bounds, provided from the Fisher information matrix or the likelihood ratio, in order to stay consistent with all of the other available distributions in the application. The <math>{{\chi }^{2}}\,\!</math> confidence bounds for the exponential distribution are discussed in more detail in the [[Reliability Test Design|test design chapter]]. |

===Fisher Matrix Bounds=== | ===Fisher Matrix Bounds=== | ||

====Bounds on the Parameters==== | ====Bounds on the Parameters==== | ||

- | For the failure rate <math>\hat{\lambda }</math> the upper (<math>{{\lambda }_{U}}</math>) and lower (<math>{{\lambda }_{L}}</math>) bounds are estimated by [[Appendix: | + | For the failure rate <math>\hat{\lambda }\,\!</math> the upper (<math>{{\lambda }_{U}}\,\!</math>) and lower (<math>{{\lambda }_{L}}\,\!</math>) bounds are estimated by Nelson [[Appendix:_Life_Data_Analysis_References|[30]]]: |

::<math>\begin{align} | ::<math>\begin{align} | ||

Line 286: | Line 285: | ||

& & \\ | & & \\ | ||

& {{\lambda }_{L}}= & \frac{\hat{\lambda }}{{{e}^{\left[ \tfrac{{{K}_{\alpha }}\sqrt{Var(\hat{\lambda })}}{\hat{\lambda }} \right]}}} | & {{\lambda }_{L}}= & \frac{\hat{\lambda }}{{{e}^{\left[ \tfrac{{{K}_{\alpha }}\sqrt{Var(\hat{\lambda })}}{\hat{\lambda }} \right]}}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | where <math>{{K}_{\alpha }}</math> is defined by: | + | where <math>{{K}_{\alpha }}\,\!</math> is defined by: |

- | ::<math>\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})</math> | + | ::<math>\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})\,\!</math> |

- | If <math>\delta </math> is the confidence level, then <math>\alpha =\tfrac{1-\delta }{2}</math> for the two-sided bounds, and <math>\alpha =1-\delta </math> for the one-sided bounds. | + | If <math>\delta \,\!</math> is the confidence level, then <math>\alpha =\tfrac{1-\delta }{2}\,\!</math> for the two-sided bounds, and <math>\alpha =1-\delta \,\!</math> for the one-sided bounds. |

- | + | ||

- | + | The variance of <math>\hat{\lambda },\,\!</math> <math>Var(\hat{\lambda }),\,\!</math> is estimated from the Fisher matrix, as follows: | |

- | + | ::<math>Var(\hat{\lambda })={{\left( -\frac{{{\partial }^{2}}\Lambda }{\partial {{\lambda }^{2}}} \right)}^{-1}}\,\!</math> | |

- | Note that no true MLE solution exists for the case of the two-parameter exponential distribution. The mathematics simply break down while trying to simultaneously solve the partial derivative equations for both the <math>\gamma </math> and <math>\lambda </math> parameters, resulting in unrealistic conditions. The way around this conundrum involves setting <math>\gamma ={{t}_{1}},</math> or the first time-to-failure, and calculating <math>\lambda </math> in the regular fashion for this methodology. Weibull++ treats <math>\gamma </math> as a constant when computing bounds, (i.e., <math>Var(\hat{\gamma })=0</math>). (See the discussion in [[Appendix:_Log-Likelihood_Equations|Appendix D]] for more information.) | + | where <math>\Lambda \,\!</math> is the log-likelihood function of the exponential distribution, described in [[Appendix:_Log-Likelihood_Equations|Appendix D]]. |

+ | |||

+ | Note that no true MLE solution exists for the case of the two-parameter exponential distribution. The mathematics simply break down while trying to simultaneously solve the partial derivative equations for both the <math>\gamma \,\!</math> and <math>\lambda \,\!</math> parameters, resulting in unrealistic conditions. The way around this conundrum involves setting <math>\gamma ={{t}_{1}},\,\!</math> or the first time-to-failure, and calculating <math>\lambda \,\!</math> in the regular fashion for this methodology. Weibull++ treats <math>\gamma \,\!</math> as a constant when computing bounds, (i.e., <math>Var(\hat{\gamma })=0\,\!</math>). (See the discussion in [[Appendix:_Log-Likelihood_Equations|Appendix D]] for more information.) | ||

====Bounds on Reliability==== | ====Bounds on Reliability==== | ||

The reliability of the two-parameter exponential distribution is: | The reliability of the two-parameter exponential distribution is: | ||

- | ::<math>\hat{R}(t;\hat{\lambda })={{e}^{-\hat{\lambda }(t-\hat{\gamma })}}</math> | + | ::<math>\hat{R}(t;\hat{\lambda })={{e}^{-\hat{\lambda }(t-\hat{\gamma })}}\,\!</math> |

The corresponding confidence bounds are estimated from: | The corresponding confidence bounds are estimated from: | ||

Line 311: | Line 311: | ||

& {{R}_{L}}= & {{e}^{-{{\lambda }_{U}}(t-\hat{\gamma })}} \\ | & {{R}_{L}}= & {{e}^{-{{\lambda }_{U}}(t-\hat{\gamma })}} \\ | ||

& {{R}_{U}}= & {{e}^{-{{\lambda }_{L}}(t-\hat{\gamma })}} | & {{R}_{U}}= & {{e}^{-{{\lambda }_{L}}(t-\hat{\gamma })}} | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | These equations hold true for the | + | These equations hold true for the 1-parameter exponential distribution, with <math>\gamma =0\,\!</math>. |

====Bounds on Time==== | ====Bounds on Time==== | ||

The bounds around time for a given exponential percentile, or reliability value, are estimated by first solving the reliability equation with respect to time, or reliable life: | The bounds around time for a given exponential percentile, or reliability value, are estimated by first solving the reliability equation with respect to time, or reliable life: | ||

- | ::<math>\hat{t}=-\frac{1}{{\hat{\lambda }}}\cdot \ln (R)+\hat{\gamma }</math> | + | ::<math>\hat{t}=-\frac{1}{{\hat{\lambda }}}\cdot \ln (R)+\hat{\gamma }\,\!</math> |

The corresponding confidence bounds are estimated from: | The corresponding confidence bounds are estimated from: | ||

Line 325: | Line 325: | ||

& {{t}_{U}}= & -\frac{1}{{{\lambda }_{L}}}\cdot \ln (R)+\hat{\gamma } \\ | & {{t}_{U}}= & -\frac{1}{{{\lambda }_{L}}}\cdot \ln (R)+\hat{\gamma } \\ | ||

& {{t}_{L}}= & -\frac{1}{{{\lambda }_{U}}}\cdot \ln (R)+\hat{\gamma } | & {{t}_{L}}= & -\frac{1}{{{\lambda }_{U}}}\cdot \ln (R)+\hat{\gamma } | ||

- | \end{align}</math> | + | \end{align}\,\!</math> |

- | The same equations apply for the one-parameter exponential with <math>\gamma =0.</math> | + | The same equations apply for the one-parameter exponential with <math>\gamma =0.\,\!</math> |

===Likelihood Ratio Confidence Bounds=== | ===Likelihood Ratio Confidence Bounds=== | ||

====Bounds on Parameters==== | ====Bounds on Parameters==== | ||

- | For one-parameter distributions such as the exponential, the likelihood confidence bounds are calculated by finding values for <math>\theta </math> that satisfy: | + | For one-parameter distributions such as the exponential, the likelihood confidence bounds are calculated by finding values for <math>\theta \,\!</math> that satisfy: |

- | ::<math>-2\cdot \text{ln}\left( \frac{L(\theta )}{L(\hat{\theta })} \right)=\chi _{\alpha ;1}^{2}</math> | + | ::<math>-2\cdot \text{ln}\left( \frac{L(\theta )}{L(\hat{\theta })} \right)=\chi _{\alpha ;1}^{2}\,\!</math> |

This equation can be rewritten as: | This equation can be rewritten as: | ||

- | ::<math>L(\theta )=L(\hat{\theta })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}</math> | + | ::<math>L(\theta )=L(\hat{\theta })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}\,\!</math> |

For complete data, the likelihood function for the exponential distribution is given by: | For complete data, the likelihood function for the exponential distribution is given by: | ||

- | ::<math>L(\lambda )=\underset{i=1}{\overset{N}{\mathop \prod }}\,f({{t}_{i}};\lambda )=\underset{i=1}{\overset{N}{\mathop \prod }}\,\lambda \cdot {{e}^{-\lambda \cdot {{t}_{i}}}}</math> | + | ::<math>L(\lambda )=\underset{i=1}{\overset{N}{\mathop \prod }}\,f({{t}_{i}};\lambda )=\underset{i=1}{\overset{N}{\mathop \prod }}\,\lambda \cdot {{e}^{-\lambda \cdot {{t}_{i}}}}\,\!</math> |

- | where the <math>{{t}_{i}}</math> values represent the original time-to-failure data. For a given value of <math>\alpha </math>, values for <math>\lambda </math> can be found which represent the maximum and minimum values that satisfy the above likelihood ratio equation. These represent the confidence bounds for the parameters at a confidence level <math>\delta ,</math> where <math>\alpha =\delta </math> for two-sided bounds and <math>\alpha =2\delta -1</math> for one-sided. | + | where the <math>{{t}_{i}}\,\!</math> values represent the original time-to-failure data. For a given value of <math>\alpha \,\!</math>, values for <math>\lambda \,\!</math> can be found which represent the maximum and minimum values that satisfy the above likelihood ratio equation. These represent the confidence bounds for the parameters at a confidence level <math>\delta ,\,\!</math> where <math>\alpha =\delta \,\!</math> for two-sided bounds and <math>\alpha =2\delta -1\,\!</math> for one-sided. |

- | ''' | + | =====Example: LR Bounds for Lambda===== |

- | + | Five units are put on a reliability test and experience failures at 20, 40, 60, 100, and 150 hours. Assuming an exponential distribution, the MLE parameter estimate is calculated to be <math>\hat{\lambda }=0.013514\,\!</math>. Calculate the 85% two-sided confidence bounds on these parameters using the likelihood ratio method. | |

+ | |||

+ | '''Solution''' | ||

+ | The first step is to calculate the likelihood function for the parameter estimates: | ||

+ | |||

+ | ::<math>\begin{align} | ||

+ | L(\hat{\lambda })= & \underset{i=1}{\overset{N}{\mathop \prod }}\,f({{x}_{i}};\hat{\lambda })=\underset{i=1}{\overset{N}{\mathop \prod }}\,\hat{\lambda }\cdot {{e}^{-\hat{\lambda }\cdot {{x}_{i}}}} \\ | ||

+ | L(\hat{\lambda })= & \underset{i=1}{\overset{5}{\mathop \prod }}\,0.013514\cdot {{e}^{-0.013514\cdot {{x}_{i}}}} \\ | ||

+ | L(\hat{\lambda })= & 3.03647\times {{10}^{-12}} | ||

+ | \end{align}\,\!</math> | ||

+ | |||

+ | where <math>{{x}_{i}}\,\!</math> are the original time-to-failure data points. We can now rearrange the likelihood ratio equation to the form: | ||

+ | |||

+ | ::<math>L(\lambda )-L(\hat{\lambda })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}=0\,\!</math> | ||

+ | |||

+ | Since our specified confidence level, <math>\delta \,\!</math>, is 85%, we can calculate the value of the chi-squared statistic, <math>\chi _{0.85;1}^{2}=2.072251.\,\!</math> We can now substitute this information into the equation: | ||

+ | |||

+ | ::<math>\begin{align} | ||

+ | L(\lambda )-L(\hat{\lambda })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}= & 0, \\ | ||

+ | L(\lambda )-3.03647\times {{10}^{-12}}\cdot {{e}^{\tfrac{-2.072251}{2}}}= & 0, \\ | ||

+ | L(\lambda )-1.07742\times {{10}^{-12}}= & 0. | ||

+ | \end{align}\,\!</math> | ||

+ | |||

+ | It now remains to find the values of <math>\lambda \,\!</math> which satisfy this equation. Since there is only one parameter, there are only two values of <math>\lambda \,\!</math> that will satisfy the equation. These values represent the <math>\delta =85%\,\!</math> two-sided confidence limits of the parameter estimate <math>\hat{\lambda }\,\!</math>. For our problem, the confidence limits are: | ||

+ | |||

+ | ::<math>\begin{align} | ||

+ | {{\lambda }_{0.85}}=(0.006572,0.024172) | ||

+ | \end{align}\,\!</math> | ||

====Bounds on Time and Reliability==== | ====Bounds on Time and Reliability==== | ||

In order to calculate the bounds on a time estimate for a given reliability, or on a reliability estimate for a given time, the likelihood function needs to be rewritten in terms of one parameter and time/reliability, so that the maximum and minimum values of the time can be observed as the parameter is varied. This can be accomplished by substituting a form of the exponential reliability equation into the likelihood function. The exponential reliability equation can be written as: | In order to calculate the bounds on a time estimate for a given reliability, or on a reliability estimate for a given time, the likelihood function needs to be rewritten in terms of one parameter and time/reliability, so that the maximum and minimum values of the time can be observed as the parameter is varied. This can be accomplished by substituting a form of the exponential reliability equation into the likelihood function. The exponential reliability equation can be written as: | ||

- | ::<math>R={{e}^{-\lambda \cdot t}}</math> | + | ::<math>R={{e}^{-\lambda \cdot t}}\,\!</math> |

This can be rearranged to the form: | This can be rearranged to the form: | ||

- | ::<math>\lambda =\frac{-\text{ln}(R)}{t}</math> | + | ::<math>\lambda =\frac{-\text{ln}(R)}{t}\,\!</math> |

- | This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of <math>t</math> and <math>R:</math> | + | This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of <math>t\,\!</math> and <math>R:\,\!</math> |

- | ::<math>L(t/R)=\underset{i=1}{\overset{N}{\mathop \prod }}\,\left( \frac{-\text{ln}(R)}{t} \right)\cdot {{e}^{\left( \tfrac{\text{ln}(R)}{t} \right)\cdot {{x}_{i}}}}</math> | + | ::<math>L(t/R)=\underset{i=1}{\overset{N}{\mathop \prod }}\,\left( \frac{-\text{ln}(R)}{t} \right)\cdot {{e}^{\left( \tfrac{\text{ln}(R)}{t} \right)\cdot {{x}_{i}}}}\,\!</math> |

- | The unknown parameter <math>t/R</math> depends on what type of bounds are being determined. If one is trying to determine the bounds on time for the equation for the mean and the Bayes's rule equation for single parametera given reliability, then <math>R</math> is a known constant and <math>t</math> is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then <math>t</math> is a known constant and <math>R</math> is the unknown parameter. Either way, the likelihood ratio function can be solved for the values of interest. | + | The unknown parameter <math>t/R\,\!</math> depends on what type of bounds are being determined. If one is trying to determine the bounds on time for the equation for the mean and the Bayes's rule equation for single parametera given reliability, then <math>R\,\!</math> is a known constant and <math>t\,\!</math> is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then <math>t\,\!</math> is a known constant and <math>R\,\!</math> is the unknown parameter. Either way, the likelihood ratio function can be solved for the values of interest. |

- | ''' | + | =====Example: LR Bounds on Time ===== |

- | {{ | + | For the data given above for the [[The_Exponential_Distribution#Example:_LR_Bounds_for_Lambda|LR Bounds on Lambda example]] (five failures at 20, 40, 60, 100 and 150 hours), determine the 85% two-sided confidence bounds on the time estimate for a reliability of 90%. The ML estimate for the time at <math>R(t)=90%\,\!</math> is <math>\hat{t}=7.797\,\!</math>. |

+ | |||

+ | '''Solution''' | ||

+ | |||

+ | In this example, we are trying to determine the 85% two-sided confidence bounds on the time estimate of 7.797. This is accomplished by substituting <math>R=0.90\,\!</math> and <math>\alpha =0.85\,\!</math> into the likelihood ratio bound equation. It now remains to find the values of <math>t\,\!</math> which satisfy this equation. Since there is only one parameter, there are only two values of <math>t\,\!</math> that will satisfy the equation. These values represent the <math>\delta =85%\,\!</math> two-sided confidence limits of the time estimate <math>\hat{t}\,\!</math>. For our problem, the confidence limits are: | ||

+ | |||

+ | ::<math>{{\hat{t}}_{R=0.9}}=(4.359,16.033)\,\!</math> | ||

+ | |||

+ | =====Example: LR Bounds on Reliability===== | ||

+ | Again using the data given above for the [[The_Exponential_Distribution#Example:_LR_Bounds_for_Lambda|LR Bounds on Lambda example]] (five failures at 20, 40, 60, 100 and 150 hours), determine the 85% two-sided confidence bounds on the reliability estimate for a <math>t=50\,\!</math>. The ML estimate for the time at <math>t=50\,\!</math> is <math>\hat{R}=50.881%\,\!</math>. | ||

+ | |||

+ | '''Solution''' | ||

+ | In this example, we are trying to determine the 85% two-sided confidence bounds on the reliability estimate of 50.881%. This is accomplished by substituting <math>t=50\,\!</math> and <math>\alpha =0.85\,\!</math> into the likelihood ratio bound equation. It now remains to find the values of <math>R\,\!</math> which satisfy this equation. Since there is only one parameter, there are only two values of <math>t\,\!</math> that will satisfy the equation. These values represent the <math>\delta =85%\,\!</math> two-sided confidence limits of the reliability estimate <math>\hat{R}\,\!</math>. For our problem, the confidence limits are: | ||

- | + | ::<math>{{\hat{R}}_{t=50}}=(29.861%,71.794%)\,\!</math> | |

- | {{ | + | |

===Bayesian Confidence Bounds=== | ===Bayesian Confidence Bounds=== | ||

====Bounds on Parameters==== | ====Bounds on Parameters==== | ||

- | From [[Confidence Bounds]], we know that the posterior distribution of <math>\lambda </math> can be written as: | + | From [[Confidence Bounds]], we know that the posterior distribution of <math>\lambda \,\!</math> can be written as: |

- | ::<math>f(\lambda |Data)=\frac{L(Data|\lambda )\varphi (\lambda )}{\int_{0}^{\infty }L(Data|\lambda )\varphi (\lambda )d\lambda }</math> | + | ::<math>f(\lambda |Data)=\frac{L(Data|\lambda )\varphi (\lambda )}{\int_{0}^{\infty }L(Data|\lambda )\varphi (\lambda )d\lambda }\,\!</math> |

- | where <math>\varphi (\lambda )=\tfrac{1}{\lambda }</math>, is the non-informative prior of <math>\lambda </math>. | + | where <math>\varphi (\lambda )=\tfrac{1}{\lambda }\,\!</math>, is the non-informative prior of <math>\lambda \,\!</math>. |

- | With the above prior distribution, <math>f(\lambda |Data)</math> can be rewritten as: | + | With the above prior distribution, <math>f(\lambda |Data)\,\!</math> can be rewritten as: |

- | ::<math>f(\lambda |Data)=\frac{L(Data|\lambda )\tfrac{1}{\lambda }}{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }</math> | + | ::<math>f(\lambda |Data)=\frac{L(Data|\lambda )\tfrac{1}{\lambda }}{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }\,\!</math> |

- | The one-sided upper bound of <math>\lambda </math> is: | + | The one-sided upper bound of <math>\lambda \,\!</math> is: |

- | ::<math>CL=P(\lambda \le {{\lambda }_{U}})=\int_{0}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda </math> | + | ::<math>CL=P(\lambda \le {{\lambda }_{U}})=\int_{0}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!</math> |

- | The one-sided lower bound of <math>\lambda </math> is: | + | The one-sided lower bound of <math>\lambda \,\!</math> is: |

- | ::<math>1-CL=P(\lambda \le {{\lambda }_{L}})=\int_{0}^{{{\lambda }_{L}}}f(\lambda |Data)d\lambda </math> | + | ::<math>1-CL=P(\lambda \le {{\lambda }_{L}})=\int_{0}^{{{\lambda }_{L}}}f(\lambda |Data)d\lambda \,\!</math> |

- | The two-sided bounds of <math>\lambda </math> are: | + | The two-sided bounds of <math>\lambda \,\!</math> are: |

- | ::<math>CL=P({{\lambda }_{L}}\le \lambda \le {{\lambda }_{U}})=\int_{{{\lambda }_{L}}}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda </math> | + | ::<math>CL=P({{\lambda }_{L}}\le \lambda \le {{\lambda }_{U}})=\int_{{{\lambda }_{L}}}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!</math> |

====Bounds on Time (Type 1)==== | ====Bounds on Time (Type 1)==== | ||

The reliable life equation is: | The reliable life equation is: | ||

- | ::<math>t=\frac{-\ln R}{\lambda }</math> | + | ::<math>t=\frac{-\ln R}{\lambda }\,\!</math> |

For the one-sided upper bound on time we have: | For the one-sided upper bound on time we have: | ||

- | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(t\le {{T}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{\lambda }\le {{T}_{U}})</math> | + | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(t\le {{T}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{\lambda }\le {{T}_{U}})\,\!</math> |

- | The above equation can be rewritten in terms of <math>\lambda </math> as: | + | The above equation can be rewritten in terms of <math>\lambda \,\!</math> as: |

- | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{{{t}_{U}}}\le \lambda )</math> | + | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{{{t}_{U}}}\le \lambda )\,\!</math> |

From the above posterior distribuiton equation, we have: | From the above posterior distribuiton equation, we have: | ||

- | ::<math>CL=\frac{\int_{\tfrac{-\ln R}{{{t}_{U}}}}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }</math> | + | ::<math>CL=\frac{\int_{\tfrac{-\ln R}{{{t}_{U}}}}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }\,\!</math> |

- | The above equation is solved w.r.t. <math>{{t}_{U}}.</math> The same method is applied for one-sided lower and two-sided bounds on time. | + | The above equation is solved w.r.t. <math>{{t}_{U}}.\,\!</math> The same method is applied for one-sided lower and two-sided bounds on time. |

====Bounds on Reliability (Type 2)==== | ====Bounds on Reliability (Type 2)==== | ||

The one-sided upper bound on reliability is given by: | The one-sided upper bound on reliability is given by: | ||

- | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(R\le {{R}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\exp (-\lambda t)\le {{R}_{U}})</math> | + | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(R\le {{R}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\exp (-\lambda t)\le {{R}_{U}})\,\!</math> |

- | The above equaation can be rewritten in terms of <math>\lambda </math> as: | + | The above equaation can be rewritten in terms of <math>\lambda \,\!</math> as: |

- | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln {{R}_{U}}}{t}\le \lambda )</math> | + | ::<math>CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln {{R}_{U}}}{t}\le \lambda )\,\!</math> |

From the equation for posterior distribution we have: | From the equation for posterior distribution we have: | ||

- | ::<math>CL=\frac{\int_{\tfrac{-\ln {{R}_{U}}}{t}}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }</math> | + | ::<math>CL=\frac{\int_{\tfrac{-\ln {{R}_{U}}}{t}}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }\,\!</math> |

- | + | ||

- | + | ||

- | + | ||

- | |||

- | |||

- | |||

+ | The above equation is solved w.r.t. <math>{{R}_{U}}.\,\!</math> The same method can be used to calculate one-sided lower and two sided bounds on reliability. | ||

- | + | ==Exponential Distribution Examples== | |

- | {{ | + | {{:Exponential Distribution Examples}} |

## Current revision as of 20:04, 24 July 2017

The exponential distribution is a commonly used distribution in reliability engineering. Mathematically, it is a fairly simple distribution, which many times leads to its use in inappropriate situations. It is, in fact, a special case of the Weibull distribution where . The exponential distribution is used to model the behavior of units that have a constant failure rate (or units that do not degrade with time or wear out).

## Exponential Probability Density Function

### The 2-Parameter Exponential Distribution

The 2-parameter exponential *pdf* is given by:

where is the location parameter. Some of the characteristics of the 2-parameter exponential distribution are discussed in Kececioglu [19]:

- The location parameter, , if positive, shifts the beginning of the distribution by a distance of to the right of the origin, signifying that the chance failures start to occur only after hours of operation, and cannot occur before.
- The scale parameter is .
- The exponential
*pdf*has no shape parameter, as it has only one shape. - The distribution starts at at the level of and decreases thereafter exponentially and monotonically as increases beyond and is convex.
- As , .

### The 1-Parameter Exponential Distribution

The 1-parameter exponential *pdf* is obtained by setting , and is given by:

where:

- = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.)

- = mean time between failures, or to failure
- = operating time, life, or age, in hours, cycles, miles, actuations, etc.

This distribution requires the knowledge of only one parameter, , for its application. Some of the characteristics of the 1-parameter exponential distribution are discussed in Kececioglu [19]:

- The location parameter, , is zero.
- The scale parameter is .
- As is decreased in value, the distribution is stretched out to the right, and as is increased, the distribution is pushed toward the origin.
- This distribution has no shape parameter as it has only one shape, (i.e., the exponential, and the only parameter it has is the failure rate, ).
- The distribution starts at at the level of and decreases thereafter exponentially and monotonically as increases, and is convex.
- As , .
- The
*pdf*can be thought of as a special case of the Weibull*pdf*with and .

## Exponential Distribution Functions

### The Mean or MTTF

The mean, or mean time to failure (MTTF) is given by:

Note that when , the MTTF is the inverse of the exponential distribution's constant failure rate. This is only true for the exponential distribution. Most other distributions do not have a constant failure rate. Consequently, the inverse relationship between failure rate and MTTF does not hold for these other distributions.

### The Median

The median, is:

### The Mode

The mode, is:

### The Standard Deviation

The standard deviation, , is:

### The Exponential Reliability Function

The equation for the 2-parameter exponential cumulative density function, or *cdf*, is given by:

Recalling that the reliability function of a distribution is simply one minus the *cdf*, the reliability function of the 2-parameter exponential distribution is given by:

The 1-parameter exponential reliability function is given by:

### The Exponential Conditional Reliability Function

The exponential conditional reliability equation gives the reliability for a mission of duration, having already successfully accumulated hours of operation up to the start of this new mission. The exponential conditional reliability function is:

which says that the reliability for a mission of duration undertaken after the component or equipment has already accumulated hours of operation from age zero is only a function of the mission duration, and not a function of the age at the beginning of the mission. This is referred to as the *memoryless property*.

### The Exponential Reliable Life Function

The reliable life, or the mission duration for a desired reliability goal, , for the 1-parameter exponential distribution is:

or:

### The Exponential Failure Rate Function

The exponential failure rate function is:

Once again, note that the constant failure rate is a characteristic of the exponential distribution, and special cases of other distributions only. Most other distributions have failure rates that are functions of time.

## Characteristics of the Exponential Distribution

The primary trait of the exponential distribution is that it is used for modeling the behavior of items with a constant failure rate. It has a fairly simple mathematical form, which makes it fairly easy to manipulate. Unfortunately, this fact also leads to the use of this model in situations where it is not appropriate. For example, it would not be appropriate to use the exponential distribution to model the reliability of an automobile. The constant failure rate of the exponential distribution would require the assumption that the automobile would be just as likely to experience a breakdown during the first mile as it would during the one-hundred-thousandth mile. Clearly, this is not a valid assumption. However, some inexperienced practitioners of reliability engineering and life data analysis will overlook this fact, lured by the siren-call of the exponential distribution's relatively simple mathematical models.

### The Effect of lambda and gamma on the Exponential *pdf*

- The exponential
*pdf*has no shape parameter, as it has only one shape. - The exponential
*pdf*is always convex and is stretched to the right as decreases in value. - The value of the
*pdf*function is always equal to the value of at (or ). - The location parameter, , if positive, shifts the beginning of the distribution by a distance of to the right of the origin, signifying that the chance failures start to occur only after hours of operation, and cannot occur before this time.
- The scale parameter is .
- As , .

- The exponential

### The Effect of lambda and gamma on the Exponential Reliability Function

- The 1-parameter exponential reliability function starts at the value of 100% at , decreases thereafter monotonically and is convex.
- The 2-parameter exponential reliability function remains at the value of 100% for up to , and decreases thereafter monotonically and is convex.
- As , .
- The reliability for a mission duration of , or of one MTTF duration, is always equal to or 36.79%. This means that the reliability for a mission which is as long as one MTTF is relatively low and is not recommended because only 36.8% of the missions will be completed successfully. In other words, of the equipment undertaking such a mission, only 36.8% will survive their mission.

### The Effect of lambda and gamma on the Failure Rate Function

- The 1-parameter exponential failure rate function is constant and starts at .
- The 2-parameter exponential failure rate function remains at the value of 0 for up to , and then keeps at the constant value of .

## Estimation of the Exponential Parameters

### Probability Plotting

Estimation of the parameters for the exponential distribution via probability plotting is very similar to the process used when dealing with the Weibull distribution. Recall, however, that the appearance of the probability plotting paper and the methods by which the parameters are estimated vary from distribution to distribution, so there will be some noticeable differences. In fact, due to the nature of the exponential *cdf*, the exponential probability plot is the only one with a negative slope. This is because the y-axis of the exponential probability plotting paper represents the reliability, whereas the y-axis for most of the other life distributions represents the unreliability.

This is illustrated in the process of linearizing the *cdf*, which is necessary to construct the exponential probability plotting paper. For the two-parameter exponential distribution the cumulative density function is given by:

Taking the natural logarithm of both sides of the above equation yields:

or:

Now, let:

and:

which results in the linear equation of:

Note that with the exponential probability plotting paper, the y-axis scale is logarithmic and the x-axis scale is linear. This means that the zero value is present only on the x-axis. For , and . So if we were to use for the y-axis, we would have to plot the point . However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, , is the negative of the slope of the line, but there is an easier way to determine the value of from the probability plot, as will be illustrated in the following example.

#### Plotting Example

**1-Parameter Exponential Probability Plot Example**

6 units are put on a life test and tested to failure. The failure times are 7, 12, 19, 29, 41, and 67 hours. Estimate the failure rate for a 1-parameter exponential distribution using the probability plotting method.

In order to plot the points for the probability plot, the appropriate reliability estimate values must be obtained. These will be equivalent to since the y-axis represents the reliability and the values represent unreliability estimates.

Next, these points are plotted on an exponential probability plotting paper. A sample of this type of plotting paper is shown next, with the sample points in place. Notice how these points describe a line with a negative slope.

Once the points are plotted, draw the best possible straight line through these points. The time value at which this line intersects with a horizontal line drawn at the 36.8% reliability mark is the mean life, and the reciprocal of this is the failure rate . This is because at :

The following plot shows that the best-fit line through the data points crosses the line at hours. And because hours, failures/hour.

### Rank Regression on Y

Performing a rank regression on Y requires that a straight line be fitted to the set of available data points such that the sum of the squares of the vertical deviations from the points to the line is minimized. The least squares parameter estimation method (regression analysis) was discussed in Parameter Estimation, and the following equations for rank regression on Y (RRY) were derived:

and:

In our case, the equations for and are:

and:

and the is estimated from the median ranks. Once and are obtained, then and can easily be obtained from above equations.
For the one-parameter exponential, equations for estimating *a* and *b* become:

**The Correlation Coefficient**

The estimator of is the sample correlation coefficient, , given by:

#### RRY Example

**2-Parameter Exponential RRY Example**

14 units were being reliability tested and the following life test data were obtained. Assuming that the data follow a 2-parameter exponential distribution, estimate the parameters and determine the correlation coefficient, , using rank regression on Y (RRY).

Life Test Data | |
---|---|

Data point index | Time-to-failure |

1 | 5 |

2 | 10 |

3 | 15 |

4 | 20 |

5 | 25 |

6 | 30 |

7 | 35 |

8 | 40 |

9 | 50 |

10 | 60 |

11 | 70 |

12 | 80 |

13 | 90 |

14 | 100 |

**Solution**

Construct the following table, as shown next.

The median rank values ( ) can be found in rank tables or they can be estimated using the **Quick Statistical Reference** in Weibull++.
Given the values in the table above, calculate and :

or:

and:

or:

Therefore:

and:

or:

Then:

The correlation coefficient can be estimated using equation for calculating the correlation coefficient:

This example can be repeated using Weibull++, choosing 2-parameter exponential and rank regression on Y (RRY), as shown next.

The estimated parameters and the correlation coefficient using Weibull++ were found to be:

Please note that the user must deselect the **Reset if location parameter > T1 on Exponential** option on the Calculations page of the Application Setup window.

The probability plot can be obtained simply by clicking the **Plot** icon.

### Rank Regression on X

Similar to rank regression on Y, performing a rank regression on X requires that a straight line be fitted to a set of data points such that the sum of the squares of the horizontal deviations from the points to the line is minimized.

Again the first task is to bring our exponential *cdf* function into a linear form. This step is exactly the same as in regression on Y analysis. The deviation from the previous analysis begins on the least squares fit step, since in this case we treat as the dependent variable and as the independent variable. The best-fitting straight line to the data, for regression on X (see Parameter Estimation), is the straight line:

The corresponding equations for and are:

and:

where:

and:

The values of are estimated from the median ranks. Once and are obtained, solve for the unknown value, which corresponds to:

Solving for the parameters from above equations we get:

and:

For the one-parameter exponential case, equations for estimating a and b become:

The correlation coefficient is evaluated as before.

#### RRX Example

**2-Parameter Exponential RRX Example**

Using the same data set from the RRY example above and assuming a 2-parameter exponential distribution, estimate the parameters and determine the correlation coefficient estimate, , using rank regression on X.

** Solution**

The table constructed for the RRY analysis applies to this example also. Using the values from this table, we get:

or:

and:

or:

Therefore:

and:

The correlation coefficient is found to be:

Note that the equation for regression on Y is not necessarily the same as that for the regression on X. The only time when the two regression methods yield identical results is when the data lie perfectly on a line. If this were the case, the correlation coefficient would be . The negative value of the correlation coefficient is due to the fact that the slope of the exponential probability plot is negative.

This example can be repeated using Weibull++, choosing two-parameter exponential and rank regression on X (RRX) methods for analysis, as shown below. The estimated parameters and the correlation coefficient using Weibull++ were found to be:

The probability plot can be obtained simply by clicking the **Plot** icon.

### Maximum Likelihood Estimation

As outlined in Parameter Estimation, maximum likelihood estimation works by developing a likelihood function based on the available data and finding the values of the parameter estimates that maximize the likelihood function. This can be achieved by using iterative methods to determine the parameter estimate values that maximize the likelihood function. This can be rather difficult and time-consuming, particularly when dealing with the three-parameter distribution. Another method of finding the parameter estimates involves taking the partial derivatives of the likelihood equation with respect to the parameters, setting the resulting equations equal to zero, and solving simultaneously to determine the values of the parameter estimates. The log-likelihood functions and associated partial derivatives used to determine maximum likelihood estimates for the exponential distribution are covered in Appendix D.

#### MLE Example

**MLE for the Exponential Distribution**

Using the same data set from the RRY and RRX examples above and assuming a 2-parameter exponential distribution, estimate the parameters using the MLE method.

**Solution**

In this example, we have complete data only. The partial derivative of the log-likelihood function, is given by:

Complete descriptions of the partial derivatives can be found in Appendix D. Recall that when using the MLE method for the exponential distribution, the value of is equal to that of the first failure time. The first failure occurred at 5 hours, thus hours Substituting the values for and we get:

or:

Using Weibull++:

The probability plot is:

## Confidence Bounds

In this section, we present the methods used in the application to estimate the different types of confidence bounds for exponentially distributed data. The complete derivations were presented in detail (for a general function) in the chapter for Confidence Bounds. At this time we should point out that exact confidence bounds for the exponential distribution have been derived, and exist in a closed form, utilizing the distribution. These are described in detail in Kececioglu [20], and are covered in the section in the test design chapter. For most exponential data analyses, Weibull++ will use the approximate confidence bounds, provided from the Fisher information matrix or the likelihood ratio, in order to stay consistent with all of the other available distributions in the application. The confidence bounds for the exponential distribution are discussed in more detail in the test design chapter.

### Fisher Matrix Bounds

#### Bounds on the Parameters

For the failure rate the upper () and lower () bounds are estimated by Nelson [30]:

where is defined by:

If is the confidence level, then for the two-sided bounds, and for the one-sided bounds.

The variance of is estimated from the Fisher matrix, as follows:

where is the log-likelihood function of the exponential distribution, described in Appendix D.

Note that no true MLE solution exists for the case of the two-parameter exponential distribution. The mathematics simply break down while trying to simultaneously solve the partial derivative equations for both the and parameters, resulting in unrealistic conditions. The way around this conundrum involves setting or the first time-to-failure, and calculating in the regular fashion for this methodology. Weibull++ treats as a constant when computing bounds, (i.e., ). (See the discussion in Appendix D for more information.)

#### Bounds on Reliability

The reliability of the two-parameter exponential distribution is:

The corresponding confidence bounds are estimated from:

These equations hold true for the 1-parameter exponential distribution, with .

#### Bounds on Time

The bounds around time for a given exponential percentile, or reliability value, are estimated by first solving the reliability equation with respect to time, or reliable life:

The corresponding confidence bounds are estimated from:

The same equations apply for the one-parameter exponential with

### Likelihood Ratio Confidence Bounds

#### Bounds on Parameters

For one-parameter distributions such as the exponential, the likelihood confidence bounds are calculated by finding values for that satisfy:

This equation can be rewritten as:

For complete data, the likelihood function for the exponential distribution is given by:

where the values represent the original time-to-failure data. For a given value of , values for can be found which represent the maximum and minimum values that satisfy the above likelihood ratio equation. These represent the confidence bounds for the parameters at a confidence level where for two-sided bounds and for one-sided.

##### Example: LR Bounds for Lambda

Five units are put on a reliability test and experience failures at 20, 40, 60, 100, and 150 hours. Assuming an exponential distribution, the MLE parameter estimate is calculated to be . Calculate the 85% two-sided confidence bounds on these parameters using the likelihood ratio method.

**Solution**

The first step is to calculate the likelihood function for the parameter estimates:

where are the original time-to-failure data points. We can now rearrange the likelihood ratio equation to the form:

Since our specified confidence level, , is 85%, we can calculate the value of the chi-squared statistic, We can now substitute this information into the equation:

It now remains to find the values of which satisfy this equation. Since there is only one parameter, there are only two values of that will satisfy the equation. These values represent the two-sided confidence limits of the parameter estimate . For our problem, the confidence limits are:

#### Bounds on Time and Reliability

In order to calculate the bounds on a time estimate for a given reliability, or on a reliability estimate for a given time, the likelihood function needs to be rewritten in terms of one parameter and time/reliability, so that the maximum and minimum values of the time can be observed as the parameter is varied. This can be accomplished by substituting a form of the exponential reliability equation into the likelihood function. The exponential reliability equation can be written as:

This can be rearranged to the form:

This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of and

The unknown parameter depends on what type of bounds are being determined. If one is trying to determine the bounds on time for the equation for the mean and the Bayes's rule equation for single parametera given reliability, then is a known constant and is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then is a known constant and is the unknown parameter. Either way, the likelihood ratio function can be solved for the values of interest.

##### Example: LR Bounds on Time

For the data given above for the LR Bounds on Lambda example (five failures at 20, 40, 60, 100 and 150 hours), determine the 85% two-sided confidence bounds on the time estimate for a reliability of 90%. The ML estimate for the time at is .

**Solution**

In this example, we are trying to determine the 85% two-sided confidence bounds on the time estimate of 7.797. This is accomplished by substituting and into the likelihood ratio bound equation. It now remains to find the values of which satisfy this equation. Since there is only one parameter, there are only two values of that will satisfy the equation. These values represent the two-sided confidence limits of the time estimate . For our problem, the confidence limits are:

##### Example: LR Bounds on Reliability

Again using the data given above for the LR Bounds on Lambda example (five failures at 20, 40, 60, 100 and 150 hours), determine the 85% two-sided confidence bounds on the reliability estimate for a . The ML estimate for the time at is .

**Solution**

In this example, we are trying to determine the 85% two-sided confidence bounds on the reliability estimate of 50.881%. This is accomplished by substituting and into the likelihood ratio bound equation. It now remains to find the values of which satisfy this equation. Since there is only one parameter, there are only two values of that will satisfy the equation. These values represent the two-sided confidence limits of the reliability estimate . For our problem, the confidence limits are:

### Bayesian Confidence Bounds

#### Bounds on Parameters

From Confidence Bounds, we know that the posterior distribution of can be written as:

where , is the non-informative prior of .

With the above prior distribution, can be rewritten as:

The one-sided upper bound of is:

The one-sided lower bound of is:

The two-sided bounds of are:

#### Bounds on Time (Type 1)

The reliable life equation is:

For the one-sided upper bound on time we have:

The above equation can be rewritten in terms of as:

From the above posterior distribuiton equation, we have:

The above equation is solved w.r.t. The same method is applied for one-sided lower and two-sided bounds on time.

#### Bounds on Reliability (Type 2)

The one-sided upper bound on reliability is given by:

The above equaation can be rewritten in terms of as:

From the equation for posterior distribution we have:

The above equation is solved w.r.t. The same method can be used to calculate one-sided lower and two sided bounds on reliability.

## Exponential Distribution Examples

### Grouped Data

20 units were reliability tested with the following results:

Table - Life Test Data
| |

Number of Units in Group | Time-to-Failure |
---|---|

7 | 100 |

5 | 200 |

3 | 300 |

2 | 400 |

1 | 500 |

2 | 600 |

1. Assuming a 2-parameter exponential distribution, estimate the parameters by hand using the MLE analysis method.

2. Repeat the above using Weibull++. (Enter the data as grouped data to duplicate the results.)

3. Show the Probability plot for the analysis results.

4. Show the Reliability vs. Time plot for the results.

5. Show the *pdf* plot for the results.

6. Show the Failure Rate vs. Time plot for the results.

7. Estimate the parameters using the rank regression on Y (RRY) analysis method (and using grouped ranks).

**Solution**

1. For the 2-parameter exponential distribution and for hours (first failure), the partial of the log-likelihood function, , becomes:

2. Enter the data in a Weibull++ standard folio and calculate it as shown next.

3. On the Plot page of the folio, the exponential Probability plot will appear as shown next.

4. View the Reliability vs. Time plot.

5. View the *pdf* plot.

6. View the Failure Rate vs. Time plot.

Note that, as described at the beginning of this chapter, the failure rate for the exponential distribution is constant. Also note that the Failure Rate vs. Time plot does show values for times before the location parameter, , at 100 hours.

7. In the case of grouped data, one must be cautious when estimating the parameters using a rank regression method. This is because the median rank values are determined from the total number of failures observed by time where indicates the group number. In this example, the total number of groups is and the total number of units is . Thus, the median rank values will be estimated for 20 units and for the total failed units () up to the group, for the rank value. The median ranks values can be found from rank tables or they can be estimated using ReliaSoft's Quick Statistical Reference tool.

For example, the median rank value of the fourth group will be the rank out of a sample size of twenty units (or 81.945%).

The following table is then constructed.

Given the values in the table above, calculate and :

or:

and:

or:

Therefore:

and:

or:

Then:

Using Weibull++, the estimated parameters are:

The small difference in the values from Weibull++ is due to rounding. In the application, the calculations and the rank values are carried out up to the decimal point.

### Using Auto Batch Run

A number of leukemia patients were treated with either drug 6MP or a placebo, and the times in weeks until cancer symptoms returned were recorded. Analyze each treatment separately [21, p.175].

Table - Leukemia Treatment Results
| |||

Time (weeks) | Number of Patients | Treament | Comments |
---|---|---|---|

1 | 2 | placebo | |

2 | 2 | placebo | |

3 | 1 | placebo | |

4 | 2 | placebo | |

5 | 2 | placebo | |

6 | 4 | 6MP | 3 patients completed |

7 | 1 | 6MP | |

8 | 4 | placebo | |

9 | 1 | 6MP | Not completed |

10 | 2 | 6MP | 1 patient completed |

11 | 2 | placebo | |

11 | 1 | 6MP | Not completed |

12 | 2 | placebo | |

13 | 1 | 6MP | |

15 | 1 | placebo | |

16 | 1 | 6MP | |

17 | 1 | placebo | |

17 | 1 | 6MP | Not completed |

19 | 1 | 6MP | Not completed |

20 | 1 | 6MP | Not completed |

22 | 1 | placebo | |

22 | 1 | 6MP | |

23 | 1 | placebo | |

23 | 1 | 6MP | |

25 | 1 | 6MP | Not completed |

32 | 2 | 6MP | Not completed |

34 | 1 | 6MP | Not completed |

35 | 1 | 6MP | Not completed |

Create a new Weibull++ standard folio that's configured for grouped times-to-failure data with suspensions. In the first column, enter the number of patients. Whenever there are uncompleted tests, enter the number of patients who completed the test separately from the number of patients who did not (e.g., if 4 patients had symptoms return after 6 weeks and only 3 of them completed the test, then enter 1 in one row and 3 in another). In the second column enter F if the patients completed the test and S if they didn't. In the third column enter the time, and in the fourth column (Subset ID) specify whether the 6MP drug or a placebo was used.

Next, open the Batch Auto Run utility and select to separate the 6MP drug from the placebo, as shown next.

The software will create two data sheets, one for each subset ID, as shown next.

Calculate both data sheets using the 2-parameter exponential distribution and the MLE analysis method, then insert an additional plot and select to show the analysis results for both data sheets on that plot, which will appear as shown next.