# The Exponential Distribution

(Difference between revisions)
 Revision as of 08:30, 10 August 2012 (view source) (→Example)← Older edit Current revision as of 20:04, 24 July 2017 (view source)m (→The 2-Parameter Exponential Distribution) (33 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 $\beta =1$. 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 $\beta =1\,\!$. 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: - ::$f(t)=\lambda {{e}^{-\lambda (t-\gamma )}},f(t)\ge 0,\lambda >0,t\ge 0\text{ or }\gamma$ + ::$f(t)=\lambda {{e}^{-\lambda (t-\gamma )}},f(t)\ge 0,\lambda >0,t\ge \gamma \,\!$ - where $\gamma$ is the location parameter. + where $\gamma \,\!$ is the location parameter. - Some of the characteristics of the 2-parameter exponential distribution are [[Appendix: Weibull References| + Some of the characteristics of the 2-parameter exponential distribution are discussed in Kececioglu [[Appendix:_Life_Data_Analysis_References|[19]]]: - [19]]]: + *The location parameter, $\gamma \,\!$, if positive, shifts the beginning of the distribution by a distance of $\gamma \,\!$ to the right of the origin, signifying that the chance failures start to occur only after $\gamma \,\!$ hours of operation, and cannot occur before. - #The location parameter, $\gamma$, if positive, shifts the beginning of the distribution by a distance of $\gamma$ to the right of the origin, signifying that the chance failures start to occur only after $\gamma$ hours of operation, and cannot occur before. + *The scale parameter is $\tfrac{1}{\lambda }=\bar{t}-\gamma =m-\gamma \,\!$. - #The scale parameter is $\tfrac{1}{\lambda }=\bar{t}-\gamma =m-\gamma$. + *The exponential ''pdf'' has no shape parameter, as it has only one shape. - #The exponential $pdf$ has no shape parameter, as it has only one shape. + *The distribution starts at $t=\gamma \,\!$ at the level of $f(t=\gamma )=\lambda \,\!$ and decreases thereafter exponentially and monotonically as $t\,\!$ increases beyond $\gamma \,\!$ and is convex. - #The distribution starts at $t=\gamma$ at the level of $f(t=\gamma )=\lambda$ and decreases thereafter exponentially and monotonically as $t$ increases beyond $\gamma$ and is convex. + *As $t\to \infty \,\!$, $f(t)\to 0\,\!$. - #As $t\to \infty$, $f(t)\to 0$. + ===The 1-Parameter Exponential Distribution=== ===The 1-Parameter Exponential Distribution=== - The 1-parameter exponential $pdf$ is obtained by setting $\gamma =0$, and is given by: + The 1-parameter exponential ''pdf'' is obtained by setting $\gamma =0\,\!$, and is given by: ::\begin{align}f(t)= & \lambda {{e}^{-\lambda t}}=\frac{1}{m}{{e}^{-\tfrac{1}{m}t}}, ::[itex] \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} - + \,\![/itex] where: where: Line 29: Line 28: ::$\lambda \,\!$ = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.) ::$\lambda \,\!$ = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.) - ::$\lambda =\frac{1}{m}$ + ::$\lambda =\frac{1}{m}\,\!$ ::$m\,\!$ = mean time between failures, or to failure ::$m\,\!$ = mean time between failures, or to failure ::$t\,\!$ = operating time, life, or age, in hours, cycles, miles, actuations, etc. ::$t\,\!$ = operating time, life, or age, in hours, cycles, miles, actuations, etc. - This distribution requires the knowledge of only one parameter, $\lambda$, for its application. Some of the characteristics of the 1-parameter exponential distribution are [[Appendix: Weibull References| + This distribution requires the knowledge of only one parameter, $\lambda \,\!$, 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, $\gamma \,\!$, is zero. *The location parameter, $\gamma \,\!$, is zero. - *The scale parameter is $\tfrac{1}{\lambda }=m$. + *The scale parameter is $\tfrac{1}{\lambda }=m\,\!$. - *As $\lambda$ is decreased in value, the distribution is stretched out to the right, and as $\lambda$ is increased, the distribution is pushed toward the origin. + *As $\lambda \,\!$ is decreased in value, the distribution is stretched out to the right, and as $\lambda \,\!$ 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, $\lambda \,\!$). *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, $\lambda \,\!$). - *The distribution starts at $t=0\,\!$ at the level of $f(t=0)=\lambda \,\!$ and decreases thereafter exponentially and monotonically as $t$ increases, and is convex. + *The distribution starts at $t=0\,\!$ at the level of $f(t=0)=\lambda \,\!$ and decreases thereafter exponentially and monotonically as $t\,\!$ increases, and is convex. - *As $t\to \infty$ , $f(t)\to 0$. + *As $t\to \infty \,\!$, $f(t)\to 0\,\!$. - *The $pdf$ can be thought of as a special case of the Weibull $pdf$ with $\gamma =0\,\!$ and $\beta =1\,\!$. + *The ''pdf'' can be thought of as a special case of the Weibull ''pdf'' with $\gamma =0\,\!$ and $\beta =1\,\!$. ==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 $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. + 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: + 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: ::\begin{align} ::[itex]\begin{align} F(t)=1-{{e}^{-\lambda (t-\gamma )}} F(t)=1-{{e}^{-\lambda (t-\gamma )}} - \end{align} + \end{align}\,\![/itex] Taking the natural logarithm of both sides of the above equation yields: Taking the natural logarithm of both sides of the above equation yields: - ::$\ln \left[ 1-F(t) \right]=-\lambda (t-\gamma )$ + ::$\ln \left[ 1-F(t) \right]=-\lambda (t-\gamma )\,\!$ or: or: Line 67: Line 65: ::\begin{align} ::[itex]\begin{align} \ln [1-F(t)]=\lambda \gamma -\lambda t \ln [1-F(t)]=\lambda \gamma -\lambda t - \end{align} + \end{align}\,\![/itex] Now, let: Now, let: Line 73: Line 71: ::\begin{align} ::[itex]\begin{align} y=\ln [1-F(t)] y=\ln [1-F(t)] - \end{align} + \end{align}\,\![/itex] ::\begin{align} ::[itex]\begin{align} a=\lambda \gamma a=\lambda \gamma - \end{align} + \end{align}\,\![/itex] and: and: Line 83: Line 81: ::\begin{align} ::[itex]\begin{align} b=-\lambda b=-\lambda - \end{align} + \end{align}\,\![/itex] which results in the linear equation of: which results in the linear equation of: Line 89: Line 87: ::\begin{align} ::[itex]\begin{align} y=a+bt y=a+bt - \end{align} + \end{align}\,\![/itex] - 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 $t=0$, $R=1$ and $F(t)=0$. So if we were to use $F(t)$ for the y-axis, we would have to plot the point $(0,0)$. However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, $\lambda$, is the negative of the slope of the line, but there is an easier way to determine the value of $\lambda$ 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 $t=0\,\!$, $R=1\,\!$ and $F(t)=0\,\!$. So if we were to use $F(t)\,\!$ for the y-axis, we would have to plot the point $(0,0)\,\!$. However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, $\lambda \,\!$, is the negative of the slope of the line, but there is an easier way to determine the value of $\lambda \,\!$ from the probability plot, as will be illustrated in the following example. - ====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: - ::$\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}$ + ::$\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}\,\!$ and: and: - ::$\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}}$ + ::$\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}}\,\!$ - In our case, the equations for ${{y}_{i}}$ and ${{x}_{i}}$ are: + In our case, the equations for ${{y}_{i}}\,\!$ and ${{x}_{i}}\,\!$ are: ::\begin{align} ::[itex]\begin{align} {{y}_{i}}=\ln [1-F({{t}_{i}})] {{y}_{i}}=\ln [1-F({{t}_{i}})] - \end{align} + \end{align}\,\![/itex] and: and: Line 115: Line 113: ::\begin{align} ::[itex]\begin{align} {{x}_{i}}={{t}_{i}} {{x}_{i}}={{t}_{i}} - \end{align} + \end{align}\,\![/itex] - and the $F({{t}_{i}})$ is estimated from the median ranks. Once $\hat{a}$ and $\hat{b}$ are obtained, then $\hat{\lambda }$ and $\hat{\gamma }$ can easily be obtained from above equations. + and the $F({{t}_{i}})\,\!$ is estimated from the median ranks. Once $\hat{a}\,\!$ and $\hat{b}\,\!$ are obtained, then $\hat{\lambda }\,\!$ and $\hat{\gamma }\,\!$ 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}[/itex] + \end{align}\,\![/itex] '''The Correlation Coefficient''' '''The Correlation Coefficient''' - The estimator of $\rho$ is the sample correlation coefficient, $\hat{\rho }$, given by: - ::$\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}}}}$ + The estimator of $\rho \,\!$ is the sample correlation coefficient, $\hat{\rho }\,\!$, given by: + + ::$\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}}}}\,\!$ ====RRY Example==== ====RRY Example==== 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 $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 $x$ as the dependent variable and $y$ as the independent variable. The best-fitting straight line to the data, for regression on X (see [[Parameter Estimation]]), is the straight line: + 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 $x\,\!$ as the dependent variable and $y\,\!$ as the independent variable. The best-fitting straight line to the data, for regression on X (see [[Parameter Estimation]]), is the straight line: - ::$x=\hat{a}+\hat{b}y$ + ::$x=\hat{a}+\hat{b}y\,\!$ - The corresponding equations for $\hat{a}$ and $\hat{b}$ are: + The corresponding equations for $\hat{a}\,\!$ and $\hat{b}\,\!$ are: - ::$\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}$ + ::$\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}\,\!$ and: and: - ::$\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}}$ + ::$\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}}\,\!$ where: where: Line 152: Line 151: ::\begin{align} ::[itex]\begin{align} {{y}_{i}}=\ln [1-F({{t}_{i}})] {{y}_{i}}=\ln [1-F({{t}_{i}})] - \end{align} + \end{align}\,\![/itex] and: and: Line 158: Line 157: ::\begin{align} ::[itex]\begin{align} {{x}_{i}}={{t}_{i}} {{x}_{i}}={{t}_{i}} - \end{align} + \end{align}\,\![/itex] - The values of $F({{t}_{i}})$ are estimated from the median ranks. Once $\hat{a}$ and $\hat{b}$ are obtained, solve for the unknown $y$ value, which corresponds to: + The values of $F({{t}_{i}})\,\!$ are estimated from the median ranks. Once $\hat{a}\,\!$ and $\hat{b}\,\!$ are obtained, solve for the unknown $y\,\!$ value, which corresponds to: - ::$y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x$ + ::$y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x\,\!$ Solving for the parameters from above equations we get: Solving for the parameters from above equations we get: - ::$a=-\frac{\hat{a}}{\hat{b}}=\lambda \gamma \Rightarrow \gamma =\hat{a}$ + ::$a=-\frac{\hat{a}}{\hat{b}}=\lambda \gamma \Rightarrow \gamma =\hat{a}\,\!$ and: and: - ::$b=\frac{1}{\hat{b}}=-\lambda \Rightarrow \lambda =-\frac{1}{\hat{b}}$ + ::$b=\frac{1}{\hat{b}}=-\lambda \Rightarrow \lambda =-\frac{1}{\hat{b}}\,\!$ 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}[/itex] + \end{align}\,\![/itex] The correlation coefficient is evaluated as before. The correlation coefficient is evaluated as before. - =====Example===== + ====RRX Example==== '''2-Parameter Exponential RRX Example''' '''2-Parameter Exponential RRX Example''' - Using the same data set from the [[The_Exponential_Distribution#Example_2|RRY example above]] and assuming a 2-parameter exponential distribution, estimate the parameters and determine the correlation coefficient estimate, $\hat{\rho }$, 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, $\hat{\rho }\,\!$, 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}[/itex] + \end{align}\,\![/itex] or: or: - ::$\hat{b}=-34.5563$ + ::$\hat{b}=-34.5563\,\!$ and: and: - ::$\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}$ + ::$\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}\,\!$ or: or: - ::$\hat{a}=\frac{630}{14}-(-34.5563)\frac{(-13.2315)}{14}=12.3406$ + ::$\hat{a}=\frac{630}{14}-(-34.5563)\frac{(-13.2315)}{14}=12.3406\,\!$ Therefore: Therefore: - ::$\hat{\lambda }=-\frac{1}{\hat{b}}=-\frac{1}{(-34.5563)}=0.0289\text{ failures/hour}$ + ::$\hat{\lambda }=-\frac{1}{\hat{b}}=-\frac{1}{(-34.5563)}=0.0289\text{ failures/hour}\,\!$ and: and: - ::$\hat{\gamma }=\hat{a}=12.3406$ + ::$\hat{\gamma }=\hat{a}=12.3406\,\!$ The correlation coefficient is found to be: The correlation coefficient is found to be: - ::$\hat{\rho }=-0.9679$ + ::$\hat{\rho }=-0.9679\,\!$ - 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 $-1$. 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 $-1\,\!$. 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}[/itex] + \end{array}\,\![/itex] - [[Image:Exponential Distribution Example 3 Data Folio.png|center|550px|]] + [[Image:Exponential Distribution Example 3 Data Folio.png|center|700px|]] Line 239: Line 238: - [[Image:Exponential Distribution Example 3 Plot.png|center|550px|]] + [[Image:Exponential Distribution Example 3 Plot.png|center|600px|]] ===Maximum Likelihood Estimation=== ===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:_Log-Likelihood_Equations|Appendix D]]. 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:_Log-Likelihood_Equations|Appendix D]]. - ====Example==== + ====MLE Example==== - {{Example: MLE for Exponential Distribution}} + '''MLE for the Exponential Distribution''' + + 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''' + + In this example, we have complete data only. The partial derivative of the log-likelihood function, $\Lambda ,\,\!$ is given by: + + + ::$\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\,\!$ + + + 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 $\gamma \,\!$ is equal to that of the first failure time. The first failure occurred at 5 hours, thus $\gamma =5\,\!$ hours$.\,\!$ Substituting the values for $T\,\!$ and $\gamma \,\!$ we get: + + ::$\frac{14}{\hat{\lambda }}=560\,\!$ + + or: + + ::$\hat{\lambda }=0.025\text{ failures/hour}\,\!$ + + + Using Weibull++: + + [[Image:Exponential Distribution Example 4 Data.png|center|700px|]] + + The probability plot is: + + [[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 ${{\chi }^{2}}$ distribution. These are described in detail in [[Appendix: Weibull References|Kececioglu [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 ${{\chi }^{2}}$ confidence bounds for the exponential distribution are discussed in more detail in the [[Reliability Test Design|test design chapter]]. + 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 ${{\chi }^{2}}\,\!$ 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 ${{\chi }^{2}}\,\!$ 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 $\hat{\lambda }$ the upper (${{\lambda }_{U}}$) and lower (${{\lambda }_{L}}$) bounds are estimated by [[Appendix: Weibull References|[30]]]: + For the failure rate $\hat{\lambda }\,\!$ the upper (${{\lambda }_{U}}\,\!$) and lower (${{\lambda }_{L}}\,\!$) bounds are estimated by Nelson [[Appendix:_Life_Data_Analysis_References|[30]]]: ::\begin{align} ::[itex]\begin{align} Line 259: 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} + \end{align}\,\![/itex] - where ${{K}_{\alpha }}$ is defined by: + where ${{K}_{\alpha }}\,\!$ is defined by: - ::$\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})$ + ::$\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})\,\!$ - If $\delta$ is the confidence level, then $\alpha =\tfrac{1-\delta }{2}$ for the two-sided bounds, and $\alpha =1-\delta$ for the one-sided bounds. + 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 variance of $\hat{\lambda },$ $Var(\hat{\lambda }),$ is estimated from the Fisher matrix, as follows: + - ::$Var(\hat{\lambda })={{\left( -\frac{{{\partial }^{2}}\Lambda }{\partial {{\lambda }^{2}}} \right)}^{-1}}$ + The variance of $\hat{\lambda },\,\!$ $Var(\hat{\lambda }),\,\!$ is estimated from the Fisher matrix, as follows: - where $\Lambda$ is the log-likelihood function of the exponential distribution, described in [[Appendix:_Log-Likelihood_Equations|Appendix D]]. + ::$Var(\hat{\lambda })={{\left( -\frac{{{\partial }^{2}}\Lambda }{\partial {{\lambda }^{2}}} \right)}^{-1}}\,\!$ - 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 $\gamma$ and $\lambda$ parameters, resulting in unrealistic conditions. The way around this conundrum involves setting $\gamma ={{t}_{1}},$ or the first time-to-failure, and calculating $\lambda$ in the regular fashion for this methodology. Weibull++ treats $\gamma$ as a constant when computing bounds, (i.e., $Var(\hat{\gamma })=0$). (See the discussion in [[Appendix:_Log-Likelihood_Equations|Appendix D]] for more information.) + where $\Lambda \,\!$ 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 $\gamma \,\!$ and $\lambda \,\!$ parameters, resulting in unrealistic conditions. The way around this conundrum involves setting $\gamma ={{t}_{1}},\,\!$ or the first time-to-failure, and calculating $\lambda \,\!$ in the regular fashion for this methodology. Weibull++ treats $\gamma \,\!$ as a constant when computing bounds, (i.e., $Var(\hat{\gamma })=0\,\!$). (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: - ::$\hat{R}(t;\hat{\lambda })={{e}^{-\hat{\lambda }(t-\hat{\gamma })}}$ + ::$\hat{R}(t;\hat{\lambda })={{e}^{-\hat{\lambda }(t-\hat{\gamma })}}\,\!$ The corresponding confidence bounds are estimated from: The corresponding confidence bounds are estimated from: Line 284: 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}[/itex] + \end{align}\,\![/itex] - These equations hold true for the one-parameter exponential distribution, with $\gamma =0$. + These equations hold true for the 1-parameter exponential distribution, with $\gamma =0\,\!$. ====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: - ::$\hat{t}=-\frac{1}{{\hat{\lambda }}}\cdot \ln (R)+\hat{\gamma }$ + ::$\hat{t}=-\frac{1}{{\hat{\lambda }}}\cdot \ln (R)+\hat{\gamma }\,\!$ The corresponding confidence bounds are estimated from: The corresponding confidence bounds are estimated from: Line 298: 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}[/itex] + \end{align}\,\![/itex] - The same equations apply for the one-parameter exponential with $\gamma =0.$ + The same equations apply for the one-parameter exponential with $\gamma =0.\,\!$ ===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 $\theta$ that satisfy: + For one-parameter distributions such as the exponential, the likelihood confidence bounds are calculated by finding values for $\theta \,\!$ that satisfy: - ::$-2\cdot \text{ln}\left( \frac{L(\theta )}{L(\hat{\theta })} \right)=\chi _{\alpha ;1}^{2}$ + ::$-2\cdot \text{ln}\left( \frac{L(\theta )}{L(\hat{\theta })} \right)=\chi _{\alpha ;1}^{2}\,\!$ This equation can be rewritten as: This equation can be rewritten as: - ::$L(\theta )=L(\hat{\theta })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}$ + ::$L(\theta )=L(\hat{\theta })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}\,\!$ 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: - ::$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}}}}$ + ::$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}}}}\,\!$ - where the ${{t}_{i}}$ values represent the original time-to-failure data.  For a given value of $\alpha$, values for $\lambda$ 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 $\delta ,$ where $\alpha =\delta$ for two-sided bounds and $\alpha =2\delta -1$ for one-sided. + where the ${{t}_{i}}\,\!$ values represent the original time-to-failure data.  For a given value of $\alpha \,\!$, values for $\lambda \,\!$ 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 $\delta ,\,\!$ where $\alpha =\delta \,\!$ for two-sided bounds and $\alpha =2\delta -1\,\!$ for one-sided. - '''Example 5:''' + =====Example: LR Bounds for Lambda===== - {{Exponential Distribution Example: Likelihood Ratio Bound 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 $\hat{\lambda }=0.013514\,\!$.  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: + + ::\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}\,\! + + where ${{x}_{i}}\,\!$ are the original time-to-failure data points. We can now rearrange the likelihood ratio equation to the form: + + ::$L(\lambda )-L(\hat{\lambda })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}=0\,\!$ + + Since our specified confidence level, $\delta \,\!$, is 85%, we can calculate the value of the chi-squared statistic, $\chi _{0.85;1}^{2}=2.072251.\,\!$ We can now substitute this information into the equation: + + ::\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}\,\! + + It now remains to find the values of $\lambda \,\!$ which satisfy this equation. Since there is only one parameter, there are only two values of $\lambda \,\!$ that will satisfy the equation.  These values represent the $\delta =85%\,\!$ two-sided confidence limits of the parameter estimate $\hat{\lambda }\,\!$. For our problem, the confidence limits are: + + ::\begin{align} + {{\lambda }_{0.85}}=(0.006572,0.024172) + \end{align}\,\! ====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: - ::$R={{e}^{-\lambda \cdot t}}$ + ::$R={{e}^{-\lambda \cdot t}}\,\!$ This can be rearranged to the form: This can be rearranged to the form: - ::$\lambda =\frac{-\text{ln}(R)}{t}$ + ::$\lambda =\frac{-\text{ln}(R)}{t}\,\!$ - This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of $t$ and $R:$ + This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of $t\,\!$ and $R:\,\!$ - ::$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}}}}$ + ::$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}}}}\,\!$ - The unknown parameter $t/R$ 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 $R$ is a known constant and $t$ is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then $t$ is a known constant and $R$ is the unknown parameter. Either way, the likelihood ratio function can be solved for the values of interest. + The unknown parameter $t/R\,\!$ 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 $R\,\!$ is a known constant and $t\,\!$ is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then $t\,\!$ is a known constant and $R\,\!$ is the unknown parameter. Either way, the likelihood ratio function can be solved for the values of interest. - '''Example 6:''' + =====Example: LR Bounds on Time ===== - {{Exponential Distribution Example: Likelihood Ratio Bound for 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 $R(t)=90%\,\!$ is $\hat{t}=7.797\,\!$. + + '''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 $R=0.90\,\!$ and $\alpha =0.85\,\!$ into the likelihood ratio bound equation. It now remains to find the values of $t\,\!$ which satisfy this equation. Since there is only one parameter, there are only two values of $t\,\!$ that will satisfy the equation. These values represent the $\delta =85%\,\!$ two-sided confidence limits of the time estimate $\hat{t}\,\!$. For our problem, the confidence limits are: - '''Example 7:''' + ::${{\hat{t}}_{R=0.9}}=(4.359,16.033)\,\!$ - {{Exponential Distribution Example: Likelihood Ratio Bound for Reliability}} + + =====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 $t=50\,\!$. The ML estimate for the time at $t=50\,\!$ is $\hat{R}=50.881%\,\!$. + + '''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 $t=50\,\!$ and $\alpha =0.85\,\!$ into the likelihood ratio bound equation. It now remains to find the values of $R\,\!$ which satisfy this equation. Since there is only one parameter, there are only two values of $t\,\!$ that will satisfy the equation. These values represent the $\delta =85%\,\!$ two-sided confidence limits of the reliability estimate $\hat{R}\,\!$. For our problem, the confidence limits are: + + ::${{\hat{R}}_{t=50}}=(29.861%,71.794%)\,\!$ ===Bayesian Confidence Bounds=== ===Bayesian Confidence Bounds=== ====Bounds on Parameters==== ====Bounds on Parameters==== - From [[Confidence Bounds]], we know that the posterior distribution of $\lambda$ can be written as: + From [[Confidence Bounds]], we know that the posterior distribution of $\lambda \,\!$ can be written as: - ::$f(\lambda |Data)=\frac{L(Data|\lambda )\varphi (\lambda )}{\int_{0}^{\infty }L(Data|\lambda )\varphi (\lambda )d\lambda }$ + ::$f(\lambda |Data)=\frac{L(Data|\lambda )\varphi (\lambda )}{\int_{0}^{\infty }L(Data|\lambda )\varphi (\lambda )d\lambda }\,\!$ - where $\varphi (\lambda )=\tfrac{1}{\lambda }$, is the non-informative prior of $\lambda$. + where $\varphi (\lambda )=\tfrac{1}{\lambda }\,\!$, is the non-informative prior of $\lambda \,\!$. - With the above prior distribution, $f(\lambda |Data)$ can be rewritten as: + With the above prior distribution, $f(\lambda |Data)\,\!$ can be rewritten as: - ::$f(\lambda |Data)=\frac{L(Data|\lambda )\tfrac{1}{\lambda }}{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }$ + ::$f(\lambda |Data)=\frac{L(Data|\lambda )\tfrac{1}{\lambda }}{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }\,\!$ - The one-sided upper bound of $\lambda$ is: + The one-sided upper bound of $\lambda \,\!$ is: - ::$CL=P(\lambda \le {{\lambda }_{U}})=\int_{0}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda$ + ::$CL=P(\lambda \le {{\lambda }_{U}})=\int_{0}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!$ - The one-sided lower bound of $\lambda$ is: + The one-sided lower bound of $\lambda \,\!$ is: - ::$1-CL=P(\lambda \le {{\lambda }_{L}})=\int_{0}^{{{\lambda }_{L}}}f(\lambda |Data)d\lambda$ + ::$1-CL=P(\lambda \le {{\lambda }_{L}})=\int_{0}^{{{\lambda }_{L}}}f(\lambda |Data)d\lambda \,\!$ - The two-sided bounds of $\lambda$ are: + The two-sided bounds of $\lambda \,\!$ are: - ::$CL=P({{\lambda }_{L}}\le \lambda \le {{\lambda }_{U}})=\int_{{{\lambda }_{L}}}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda$ + ::$CL=P({{\lambda }_{L}}\le \lambda \le {{\lambda }_{U}})=\int_{{{\lambda }_{L}}}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!$ ====Bounds on Time (Type 1)==== ====Bounds on Time (Type 1)==== The reliable life equation is: The reliable life equation is: - ::$t=\frac{-\ln R}{\lambda }$ + ::$t=\frac{-\ln R}{\lambda }\,\!$ For the one-sided upper bound on time we have: For the one-sided upper bound on time we have: - ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(t\le {{T}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{\lambda }\le {{T}_{U}})$ + ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(t\le {{T}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{\lambda }\le {{T}_{U}})\,\!$ - The above equation can be rewritten in terms of $\lambda$ as: + The above equation can be rewritten in terms of $\lambda \,\!$ as: - ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{{{t}_{U}}}\le \lambda )$ + ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{{{t}_{U}}}\le \lambda )\,\!$ From the above posterior distribuiton equation, we have: From the above posterior distribuiton equation, we have: - ::$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 }$ + ::$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 }\,\!$ - The above equation is solved w.r.t. ${{t}_{U}}.$ The same method is applied for one-sided lower and two-sided bounds on time. + The above equation is solved w.r.t. ${{t}_{U}}.\,\!$ 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: - ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(R\le {{R}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\exp (-\lambda t)\le {{R}_{U}})$ + ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(R\le {{R}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\exp (-\lambda t)\le {{R}_{U}})\,\!$ - The above equaation can be rewritten in terms of $\lambda$ as: + The above equaation can be rewritten in terms of $\lambda \,\!$ as: - ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln {{R}_{U}}}{t}\le \lambda )$ + ::$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln {{R}_{U}}}{t}\le \lambda )\,\!$ From the equation for posterior distribution we have: From the equation for posterior distribution we have: - ::$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 }$ + ::$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 }\,\!$ - + - + - The above equation is solved w.r.t. ${{R}_{U}}.$ The same method can be used to calculate one-sided lower and two sided bounds on reliability. + - ==General Examples== - '''Example 8:''' - {{Example 8: Exponential Dstribution for Grouped Data}} + The above equation is solved w.r.t. ${{R}_{U}}.\,\!$ The same method can be used to calculate one-sided lower and two sided bounds on reliability. - '''Example 9:''' + ==Exponential Distribution Examples== - {{Example 9: Exponential Distribution Auto Batch Run}} + {{:Exponential Distribution Examples}}

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

 Chapter 7: The Exponential Distribution

 Chapter 7 The Exponential Distribution

## Contents

Available Software:
Weibull++

More Resources:
Weibull++ Examples Collection

Life Data Analysis (*.pdf)

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

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 $\beta =1\,\!$. 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:

$f(t)=\lambda {{e}^{-\lambda (t-\gamma )}},f(t)\ge 0,\lambda >0,t\ge \gamma \,\!$

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

• The location parameter, $\gamma \,\!$, if positive, shifts the beginning of the distribution by a distance of $\gamma \,\!$ to the right of the origin, signifying that the chance failures start to occur only after $\gamma \,\!$ hours of operation, and cannot occur before.
• The scale parameter is $\tfrac{1}{\lambda }=\bar{t}-\gamma =m-\gamma \,\!$.
• The exponential pdf has no shape parameter, as it has only one shape.
• The distribution starts at $t=\gamma \,\!$ at the level of $f(t=\gamma )=\lambda \,\!$ and decreases thereafter exponentially and monotonically as $t\,\!$ increases beyond $\gamma \,\!$ and is convex.
• As $t\to \infty \,\!$, $f(t)\to 0\,\!$.

### The 1-Parameter Exponential Distribution

The 1-parameter exponential pdf is obtained by setting $\gamma =0\,\!$, and is given by:

\begin{align}f(t)= & \lambda {{e}^{-\lambda t}}=\frac{1}{m}{{e}^{-\tfrac{1}{m}t}}, & t\ge 0, \lambda >0,m>0 \end{align} \,\!

where:

$\lambda \,\!$ = constant rate, in failures per unit of measurement, (e.g., failures per hour, per cycle, etc.)
$\lambda =\frac{1}{m}\,\!$
$m\,\!$ = mean time between failures, or to failure
$t\,\!$ = operating time, life, or age, in hours, cycles, miles, actuations, etc.

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

• The location parameter, $\gamma \,\!$, is zero.
• The scale parameter is $\tfrac{1}{\lambda }=m\,\!$.
• As $\lambda \,\!$ is decreased in value, the distribution is stretched out to the right, and as $\lambda \,\!$ 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, $\lambda \,\!$).
• The distribution starts at $t=0\,\!$ at the level of $f(t=0)=\lambda \,\!$ and decreases thereafter exponentially and monotonically as $t\,\!$ increases, and is convex.
• As $t\to \infty \,\!$, $f(t)\to 0\,\!$.
• The pdf can be thought of as a special case of the Weibull pdf with $\gamma =0\,\!$ and $\beta =1\,\!$.

## Exponential Distribution Functions

### The Mean or MTTF

The mean, $\overline{T},\,\!$ or mean time to failure (MTTF) is given by:

\begin{align} \bar{T}= & \int_{\gamma }^{\infty }t\cdot f(t)dt \\ = & \int_{\gamma }^{\infty }t\cdot \lambda \cdot {{e}^{-\lambda t}}dt \\ = & \gamma +\frac{1}{\lambda }=m \end{align}\,\!

Note that when $\gamma =0\,\!$, 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, $\breve{T}, \,\!$ is:

$\breve{T}=\gamma +\frac{1}{\lambda}\cdot 0.693 \,\!$

### The Mode

The mode, $\tilde{T},\,\!$ is:

$\tilde{T}=\gamma \,\!$

### The Standard Deviation

The standard deviation, ${\sigma }_{T}\,\!$, is:

${\sigma}_{T}=\frac{1}{\lambda }=m\,\!$

### The Exponential Reliability Function

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

\begin{align} F(t)=Q(t)=1-{{e}^{-\lambda (t-\gamma )}} \end{align}\,\!

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:

$R(t)=1-Q(t)=1-\int_{0}^{t-\gamma }f(x)dx\,\!$

$R(t)=1-\int_{0}^{t-\gamma }\lambda {{e}^{-\lambda x}}dx={{e}^{-\lambda (t-\gamma )}}\,\!$

The 1-parameter exponential reliability function is given by:

$R(t)={{e}^{-\lambda t}}={{e}^{-\tfrac{t}{m}}}\,\!$

### The Exponential Conditional Reliability Function

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

$R(t|T)=\frac{R(T+t)}{R(T)}=\frac{{{e}^{-\lambda (T+t-\gamma )}}}{{{e}^{-\lambda (T-\gamma )}}}={{e}^{-\lambda t}}\,\!$

which says that the reliability for a mission of $t\,\!$ duration undertaken after the component or equipment has already accumulated $T\,\!$ 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, ${{t}_{R}}\,\!$, for the 1-parameter exponential distribution is:

$R({{t}_{R}})={{e}^{-\lambda ({{t}_{R}}-\gamma )}}\,\!$
\begin{align} \ln[R({{t}_{R}})]=-\lambda({{t}_{R}}-\gamma ) \end{align}\,\!

or:

${{t}_{R}}=\gamma -\frac{\ln [R({{t}_{R}})]}{\lambda }\,\!$

### The Exponential Failure Rate Function

The exponential failure rate function is:

$\lambda (t)=\frac{f(t)}{R(t)}=\frac{\lambda {{e}^{-\lambda (t-\gamma )}}}{{{e}^{-\lambda (t-\gamma )}}}=\lambda =\text{constant}\,\!$

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 $\lambda \,\!$ decreases in value.
• The value of the pdf function is always equal to the value of $\lambda \,\!$ at $t=0\,\!$ (or $t=\gamma \,\!$).
• The location parameter, $\gamma \,\!$, if positive, shifts the beginning of the distribution by a distance of $\gamma \,\!$ to the right of the origin, signifying that the chance failures start to occur only after $\gamma \,\!$ hours of operation, and cannot occur before this time.
• The scale parameter is $\tfrac{1}{\lambda }=\bar{T}-\gamma =m-\gamma \,\!$.
• As $t\to \infty \,\!$, $f(t)\to 0\,\!$.

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

• The 1-parameter exponential reliability function starts at the value of 100% at $t=0\,\!$, decreases thereafter monotonically and is convex.
• The 2-parameter exponential reliability function remains at the value of 100% for $t=0\,\!$ up to $t=\gamma \,\!$, and decreases thereafter monotonically and is convex.
• As $t\to \infty \,\!$, $R(t\to \infty )\to 0\,\!$.
• The reliability for a mission duration of $t=m=\tfrac{1}{\lambda }\,\!$, or of one MTTF duration, is always equal to $0.3679\,\!$ 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 $t=0\,\!$.
• The 2-parameter exponential failure rate function remains at the value of 0 for $t=0\,\!$ up to $t=\gamma \,\!$, and then keeps at the constant value of $\lambda\,\!$.

## 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:

\begin{align} F(t)=1-{{e}^{-\lambda (t-\gamma )}} \end{align}\,\!

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

$\ln \left[ 1-F(t) \right]=-\lambda (t-\gamma )\,\!$

or:

\begin{align} \ln [1-F(t)]=\lambda \gamma -\lambda t \end{align}\,\!

Now, let:

\begin{align} y=\ln [1-F(t)] \end{align}\,\!
\begin{align} a=\lambda \gamma \end{align}\,\!

and:

\begin{align} b=-\lambda \end{align}\,\!

which results in the linear equation of:

\begin{align} y=a+bt \end{align}\,\!

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 $t=0\,\!$, $R=1\,\!$ and $F(t)=0\,\!$. So if we were to use $F(t)\,\!$ for the y-axis, we would have to plot the point $(0,0)\,\!$. However, since the y-axis is logarithmic, there is no place to plot this on the exponential paper. Also, the failure rate, $\lambda \,\!$, is the negative of the slope of the line, but there is an easier way to determine the value of $\lambda \,\!$ 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 $100%-MR\,\!$ since the y-axis represents the reliability and the $MR\,\!$ values represent unreliability estimates.

$\begin{matrix} \text{Time-to-failure, hr} & \text{Reliability Estimate, }% \\ 7 & 100-10.91=89.09% \\ 12 & 100-26.44=73.56% \\ 19 & 100-42.14=57.86% \\ 29 & 100-57.86=42.14% \\ 41 & 100-73.56=26.44% \\ 67 & 100-89.09=10.91% \\ \end{matrix}\,\!$

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 $\lambda\,\!$. This is because at $t=m=\tfrac{1}{\lambda }\,\!$:

\begin{align} R(t)= & {{e}^{-\lambda \cdot t}} \\ R(t)= & {{e}^{-\lambda \cdot \tfrac{1}{\lambda }}} \\ R(t)= & {{e}^{-1}}=0.368=36.8%. \end{align}\,\!

The following plot shows that the best-fit line through the data points crosses the $R=36.8%\,\!$ line at $t=33\,\!$ hours. And because $\tfrac{1}{\lambda }=33\,\!$ hours, $\lambda =0.0303\,\!$ 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:

$\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}\,\!$

and:

$\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}}\,\!$

In our case, the equations for ${{y}_{i}}\,\!$ and ${{x}_{i}}\,\!$ are:

\begin{align} {{y}_{i}}=\ln [1-F({{t}_{i}})] \end{align}\,\!

and:

\begin{align} {{x}_{i}}={{t}_{i}} \end{align}\,\!

and the $F({{t}_{i}})\,\!$ is estimated from the median ranks. Once $\hat{a}\,\!$ and $\hat{b}\,\!$ are obtained, then $\hat{\lambda }\,\!$ and $\hat{\gamma }\,\!$ can easily be obtained from above equations. For the one-parameter exponential, equations for estimating a and b become:

\begin{align} \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}} \end{align}\,\!

The Correlation Coefficient

The estimator of $\rho \,\!$ is the sample correlation coefficient, $\hat{\rho }\,\!$, given by:

$\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}}}}\,\!$

#### 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, $\rho \,\!$, 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.

$\overset{{}}{\mathop{\text{Table}\text{- Least Squares Analysis}}}\,\,\!$
$\begin{matrix} N & t_{i} & F(t_{i}) & y_{i} & t_{i}^{2} & y_{i}^{2} & t_{i} y_{i} \\ \text{1} & \text{5} & \text{0}\text{.0483} & \text{-0}\text{.0495} & \text{25} & \text{0}\text{.0025} & \text{-0}\text{.2475} \\ \text{2} & \text{10} & \text{0}\text{.1170} & \text{-0}\text{.1244} & \text{100} & \text{0}\text{.0155} & \text{-1}\text{.2443} \\ \text{3} & \text{15} & \text{0}\text{.1865} & \text{-0}\text{.2064} & \text{225} & \text{0}\text{.0426} & \text{-3}\text{.0961} \\ \text{4} & \text{20} & \text{0}\text{.2561} & \text{-0}\text{.2958} & \text{400} & \text{0}\text{.0875} & \text{-5}\text{.9170} \\ \text{5} & \text{25} & \text{0}\text{.3258} & \text{-0}\text{.3942} & \text{625} & \text{0}\text{.1554} & \text{-9}\text{.8557} \\ \text{6} & \text{30} & \text{0}\text{.3954} & \text{-0}\text{.5032} & \text{900} & \text{0}\text{.2532} & \text{-15}\text{.0956} \\ \text{7} & \text{35} & \text{0}\text{.4651} & \text{-0}\text{.6257} & \text{1225} & \text{0}\text{.3915} & \text{-21}\text{.8986} \\ \text{8} & \text{40} & \text{0}\text{.5349} & \text{-0}\text{.7655} & \text{1600} & \text{0}\text{.5860} & \text{-30}\text{.6201} \\ \text{9} & \text{50} & \text{0}\text{.6046} & \text{-0}\text{.9279} & \text{2500} & \text{0}\text{.8609} & \text{-46}\text{.3929} \\ \text{10} & \text{60} & \text{0}\text{.6742} & \text{-1}\text{.1215} & \text{3600} & \text{1}\text{.2577} & \text{-67}\text{.2883} \\ \text{11} & \text{70} & \text{0}\text{.7439} & \text{-1}\text{.3622} & \text{4900} & \text{1}\text{.8456} & \text{-95}\text{.3531} \\ \text{12} & \text{80} & \text{0}\text{.8135} & \text{-1}\text{.6793} & \text{6400} & \text{2}\text{.8201} & \text{-134}\text{.3459} \\ \text{13} & \text{90} & \text{0}\text{.8830} & \text{-2}\text{.1456} & \text{8100} & \text{4}\text{.6035} & \text{-193}\text{.1023} \\ \text{14} & \text{100} & \text{0}\text{.9517} & \text{-3}\text{.0303} & \text{10000} & \text{9}\text{.1829} & \text{-303}\text{.0324} \\ \sum_{}^{} & \text{630} & {} & \text{-13}\text{.2315} & \text{40600} & \text{22}\text{.1148} & \text{-927}\text{.4899} \\ \end{matrix}\,\!$

The median rank values ( $F({{t}_{i}})\,\!$ ) 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 $\hat{a}\,\!$ and $\hat{b}\,\!$:

\begin{align} \hat{b}= & \frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}}{{y}_{i}}-(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}})(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}})/14}{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{2}-{{(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}})}^{2}}/14} \\ \\ \hat{b}= & \frac{-927.4899-(630)(-13.2315)/14}{40,600-{{(630)}^{2}}/14} \end{align}\,\!

or:

$\hat{b}=-0.02711\,\!$

and:

$\hat{a}=\overline{y}-\hat{b}\overline{t}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{t}_{i}}}{N}\,\!$

or:

$\hat{a}=\frac{-13.2315}{14}-(-0.02711)\frac{630}{14}=0.2748\,\!$

Therefore:

$\hat{\lambda }=-\hat{b}=-(-0.02711)=0.02711\text{ failures/hour}\,\!$

and:

$\hat{\gamma }=\frac{\hat{a}}{\hat{\lambda }}=\frac{0.2748}{0.02711}\,\!$

or:

$\hat{\gamma }=10.1365\text{ hours}\,\!$

Then:

$f(t)=(0.02711)\cdot {{e}^{-0.02711(T-10.136)}}\,\!$

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

$\hat{\rho }=-0.9679\,\!$

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:

$\hat{\lambda }=0.0271\text{ fr/hr },\hat{\gamma }=10.1348\text{ hr },\hat{\rho }=-0.9679\,\!$

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 $x\,\!$ as the dependent variable and $y\,\!$ as the independent variable. The best-fitting straight line to the data, for regression on X (see Parameter Estimation), is the straight line:

$x=\hat{a}+\hat{b}y\,\!$

The corresponding equations for $\hat{a}\,\!$ and $\hat{b}\,\!$ are:

$\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}\,\!$

and:

$\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}}\,\!$

where:

\begin{align} {{y}_{i}}=\ln [1-F({{t}_{i}})] \end{align}\,\!

and:

\begin{align} {{x}_{i}}={{t}_{i}} \end{align}\,\!

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

$y=-\frac{\hat{a}}{\hat{b}}+\frac{1}{\hat{b}}x\,\!$

Solving for the parameters from above equations we get:

$a=-\frac{\hat{a}}{\hat{b}}=\lambda \gamma \Rightarrow \gamma =\hat{a}\,\!$

and:

$b=\frac{1}{\hat{b}}=-\lambda \Rightarrow \lambda =-\frac{1}{\hat{b}}\,\!$

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

\begin{align} \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}} \end{align}\,\!

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, $\hat{\rho }\,\!$, 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:

\begin{align} \hat{b}= & \frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}}{{y}_{i}}-\tfrac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{t}_{i}}\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}}}{14}}{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,y_{i}^{2}-\tfrac{{{\left( \underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}} \right)}^{2}}}{14}} \\ \\ \hat{b}= & \frac{-927.4899-(630)(-13.2315)/14}{22.1148-{{(-13.2315)}^{2}}/14} \end{align}\,\!

or:

$\hat{b}=-34.5563\,\!$

and:

$\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}\,\!$

or:

$\hat{a}=\frac{630}{14}-(-34.5563)\frac{(-13.2315)}{14}=12.3406\,\!$

Therefore:

$\hat{\lambda }=-\frac{1}{\hat{b}}=-\frac{1}{(-34.5563)}=0.0289\text{ failures/hour}\,\!$

and:

$\hat{\gamma }=\hat{a}=12.3406\,\!$

The correlation coefficient is found to be:

$\hat{\rho }=-0.9679\,\!$

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 $-1\,\!$. 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:

$\begin{array}{*{35}{l}} \hat{\lambda }= &0.0289 \text{failures/hour} \\ \hat{\gamma}= & 12.3395 \text{hours} \\ \hat{\rho} = &-0.9679 \\ \end{array}\,\!$

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, $\Lambda ,\,\!$ is given by:

$\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\,\!$

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 $\gamma \,\!$ is equal to that of the first failure time. The first failure occurred at 5 hours, thus $\gamma =5\,\!$ hours$.\,\!$ Substituting the values for $T\,\!$ and $\gamma \,\!$ we get:

$\frac{14}{\hat{\lambda }}=560\,\!$

or:

$\hat{\lambda }=0.025\text{ failures/hour}\,\!$

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 ${{\chi }^{2}}\,\!$ 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 ${{\chi }^{2}}\,\!$ 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 $\hat{\lambda }\,\!$ the upper (${{\lambda }_{U}}\,\!$) and lower (${{\lambda }_{L}}\,\!$) bounds are estimated by Nelson [30]:

\begin{align} & {{\lambda }_{U}}= & \hat{\lambda }\cdot {{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}\,\!

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

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

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

The variance of $\hat{\lambda },\,\!$ $Var(\hat{\lambda }),\,\!$ is estimated from the Fisher matrix, as follows:

$Var(\hat{\lambda })={{\left( -\frac{{{\partial }^{2}}\Lambda }{\partial {{\lambda }^{2}}} \right)}^{-1}}\,\!$

where $\Lambda \,\!$ 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 $\gamma \,\!$ and $\lambda \,\!$ parameters, resulting in unrealistic conditions. The way around this conundrum involves setting $\gamma ={{t}_{1}},\,\!$ or the first time-to-failure, and calculating $\lambda \,\!$ in the regular fashion for this methodology. Weibull++ treats $\gamma \,\!$ as a constant when computing bounds, (i.e., $Var(\hat{\gamma })=0\,\!$). (See the discussion in Appendix D for more information.)

#### Bounds on Reliability

The reliability of the two-parameter exponential distribution is:

$\hat{R}(t;\hat{\lambda })={{e}^{-\hat{\lambda }(t-\hat{\gamma })}}\,\!$

The corresponding confidence bounds are estimated from:

\begin{align} & {{R}_{L}}= & {{e}^{-{{\lambda }_{U}}(t-\hat{\gamma })}} \\ & {{R}_{U}}= & {{e}^{-{{\lambda }_{L}}(t-\hat{\gamma })}} \end{align}\,\!

These equations hold true for the 1-parameter exponential distribution, with $\gamma =0\,\!$.

#### 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:

$\hat{t}=-\frac{1}{{\hat{\lambda }}}\cdot \ln (R)+\hat{\gamma }\,\!$

The corresponding confidence bounds are estimated from:

\begin{align} & {{t}_{U}}= & -\frac{1}{{{\lambda }_{L}}}\cdot \ln (R)+\hat{\gamma } \\ & {{t}_{L}}= & -\frac{1}{{{\lambda }_{U}}}\cdot \ln (R)+\hat{\gamma } \end{align}\,\!

The same equations apply for the one-parameter exponential with $\gamma =0.\,\!$

### 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 $\theta \,\!$ that satisfy:

$-2\cdot \text{ln}\left( \frac{L(\theta )}{L(\hat{\theta })} \right)=\chi _{\alpha ;1}^{2}\,\!$

This equation can be rewritten as:

$L(\theta )=L(\hat{\theta })\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}\,\!$

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

$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}}}}\,\!$

where the ${{t}_{i}}\,\!$ values represent the original time-to-failure data. For a given value of $\alpha \,\!$, values for $\lambda \,\!$ 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 $\delta ,\,\!$ where $\alpha =\delta \,\!$ for two-sided bounds and $\alpha =2\delta -1\,\!$ 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 $\hat{\lambda }=0.013514\,\!$. 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:

\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}\,\!

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

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

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

\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}\,\!

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

\begin{align} {{\lambda }_{0.85}}=(0.006572,0.024172) \end{align}\,\!

#### 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:

$R={{e}^{-\lambda \cdot t}}\,\!$

This can be rearranged to the form:

$\lambda =\frac{-\text{ln}(R)}{t}\,\!$

This equation can now be substituted into the likelihood ratio equation to produce a likelihood equation in terms of $t\,\!$ and $R:\,\!$

$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}}}}\,\!$

The unknown parameter $t/R\,\!$ 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 $R\,\!$ is a known constant and $t\,\!$ is the unknown parameter. Conversely, if one is trying to determine the bounds on reliability for a given time, then $t\,\!$ is a known constant and $R\,\!$ 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 $R(t)=90%\,\!$ is $\hat{t}=7.797\,\!$.

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 $R=0.90\,\!$ and $\alpha =0.85\,\!$ into the likelihood ratio bound equation. It now remains to find the values of $t\,\!$ which satisfy this equation. Since there is only one parameter, there are only two values of $t\,\!$ that will satisfy the equation. These values represent the $\delta =85%\,\!$ two-sided confidence limits of the time estimate $\hat{t}\,\!$. For our problem, the confidence limits are:

${{\hat{t}}_{R=0.9}}=(4.359,16.033)\,\!$
##### 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 $t=50\,\!$. The ML estimate for the time at $t=50\,\!$ is $\hat{R}=50.881%\,\!$.

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 $t=50\,\!$ and $\alpha =0.85\,\!$ into the likelihood ratio bound equation. It now remains to find the values of $R\,\!$ which satisfy this equation. Since there is only one parameter, there are only two values of $t\,\!$ that will satisfy the equation. These values represent the $\delta =85%\,\!$ two-sided confidence limits of the reliability estimate $\hat{R}\,\!$. For our problem, the confidence limits are:

${{\hat{R}}_{t=50}}=(29.861%,71.794%)\,\!$

### Bayesian Confidence Bounds

#### Bounds on Parameters

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

$f(\lambda |Data)=\frac{L(Data|\lambda )\varphi (\lambda )}{\int_{0}^{\infty }L(Data|\lambda )\varphi (\lambda )d\lambda }\,\!$

where $\varphi (\lambda )=\tfrac{1}{\lambda }\,\!$, is the non-informative prior of $\lambda \,\!$.

With the above prior distribution, $f(\lambda |Data)\,\!$ can be rewritten as:

$f(\lambda |Data)=\frac{L(Data|\lambda )\tfrac{1}{\lambda }}{\int_{0}^{\infty }L(Data|\lambda )\tfrac{1}{\lambda }d\lambda }\,\!$

The one-sided upper bound of $\lambda \,\!$ is:

$CL=P(\lambda \le {{\lambda }_{U}})=\int_{0}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!$

The one-sided lower bound of $\lambda \,\!$ is:

$1-CL=P(\lambda \le {{\lambda }_{L}})=\int_{0}^{{{\lambda }_{L}}}f(\lambda |Data)d\lambda \,\!$

The two-sided bounds of $\lambda \,\!$ are:

$CL=P({{\lambda }_{L}}\le \lambda \le {{\lambda }_{U}})=\int_{{{\lambda }_{L}}}^{{{\lambda }_{U}}}f(\lambda |Data)d\lambda \,\!$

#### Bounds on Time (Type 1)

The reliable life equation is:

$t=\frac{-\ln R}{\lambda }\,\!$

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

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(t\le {{T}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{\lambda }\le {{T}_{U}})\,\!$

The above equation can be rewritten in terms of $\lambda \,\!$ as:

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln R}{{{t}_{U}}}\le \lambda )\,\!$

From the above posterior distribuiton equation, we have:

$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 }\,\!$

The above equation is solved w.r.t. ${{t}_{U}}.\,\!$ 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:

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(R\le {{R}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,(\exp (-\lambda t)\le {{R}_{U}})\,\!$

The above equaation can be rewritten in terms of $\lambda \,\!$ as:

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\frac{-\ln {{R}_{U}}}{t}\le \lambda )\,\!$

From the equation for posterior distribution we have:

$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 }\,\!$

The above equation is solved w.r.t. ${{R}_{U}}.\,\!$ 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:

Number of Units in Group Time-to-Failure Table - Life Test Data 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 $\hat{\gamma }=100\,\!$ hours (first failure), the partial of the log-likelihood function, $\lambda\,\!$, becomes:

\begin{align} \frac{\partial \Lambda }{\partial \lambda }= &\underset{i=1}{\overset{6}{\mathop \sum }}\,{N_i} \left[ \frac{1}{\lambda }-\left( {{T}_{i}}-100 \right) \right]=0\\ \Rightarrow & 7[\frac{1}{\lambda }-(100-100)]+5[\frac{1}{\lambda}-(200-100)] + \ldots +2[\frac{1}{\lambda}-(600-100)]\\ = & 0\\ \Rightarrow & \hat{\lambda}=\frac{20}{3100}=0.0065 \text{fr/hr} \end{align} \,\!

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, $\gamma \,\!$, 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 ${{T}_{i}}\,\!$ where $i\,\!$ indicates the group number. In this example, the total number of groups is $N=6\,\!$ and the total number of units is ${{N}_{T}}=20\,\!$. Thus, the median rank values will be estimated for 20 units and for the total failed units (${{N}_{{{F}_{i}}}}\,\!$) up to the ${{i}^{th}}\,\!$ group, for the ${{i}^{th}}\,\!$ 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 ${{17}^{th}}\,\!$ rank out of a sample size of twenty units (or 81.945%).

The following table is then constructed.

$\begin{matrix} N & {{N}_{F}} & {{N}_{{{F}_{i}}}} & {{T}_{i}} & F({{T}_{i}}) & {{y}_{i}} & T_{i}^{2} & y_{i}^{2} & {{T}_{i}}{{y}_{i}} \\ \text{1} & \text{7} & \text{7} & \text{100} & \text{0}\text{.32795} & \text{-0}\text{.3974} & \text{10000} & \text{0}\text{.1579} & \text{-39}\text{.7426} \\ \text{2} & \text{5} & \text{12} & \text{200} & \text{0}\text{.57374} & \text{-0}\text{.8527} & \text{40000} & \text{0}\text{.7271} & \text{-170}\text{.5402} \\ \text{3} & \text{3} & \text{15} & \text{300} & \text{0}\text{.72120} & \text{-1}\text{.2772} & \text{90000} & \text{1}\text{.6313} & \text{-383}\text{.1728} \\ \text{4} & \text{2} & \text{17} & \text{400} & \text{0}\text{.81945} & \text{-1}\text{.7117} & \text{160000} & \text{2}\text{.9301} & \text{-684}\text{.6990} \\ \text{5} & \text{1} & \text{18} & \text{500} & \text{0}\text{.86853} & \text{-2}\text{.0289} & \text{250000} & \text{4}\text{.1166} & \text{-1014}\text{.4731} \\ \text{6} & \text{2} & \text{20} & \text{600} & \text{0}\text{.96594} & \text{-3}\text{.3795} & \text{360000} & \text{11}\text{.4211} & \text{-2027}\text{.7085} \\ \sum_{}^{} & {} & {} & \text{2100} & {} & \text{-9}\text{.6476} & \text{910000} & \text{20}\text{.9842} & \text{-4320}\text{.3362} \\ \end{matrix}\,\!$

Given the values in the table above, calculate $\hat{a}\,\!$ and $\hat{b}\,\!$:

\begin{align} & \hat{b}= & \frac{\underset{i=1}{\overset{6}{\mathop{\sum }}}\,{{t}_{i}}{{y}_{i}}-(\underset{i=1}{\overset{6}{\mathop{\sum }}}\,{{t}_{i}})(\underset{i=1}{\overset{6}{\mathop{\sum }}}\,{{y}_{i}})/6}{\underset{i=1}{\overset{6}{\mathop{\sum }}}\,t_{i}^{2}-{{(\underset{i=1}{\overset{6}{\mathop{\sum }}}\,{{t}_{i}})}^{2}}/6} \\ & & \\ & \hat{b}= & \frac{-4320.3362-(2100)(-9.6476)/6}{910,000-{{(2100)}^{2}}/6} \end{align}\,\!

or:

$\hat{b}=-0.005392\,\!$

and:

$\hat{a}=\overline{y}-\hat{b}\overline{t}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{t}_{i}}}{N}\,\!$

or:

$\hat{a}=\frac{-9.6476}{6}-(-0.005392)\frac{2100}{6}=0.2793\,\!$

Therefore:

$\hat{\lambda }=-\hat{b}=-(-0.005392)=0.05392\text{ failures/hour}\,\!$

and:

$\hat{\gamma }=\frac{\hat{a}}{\hat{\lambda }}=\frac{0.2793}{0.005392}\,\!$

or:

$\hat{\gamma }\simeq 51.8\text{ hours}\,\!$

Then:

$f(T)=(0.005392){{e}^{-0.005392(T-51.8)}}\,\!$

Using Weibull++, the estimated parameters are:

\begin{align} \hat{\lambda }= & 0.0054\text{ failures/hour} \\ \hat{\gamma }= & 51.82\text{ hours} \end{align}\,\!

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 $15^{th}\,\!$ 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].

Time (weeks) Number of Patients Treament Comments Table - Leukemia Treatment Results 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.