# The Lognormal Distribution

 Chapter 10: The Lognormal Distribution

 Chapter 10 The Lognormal 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 lognormal distribution is commonly used to model the lives of units whose failure modes are of a fatigue-stress nature. Since this includes most, if not all, mechanical systems, the lognormal distribution can have widespread application. Consequently, the lognormal distribution is a good companion to the Weibull distribution when attempting to model these types of units. As may be surmised by the name, the lognormal distribution has certain similarities to the normal distribution. A random variable is lognormally distributed if the logarithm of the random variable is normally distributed. Because of this, there are many mathematical similarities between the two distributions. For example, the mathematical reasoning for the construction of the probability plotting scales and the bias of parameter estimators is very similar for these two distributions.

## Lognormal Probability Density Function

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

$f({t}')=\frac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{{{t}^{\prime }}-{\mu }'}{{{\sigma' }}} \right)}^{2}}}}\,\!$

where:

${t}'=\ln (t)\,\!$. $t\,\!$ values are the times-to-failure
$\mu'\,\!$ = mean of the natural logarithms of the times-to-failure
$\sigma'\,\!$ = standard deviation of the natural logarithms of the times-to-failure

The lognormal pdf can be obtained, realizing that for equal probabilities under the normal and lognormal pdfs, incremental areas should also be equal, or:

\begin{align} f(t)dt=f({t}')d{t}' \end{align}\,\!

Taking the derivative of the relationship between ${t}'\,\!$ and ${t}\,\!$ yields:

$d{t}'=\frac{dt}{t}\,\!$

Substitution yields:

\begin{align} f(t)= & \frac{f({t}')}{t} \\ f(t)= & \frac{1}{t\cdot {{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{\text{ln}(t)-{\mu }'}{{{\sigma' }}} \right)}^{2}}}} \end{align}\,\!

where:

$f(t)\ge 0,t>0,-\infty <{\mu }'<\infty ,{{\sigma' }}>0\,\!$

## Lognormal Distribution Functions

### The Mean or MTTF

The mean of the lognormal distribution, $\mu \,\!$, is discussed in Kececioglu [19]:

$\mu ={{e}^{{\mu }'+\tfrac{1}{2}\sigma'^{2}}}\,\!$

The mean of the natural logarithms of the times-to-failure, $\mu'\,\!$, in terms of $\bar{T}\,\!$ and ${{\sigma}}\,\!$ is given by:

${\mu }'=\ln \left( {\bar{T}} \right)-\frac{1}{2}\ln \left( \frac{\sigma^{2}}{{{{\bar{T}}}^{2}}}+1 \right)\,\!$

### The Median

The median of the lognormal distribution, $\breve{T}\,\!$, is discussed in Kececioglu [19]:

$\breve{T}={{e}^{{{\mu}'}}}\,\!$

### The Mode

The mode of the lognormal distribution, $\tilde{T}\,\!$, is discussed in Kececioglu [19]:

$\tilde{T}={{e}^{{\mu }'-\sigma'^{2}}}\,\!$

### The Standard Deviation

The standard deviation of the lognormal distribution, ${\sigma }_{T}\,\!$, is discussed in Kececioglu [19]:

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

The standard deviation of the natural logarithms of the times-to-failure, ${\sigma}'\,\!$, in terms of $\bar{T}\,\!$ and ${\sigma}\,\!$ is given by:

$\sigma '=\sqrt{\ln \left( \frac{{\sigma}_{T}^{2}}{{{{\bar{T}}}^{2}}}+1 \right)}\,\!$

### The Lognormal Reliability Function

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

$R(t)=\int_{t}^{\infty }f(x)dx\,\!$

or:

${{R}({t})}=\int_{\text{ln}(t)}^{\infty }\frac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{x-{\mu }'}{{{\sigma' }}} \right)}^{2}}}}dx\,\!$

As with the normal distribution, there is no closed-form solution for the lognormal reliability function. Solutions can be obtained via the use of standard normal tables. Since the application automatically solves for the reliability we will not discuss manual solution methods. For interested readers, full explanations can be found in the references.

### The Lognormal Conditional Reliability Function

The lognormal conditional reliability function is given by:

$R(t|T)=\frac{R(T+t)}{R(T)}=\frac{\int_{\text{ln}(T+t)}^{\infty }\tfrac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{x-{\mu }'}{{{\sigma' }}} \right)}^{2}}}}ds}{\int_{\text{ln}(T)}^{\infty }\tfrac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{x-{\mu }'}{{{\sigma' }}} \right)}^{2}}}}dx}\,\!$

Once again, the use of standard normal tables is necessary to solve this equation, as no closed-form solution exists.

### The Lognormal Reliable Life Function

As there is no closed-form solution for the lognormal reliability equation, no closed-form solution exists for the lognormal reliable life either. In order to determine this value, one must solve the following equation for $t\,\!$:

${{R}_{t}}=\int_{\text{ln}(t)}^{\infty }\frac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{x-{\mu }'}{{{\sigma' }}} \right)}^{2}}}}dx\,\!$

### The Lognormal Failure Rate Function

The lognormal failure rate is given by:

$\lambda (t)=\frac{f(t)}{R(t)}=\frac{\tfrac{1}{t\cdot {{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{(\tfrac{{t}'-{\mu }'}{{{\sigma' }}})}^{2}}}}}{\int_{{{t}'}}^{\infty }\tfrac{1}{{{\sigma' }}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{(\tfrac{x-{\mu }'}{{{\sigma' }}})}^{2}}}}dx}\,\!$

As with the reliability equations, standard normal tables will be required to solve for this function.

## Characteristics of the Lognormal Distribution

• The lognormal distribution is a distribution skewed to the right.
• The pdf starts at zero, increases to its mode, and decreases thereafter.
• The degree of skewness increases as ${{\sigma'}}\,\!$ increases, for a given $\mu'\,\!$
• For the same ${{\sigma'}}\,\!$, the pdf 's skewness increases as ${\mu }'\,\!$ increases.
• For ${{\sigma' }}\,\!$ values significantly greater than 1, the pdf rises very sharply in the beginning, (i.e., for very small values of $T\,\!$ near zero), and essentially follows the ordinate axis, peaks out early, and then decreases sharply like an exponential pdf or a Weibull pdf with $0<\beta <1\,\!$.
• The parameter, ${\mu }'\,\!$, in terms of the logarithm of the ${T}'s\,\!$ is also the scale parameter, and not the location parameter as in the case of the normal pdf.
• The parameter ${{\sigma'}}\,\!$, or the standard deviation of the ${T}'s\,\!$ in terms of their logarithm or of their ${T}'\,\!$, is also the shape parameter and not the scale parameter, as in the normal pdf, and assumes only positive values.

Lognormal Distribution Parameters in ReliaSoft's Software

In ReliaSoft's software, the parameters returned for the lognormal distribution are always logarithmic. That is: the parameter ${\mu }'\,\!$ represents the mean of the natural logarithms of the times-to-failure, while ${{\sigma' }}\,\!$ represents the standard deviation of these data point logarithms. Specifically, the returned ${{\sigma' }}\,\!$ is the square root of the variance of the natural logarithms of the data points. Even though the application denotes these values as mean and standard deviation, the user is reminded that these are given as the parameters of the distribution, and are thus the mean and standard deviation of the natural logarithms of the data. The mean value of the times-to-failure, not used as a parameter, as well as the standard deviation can be obtained through the QCP or the Function Wizard.

## Estimation of the Parameters

### Probability Plotting

As described before, probability plotting involves plotting the failure times and associated unreliability estimates on specially constructed probability plotting paper. The form of this paper is based on a linearization of the cdf of the specific distribution. For the lognormal distribution, the cumulative density function can be written as:

$F({t}')=\Phi \left( \frac{{t}'-{\mu }'}{{{\sigma'}}} \right)\,\!$

or:

${{\Phi }^{-1}}\left[ F({t}') \right]=-\frac{{{\mu }'}}{{{\sigma}'}}+\frac{1}{{{\sigma }'}}\cdot {t}'\,\!$

where:

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

Now, let:

$y={{\Phi }^{-1}}\left[ F({t}') \right]\,\!$
$a=-\frac{{{\mu }'}}{{{\sigma}'}}\,\!$

and:

$b=\frac{1}{{{\sigma}'}}\,\!$

which results in the linear equation of:

\begin{align} y=a+b{t}' \end{align}\,\!

The normal probability paper resulting from this linearized cdf function is shown next.

The process for reading the parameter estimate values from the lognormal probability plot is very similar to the method employed for the normal distribution (see The Normal Distribution). However, since the lognormal distribution models the natural logarithms of the times-to-failure, the values of the parameter estimates must be read and calculated based on a logarithmic scale, as opposed to the linear time scale as it was done with the normal distribution. This parameter scale appears at the top of the lognormal probability plot.

The process of lognormal probability plotting is illustrated in the following example.

#### Plotting Example

8 units are put on a life test and tested to failure. The failures occurred at 45, 140, 260, 500, 850, 1400, 3000, and 9000 hours. Estimate the parameters for the lognormal distribution using probability plotting.

Solution

In order to plot the points for the probability plot, the appropriate unreliability estimate values must be obtained. These will be estimated through the use of median ranks, which can be obtained from statistical tables or the Quick Statistical Reference in Weibull++. The following table shows the times-to-failure and the appropriate median rank values for this example:

$\begin{matrix} \text{Time-to-} & \text{Median} \\ \text{Failure (hr}\text{.)} & \text{Rank ( }\!\!%\!\!\text{ )} \\ \text{ 45} & \text{ 8}\text{.30 }\!\!%\!\!\text{ } \\ \text{ 140} & \text{20}\text{.11 }\!\!%\!\!\text{ } \\ \text{ 260} & \text{32}\text{.05 }\!\!%\!\!\text{ } \\ \text{ 500} & \text{44}\text{.02 }\!\!%\!\!\text{ } \\ \text{ 850} & \text{55}\text{.98 }\!\!%\!\!\text{ } \\ \text{1400} & \text{67}\text{.95 }\!\!%\!\!\text{ } \\ \text{3000} & \text{79}\text{.89 }\!\!%\!\!\text{ } \\ \text{9000} & \text{91}\text{.70 }\!\!%\!\!\text{ } \\ \end{matrix}\,\!$

These points may now be plotted on normal probability plotting paper as shown in the next figure.

Draw the best possible line through the plot points. The time values where this line intersects the 15.85% and 50% unreliability values should be projected up to the logarithmic scale, as shown in the following plot.

The natural logarithm of the time where the fitted line intersects is equivalent to ${\mu }'\,\!$. In this case, ${\mu }'=6.45\,\!$. The value for ${{\sigma }_{{{T}'}}}\,\!$ is equal to the difference between the natural logarithms of the times where the fitted line crosses $Q(t)=50%\,\!$ and $Q(t)=15.85%.\,\!$ At $Q(t)=15.85%\,\!$, ln $(t)=4.55\,\!$. Therefore, ${\sigma'}=6.45-4.55=1.9\,\!$.

### Rank Regression on Y

Performing a rank regression on Y requires that a straight line be fitted to a set of 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, or regression analysis, was discussed in Parameter Estimation and the following equations for regression on Y were derived, and are again applicable:

$\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:

${{y}_{i}}={{\Phi }^{-1}}\left[ F(t_{i}^{\prime }) \right]\,\!$

and:

${{x}_{i}}=t_{i}^{\prime }\,\!$

where the $F(t_{i}^{\prime })\,\!$ is estimated from the median ranks. Once $\widehat{a}\,\!$ and $\widehat{b}\,\!$ are obtained, then $\widehat{\sigma }\,\!$ and $\widehat{\mu }\,\!$ can easily be obtained from the above equations.

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

Lognormal Distribution RRY Example

14 units were reliability tested and the following life test data were obtained:

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

Assuming the data follow a lognormal distribution, estimate the parameters and the correlation coefficient, $\rho \,\!$, using rank regression on Y.

Solution

Construct a table like the one shown next.

$\overset{{}}{\mathop{\text{Least Squares Analysis}}}\,\,\!$
$\begin{matrix} N & t_{i} & F(t_{i}) & {t_{i}}'& y_{i} & {{t_{i}}'}^{2} & y_{i}^{2} & t_{i} y_{i} \\ \text{1} & \text{5} & \text{0}\text{.0483} & \text{1}\text{.6094}& \text{-1}\text{.6619} & \text{2}\text{.5903} & \text{2}\text{.7619} & \text{-2}\text{.6747} \\ \text{2} & \text{10} & \text{0}\text{.1170} & \text{2.3026}& \text{-1.1901} & \text{5.3019} & \text{1.4163} & \text{-2.7403} \\ \text{3} & \text{15} & \text{0}\text{.1865} & \text{2.7080}&\text{-0.8908} & \text{7.3335} & \text{0.7935} & \text{-2.4123} \\ \text{4} & \text{20} & \text{0}\text{.2561} & \text{2.9957} &\text{-0.6552} & \text{8.9744} & \text{0.4292} & \text{-1.9627} \\ \text{5} & \text{25} & \text{0}\text{.3258} & \text{3.2189}& \text{-0.4512} & \text{10.3612} & \text{0.2036} & \text{-1.4524} \\ \text{6} & \text{30} & \text{0}\text{.3954} & \text{3.4012}& \text{-0.2647} & \text{11.5681} & \text{0.0701} & \text{-0.9004} \\ \text{7} & \text{35} & \text{0}\text{.4651} & \text{3.5553} & \text{-0.0873} & \text{12.6405} & \text{-0.0076}& \text{-0.3102} \\ \text{8} & \text{40} & \text{0}\text{.5349} & \text{3.6889}& \text{0.0873} & \text{13.6078} & \text{0.0076} & \text{0.3219} \\ \text{9} & \text{50} & \text{0}\text{.6046} & \text{3.9120} & \text{0.2647} & \text{15.3039} & \text{0.0701} &\text{1.0357} \\ \text{10} & \text{60} & \text{0}\text{.6742} & \text{4.0943} & \text{0.4512} & \text{16.7637} & \text{0.2036}&\text{1.8474} \\ \text{11} & \text{70} & \text{0}\text{.7439} & \text{4.2485} & \text{0.6552} & \text{18.0497}& \text{0.4292} & \text{2.7834} \\ \text{12} & \text{80} & \text{0}\text{.8135} & \text{4.3820} & \text{0.8908} & \text{19.2022} & \text{0.7935} & \text{3.9035} \\ \text{13} & \text{90} & \text{0}\text{.8830} & \text{4.4998} & \text{1.1901} & \text{20.2483}&\text{1.4163} & \text{5.3552} \\ \text{14} & \text{100}& \text{0}\text{.9517} & \text{4.6052} & \text{1.6619} & \text{21.2076} &\text{2.7619} & \text{7.6533} \\ \sum_{}^{} & \text{ } & \text{ } & \text{49.222} & \text{0} & \text{183.1531} & \text{11.3646} & \text{10.4473} \\ \end{matrix}\,\!$

The median rank values ( $F({{t}_{i}})\,\!$ ) can be found in rank tables or by using the Quick Statistical Reference in Weibull++ .

The ${{y}_{i}}\,\!$ values were obtained from the standardized normal distribution's area tables by entering for $F(z)\,\!$ and getting the corresponding $z\,\!$ value ( ${{y}_{i}}\,\!$ ).

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

\begin{align} & \widehat{b}= & \frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime }{{y}_{i}}-(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime })(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}})/14}{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime 2}-{{(\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime })}^{2}}/14} \\ & & \\ & \widehat{b}= & \frac{10.4473-(49.2220)(0)/14}{183.1530-{{(49.2220)}^{2}}/14} \end{align}\,\!

or:

$\widehat{b}=1.0349\,\!$

and:

$\widehat{a}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\widehat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,t_{i}^{\prime }}{N}\,\!$

or:

$\widehat{a}=\frac{0}{14}-(1.0349)\frac{49.2220}{14}=-3.6386\,\!$

Therefore:

${\sigma'}=\frac{1}{\widehat{b}}=\frac{1}{1.0349}=0.9663\,\!$

and:

${\mu }'=-\widehat{a}\cdot {\sigma'}=-(-3.6386)\cdot 0.9663\,\!$

or:

\begin{align} {\mu }'=3.516 \end{align}\,\!

The mean and the standard deviation of the lognormal distribution are obtained using equations in the Lognormal Distribution Functions section above:

$\overline{T}=\mu ={{e}^{3.516+\tfrac{1}{2}{{0.9663}^{2}}}}=53.6707\text{ hours}\,\!$

and:

${\sigma}=\sqrt{({{e}^{2\cdot 3.516+{{0.9663}^{2}}}})({{e}^{{{0.9663}^{2}}}}-1)}=66.69\text{ hours}\,\!$

The correlation coefficient can be estimated as:

$\widehat{\rho }=0.9754\,\!$

The above example can be repeated using Weibull++ , using RRY.

The mean can be obtained from the QCP and both the mean and the standard deviation can be obtained from the Function Wizard.

### Rank Regression on X

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 cdf function into a linear form. This step is exactly the same as in regression on Y analysis and all the equations apply in this case too. The deviation from the previous analysis begins on the least squares fit part, where 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=\widehat{a}+\widehat{b}y\,\!$

The corresponding equations for $\widehat{a}\,\!$ and $\widehat{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:

${{y}_{i}}={{\Phi }^{-1}}\left[ F(t_{i}^{\prime }) \right]\,\!$

and:

${{x}_{i}}=t_{i}^{\prime }\,\!$

and the $F(t_{i}^{\prime })\,\!$ is estimated from the median ranks. Once $\widehat{a}\,\!$ and $\widehat{b}\,\!$ are obtained, solve the linear equation for the unknown $y\,\!$, which corresponds to:

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

Solving for the parameters we get:

$a=-\frac{\widehat{a}}{\widehat{b}}=-\frac{{{\mu }'}}{\sigma'}\,\!$

and:

$b=\frac{1}{\widehat{b}}=\frac{1}{\sigma'}\,\!$

The correlation coefficient is evaluated as before using equation in the previous section.

#### RRX Example

Lognormal Distribution RRX Example

Using the same data set from the RRY example given above, and assuming a lognormal distribution, estimate the parameters and estimate the correlation coefficient, $\rho \,\!$, using rank regression on X.

Solution

The table constructed for the RRY example also applies to this example as well. Using the values in this table we get:

\begin{align} & \hat{b}= & \frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime }{{y}_{i}}-\tfrac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime }\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}} \\ & & \\ & \widehat{b}= & \frac{10.4473-(49.2220)(0)/14}{11.3646-{{(0)}^{2}}/14} \end{align}\,\!

or:

$\widehat{b}=0.9193\,\!$

and:

$\hat{a}=\overline{x}-\hat{b}\overline{y}=\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,t_{i}^{\prime }}{14}-\widehat{b}\frac{\underset{i=1}{\overset{14}{\mathop{\sum }}}\,{{y}_{i}}}{14}\,\!$

or:

$\widehat{a}=\frac{49.2220}{14}-(0.9193)\frac{(0)}{14}=3.5159\,\!$

Therefore:

${\sigma'}=\widehat{b}=0.9193\,\!$

and:

${\mu }'=\frac{\widehat{a}}{\widehat{b}}{\sigma'}=\frac{3.5159}{0.9193}\cdot 0.9193=3.5159\,\!$

Using for Mean and Standard Deviation we get:

$\overline{T}=\mu =51.3393\text{ hours}\,\!$

and:

\begin{align} {\sigma'}=59.1682\text{ hours}. \end{align}\,\!

The correlation coefficient is found using the equation in previous section:

$\widehat{\rho }=0.9754.\,\!$

Note that the regression on Y analysis is not necessarily the same as the regression on X. The only time when the results of the two regression types are the same (i.e., will yield the same equation for a line) is when the data lie perfectly on a line.

Using Weibull++ , with the Rank Regression on X option, the results are:

### Maximum Likelihood Estimation

As it was 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. However, 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 lognormal distribution are covered in Appendix D .

See the discussion regarding bias with the normal distribution for information regarding parameter bias in the lognormal distribution.

#### MLE Example

Lognormal Distribution MLE Example

Using the same data set from the RRY and RRX examples given above and assuming a lognormal distribution, estimate the parameters using the MLE method.

Solution In this example we have only complete data. Thus, the partials reduce to:

\begin{align} & \frac{\partial \Lambda }{\partial {\mu }'}= & \frac{1}{\sigma'^{2}}\cdot \underset{i=1}{\overset{14}{\mathop \sum }}\,\ln ({{t}_{i}})-{\mu }'=0 \\ & \frac{\partial \Lambda }{\partial {{\sigma'}}}= & \underset{i=1}{\overset{14}{\mathop \sum }}\,\left( \frac{\ln ({{t}_{i}})-{\mu }'}{\sigma'^{3}}-\frac{1}{{{\sigma'}}} \right)=0 \end{align}\,\!

Substituting the values of ${{T}_{i}}\,\!$ and solving the above system simultaneously, we get:

\begin{align} & {{{\hat{\sigma' }}}}= & 0.849 \\ & {{{\hat{\mu }}}^{\prime }}= & 3.516 \end{align}\,\!

Using the equation for mean and standard deviation in the Lognormal Distribution Functions section above, we get:

$\overline{T}=\hat{\mu }=48.25\text{ hours}\,\!$

and:

${{\hat{\sigma }}}=49.61\text{ hours}.\,\!$

The variance/covariance matrix is given by:

$\left[ \begin{matrix} \widehat{Var}\left( {{{\hat{\mu }}}^{\prime }} \right)=0.0515 & {} & \widehat{Cov}\left( {{{\hat{\mu }}}^{\prime }},{{{\hat{\sigma'}}}} \right)=0.0000 \\ {} & {} & {} \\ \widehat{Cov}\left( {{{\hat{\mu }}}^{\prime }},{{{\hat{\sigma' }}}} \right)=0.0000 & {} & \widehat{Var}\left( {{{\hat{\sigma' }}}} \right)=0.0258 \\ \end{matrix} \right]\,\!$

## Confidence Bounds

The method used by the application in estimating the different types of confidence bounds for lognormally distributed data is presented in this section. Note that there are closed-form solutions for both the normal and lognormal reliability that can be obtained without the use of the Fisher information matrix. However, these closed-form solutions only apply to complete data. To achieve consistent application across all possible data types, Weibull++ always uses the Fisher matrix in computing confidence intervals. The complete derivations were presented in detail for a general function in Confidence Bounds. For a discussion on exact confidence bounds for the normal and lognormal, see The Normal Distribution.

### Fisher Matrix Bounds

#### Bounds on the Parameters

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

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

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

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

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

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

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

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

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

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

#### Bounds on Time(Type 1)

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

${t}'({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}})={{\widehat{\mu }}^{\prime }}+z\cdot {{\widehat{\sigma' }}}\,\!$

where:

$z={{\Phi }^{-1}}\left[ F({t}') \right]\,\!$

and:

$\Phi (z)=\frac{1}{\sqrt{2\pi }}\int_{-\infty }^{z({t}')}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\,\!$

The next step is to calculate the variance of ${T}'({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma }}}):\,\!$

\begin{align} & Var({{{\hat{t}}}^{\prime }})= & {{\left( \frac{\partial {t}'}{\partial {\mu }'} \right)}^{2}}Var({{\widehat{\mu }}^{\prime }})+{{\left( \frac{\partial {t}'}{\partial {{\sigma' }}} \right)}^{2}}Var({{\widehat{\sigma' }}}) \\ & & +2\left( \frac{\partial {t}'}{\partial {\mu }'} \right)\left( \frac{\partial {t}'}{\partial {{\sigma' }}} \right)Cov\left( {{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}} \right) \\ & & \\ & Var({{{\hat{t}}}^{\prime }})= & Var({{\widehat{\mu }}^{\prime }})+{{\widehat{z}}^{2}}Var({{\widehat{\sigma' }}})+2\cdot \widehat{z}\cdot Cov\left( {{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}} \right) \end{align}\,\!

The upper and lower bounds are then found by:

\begin{align} & t_{U}^{\prime }= & \ln {{t}_{U}}={{{\hat{t}}}^{\prime }}+{{K}_{\alpha }}\sqrt{Var({{{\hat{t}}}^{\prime }})} \\ & t_{L}^{\prime }= & \ln {{t}_{L}}={{{\hat{t}}}^{\prime }}-{{K}_{\alpha }}\sqrt{Var({{{\hat{t}}}^{\prime }})} \end{align}\,\!

Solving for ${{t}_{U}}\,\!$ and ${{t}_{L}}\,\!$ we get:

\begin{align} & {{t}_{U}}= & {{e}^{t_{U}^{\prime }}}\text{ (upper bound),} \\ & {{t}_{L}}= & {{e}^{t_{L}^{\prime }}}\text{ (lower bound)}\text{.} \end{align}\,\!

#### Bounds on Reliability (Type 2)

The reliability of the lognormal distribution is:

$\hat{R}(t;{{\hat{\mu }}^{'}},{{\hat{\sigma }}^{'}})=\int_{t'}^{\infty }{\frac{1}{{{{\hat{\sigma }}}^{'}}\sqrt{2\pi }}}{{e}^{-\frac{1}{2}{{\left( \frac{x-{{{\hat{\mu }}}^{'}}}{{{{\hat{\sigma }}}^{'}}} \right)}^{2}}}}dx\,\!$

where $t'=\ln (t)\,\!$. Let $\hat{z}(x)=\frac{x-{{{\hat{\mu }}}^{'}}}{{{\sigma }^{'}}}\,\!$, the above equation then becomes:

$\hat{R}\left( \hat{z}(t') \right)=\int_{\hat{z}(t')}^{\infty }{\frac{1}{\sqrt{2\pi }}}{{e}^{-\frac{1}{2}{{z}^{2}}}}dz\,\!$

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

\begin{align} & {{z}_{U}}= & \widehat{z}+{{K}_{\alpha }}\sqrt{Var(\widehat{z})} \\ & {{z}_{L}}= & \widehat{z}-{{K}_{\alpha }}\sqrt{Var(\widehat{z})} \end{align}\,\!

where:

\begin{align} & Var(\hat{z})=\left( \frac{\partial {z}}{\partial \mu '} \right)_{\hat{\mu }'}^{2}Var\left( \hat{\mu }' \right)+\left( \frac{\partial {z}}{\partial \sigma '} \right)_{\hat{\sigma }'}^{2}Var\left( \hat{\sigma }' \right) \\ & +2\left( \frac{\partial{z}}{\partial \mu '} \right)_{\hat{\mu }'}^{{}}\left( \frac{\partial {z}}{\partial \sigma '} \right)_{\hat{\sigma }'}^{{}}Cov\left( \hat{\mu }',\hat{\sigma }' \right) \end{align}\,\!

or:

$Var(\hat{z})=\frac{1}{{{{\hat{\sigma }}}^{'2}}}\left[ Var\left( \hat{\mu }' \right)+{{{\hat{z}}}^{2}}Var\left( \sigma ' \right)+2\cdot \hat{z}\cdot Cov\left( \hat{\mu }',\hat{\sigma }' \right) \right]\,\!$

The upper and lower bounds on reliability are:

\begin{align} & {{R}_{U}}= & \int_{{{z}_{L}}}^{\infty }\frac{1}{\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\text{ (Upper bound)} \\ & {{R}_{L}}= & \int_{{{z}_{U}}}^{\infty }\frac{1}{\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\text{ (Lower bound)} \end{align}\,\!

### Likelihood Ratio Confidence Bounds

#### Bounds on Parameters

As covered in Parameter Estimation, the likelihood confidence bounds are calculated by finding values for ${{\theta }_{1}}\,\!$ and ${{\theta }_{2}}\,\!$ that satisfy:

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

This equation can be rewritten as:

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

For complete data, the likelihood formula for the normal distribution is given by:

$L({\mu }',{{\sigma' }})=\underset{i=1}{\overset{N}{\mathop \prod }}\,f({{x}_{i}};{\mu }',{{\sigma' }})=\underset{i=1}{\overset{N}{\mathop \prod }}\,\frac{1}{{{x}_{i}}\cdot {{\sigma' }}\cdot \sqrt{2\pi }}\cdot {{e}^{-\tfrac{1}{2}{{\left( \tfrac{\text{ln}({{x}_{i}})-{\mu }'}{{{\sigma'}}} \right)}^{2}}}}\,\!$

where the ${{x}_{i}}\,\!$ values represent the original time-to-failure data. For a given value of $\alpha \,\!$, values for ${\mu }'\,\!$ and ${{\sigma' }}\,\!$ can be found which represent the maximum and minimum values that satisfy 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 on Parameters

Lognormal Distribution Likelihood Ratio Bound Example (Parameters)

Five units are put on a reliability test and experience failures at 45, 60, 75, 90, and 115 hours. Assuming a lognormal distribution, the MLE parameter estimates are calculated to be ${{\widehat{\mu }}^{\prime }}=4.2926\,\!$ and ${{\widehat{\sigma'}}}=0.32361.\,\!$ Calculate the two-sided 75% 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({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}})= & \underset{i=1}{\overset{N}{\mathop \prod }}\,f({{x}_{i}};{{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}}), \\ = & \underset{i=1}{\overset{N}{\mathop \prod }}\,\frac{1}{{{x}_{i}}\cdot {{\widehat{\sigma' }}}\cdot \sqrt{2\pi }}\cdot {{e}^{-\tfrac{1}{2}{{\left( \tfrac{\text{ln}({{x}_{i}})-{{\widehat{\mu }}^{\prime }}}{{{\widehat{\sigma' }}}} \right)}^{2}}}} \\ L({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma'}}})= & \underset{i=1}{\overset{5}{\mathop \prod }}\,\frac{1}{{{x}_{i}}\cdot 0.32361\cdot \sqrt{2\pi }}\cdot {{e}^{-\tfrac{1}{2}{{\left( \tfrac{\text{ln}({{x}_{i}})-4.2926}{0.32361} \right)}^{2}}}} \\ L({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma'}}})= & 1.115256\times {{10}^{-10}} \end{align}\,\!

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

$L({\mu }',{{\sigma' }})-L({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}})\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}=0\,\!$

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

\begin{align} & L({\mu }',{{\sigma' }})-L({{\widehat{\mu }}^{\prime }},{{\widehat{\sigma' }}})\cdot {{e}^{\tfrac{-\chi _{\alpha ;1}^{2}}{2}}}= & 0 \\ & L({\mu }',{{\sigma'}})-1.115256\times {{10}^{-10}}\cdot {{e}^{\tfrac{-1.323303}{2}}}= & 0 \\ & L({\mu }',{{\sigma'}})-5.754703\times {{10}^{-11}}= & 0 \end{align}\,\!

It now remains to find the values of ${\mu }'\,\!$ and ${{\sigma'}}\,\!$ which satisfy this equation. This is an iterative process that requires setting the value of ${{\sigma'}}\,\!$ and finding the appropriate values of ${\mu }'\,\!$, and vice versa.

The following table gives the values of ${\mu }'\,\!$ based on given values of ${{\sigma'}}\,\!$.

$\begin{matrix} {{\sigma' }} & \mu _{1}^{\prime } & \mu _{2}^{\prime } & {{\sigma' }} & \mu _{1}^{\prime } & \mu _{2}^{\prime } \\ 0.24 & 4.2421 & 4.3432 & 0.37 & 4.1145 & 4.4708 \\ 0.25 & 4.2115 & 4.3738 & 0.38 & 4.1152 & 4.4701 \\ 0.26 & 4.1909 & 4.3944 & 0.39 & 4.1170 & 4.4683 \\ 0.27 & 4.1748 & 4.4105 & 0.40 & 4.1200 & 4.4653 \\ 0.28 & 4.1618 & 4.4235 & 0.41 & 4.1244 & 4.4609 \\ 0.29 & 4.1509 & 4.4344 & 0.42 & 4.1302 & 4.4551 \\ 0.30 & 4.1419 & 4.4434 & 0.43 & 4.1377 & 4.4476 \\ 0.31 & 4.1343 & 4.4510 & 0.44 & 4.1472 & 4.4381 \\ 0.32 & 4.1281 & 4.4572 & 0.45 & 4.1591 & 4.4262 \\ 0.33 & 4.1231 & 4.4622 & 0.46 & 4.1742 & 4.4111 \\ 0.34 & 4.1193 & 4.4660 & 0.47 & 4.1939 & 4.3914 \\ 0.35 & 4.1166 & 4.4687 & 0.48 & 4.2221 & 4.3632 \\ 0.36 & 4.1150 & 4.4703 & {} & {} & {} \\ \end{matrix}\,\!$

These points are represented graphically in the following contour plot:

(Note that this plot is generated with degrees of freedom $k=1\,\!$, as we are only determining bounds on one parameter. The contour plots generated in Weibull++ are done with degrees of freedom $k=2\,\!$, for use in comparing both parameters simultaneously.) As can be determined from the table the lowest calculated value for ${\mu }'\,\!$ is 4.1145, while the highest is 4.4708. These represent the two-sided 75% confidence limits on this parameter. Since solutions for the equation do not exist for values of ${{\sigma' }}\,\!$ below 0.24 or above 0.48, these can be considered the two-sided 75% confidence limits for this parameter. In order to obtain more accurate values for the confidence limits on ${{\sigma'}}\,\!$, we can perform the same procedure as before, but finding the two values of $\sigma \,\!$ that correspond with a given value of ${\mu }'.\,\!$ Using this method, we find that the 75% confidence limits on ${{\sigma'}}\,\!$ are 0.23405 and 0.48936, which are close to the initial estimates of 0.24 and 0.48.

#### 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 normal reliability equation into the likelihood function. The normal reliability equation can be written as:

$R=1-\Phi \left( \frac{\text{ln}(t)-{\mu }'}{{{\sigma'}}} \right)\,\!$

This can be rearranged to the form:

${\mu }'=\text{ln}(t)-{{\sigma'}}\cdot {{\Phi }^{-1}}(1-R)\,\!$

where ${{\Phi }^{-1}}\,\!$ is the inverse standard normal. This equation can now be substituted into likelihood function to produce a likelihood equation in terms of ${{\sigma'}},\,\!$ $t\,\!$ and $R\,\!$:

$L({{\sigma'}},t/R)=\underset{i=1}{\overset{N}{\mathop \prod }}\,\frac{1}{{{x}_{i}}\cdot {{\sigma'}}\cdot \sqrt{2\pi }}\cdot {{e}^{-\tfrac{1}{2}{{\left( \tfrac{\text{ln}({{x}_{i}})-\left( \text{ln}(t)-{{\sigma'}}\cdot {{\Phi }^{-1}}(1-R) \right)}{{{\sigma'}}} \right)}^{2}}}}\,\!$

The unknown variable $t/R\,\!$ depends on what type of bounds are being determined. If one is trying to determine the bounds on time for a given reliability, then $R\,\!$ is a known constant and $t\,\!$ is the unknown variable. 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 variable. Either way, the above equation can be used to solve the likelihood ratio equation for the values of interest.

##### Example: LR Bounds on Time

Lognormal Distribution Likelihood Ratio Bound Example (Time)

For the same data set given for the parameter bounds example, determine the two-sided 75% confidence bounds on the time estimate for a reliability of 80%. The ML estimate for the time at $R(t)=80%\,\!$ is 55.718.

Solution

In this example, we are trying to determine the two-sided 75% confidence bounds on the time estimate of 55.718. This is accomplished by substituting $R=0.80\,\!$ and $\alpha =0.75\,\!$ into the likelihood function, and varying ${{\sigma' }}\,\!$ until the maximum and minimum values of $t\,\!$ are found. The following table gives the values of $t\,\!$ based on given values of ${{\sigma' }}\,\!$.

$\begin{matrix} {{\sigma' }} & {{t}_{1}} & {{t}_{2}} & {{\sigma' }} & {{t}_{1}} & {{t}_{2}} \\ 0.24 & 56.832 & 62.879 & 0.37 & 44.841 & 64.031 \\ 0.25 & 54.660 & 64.287 & 0.38 & 44.494 & 63.454 \\ 0.26 & 53.093 & 65.079 & 0.39 & 44.200 & 62.809 \\ 0.27 & 51.811 & 65.576 & 0.40 & 43.963 & 62.093 \\ 0.28 & 50.711 & 65.881 & 0.41 & 43.786 & 61.304 \\ 0.29 & 49.743 & 66.041 & 0.42 & 43.674 & 60.436 \\ 0.30 & 48.881 & 66.085 & 0.43 & 43.634 & 59.481 \\ 0.31 & 48.106 & 66.028 & 0.44 & 43.681 & 58.426 \\ 0.32 & 47.408 & 65.883 & 0.45 & 43.832 & 57.252 \\ 0.33 & 46.777 & 65.657 & 0.46 & 44.124 & 55.924 \\ 0.34 & 46.208 & 65.355 & 0.47 & 44.625 & 54.373 \\ 0.35 & 45.697 & 64.983 & 0.48 & 45.517 & 52.418 \\ 0.36 & 45.242 & 64.541 & {} & {} & {} \\ \end{matrix}\,\!$

This data set is represented graphically in the following contour plot:

As can be determined from the table, the lowest calculated value for $t\,\!$ is 43.634, while the highest is 66.085. These represent the two-sided 75% confidence limits on the time at which reliability is equal to 80%.

##### Example: LR Bounds on Reliability

Lognormal Distribution Likelihood Ratio Bound Example (Reliability)

For the same data set given above for the parameter bounds example, determine the two-sided 75% confidence bounds on the reliability estimate for $t=65\,\!$. The ML estimate for the reliability at $t=65\,\!$ is 64.261%.

Solution

In this example, we are trying to determine the two-sided 75% confidence bounds on the reliability estimate of 64.261%. This is accomplished by substituting $t=65\,\!$ and $\alpha =0.75\,\!$ into the likelihood function, and varying ${{\sigma'}}\,\!$ until the maximum and minimum values of $R\,\!$ are found. The following table gives the values of $R\,\!$ based on given values of ${{\sigma' }}\,\!$.

$\begin{matrix} {{\sigma'}} & {{R}_{1}} & {{R}_{2}} & {{\sigma'}} & {{R}_{1}} & {{R}_{2}} \\ 0.24 & 61.107% & 75.910% & 0.37 & 43.573% & 78.845% \\ 0.25 & 55.906% & 78.742% & 0.38 & 43.807% & 78.180% \\ 0.26 & 55.528% & 80.131% & 0.39 & 44.147% & 77.448% \\ 0.27 & 50.067% & 80.903% & 0.40 & 44.593% & 76.646% \\ 0.28 & 48.206% & 81.319% & 0.41 & 45.146% & 75.767% \\ 0.29 & 46.779% & 81.499% & 0.42 & 45.813% & 74.802% \\ 0.30 & 45.685% & 81.508% & 0.43 & 46.604% & 73.737% \\ 0.31 & 44.857% & 81.387% & 0.44 & 47.538% & 72.551% \\ 0.32 & 44.250% & 81.159% & 0.45 & 48.645% & 71.212% \\ 0.33 & 43.827% & 80.842% & 0.46 & 49.980% & 69.661% \\ 0.34 & 43.565% & 80.446% & 0.47 & 51.652% & 67.789% \\ 0.35 & 43.444% & 79.979% & 0.48 & 53.956% & 65.299% \\ 0.36 & 43.450% & 79.444% & {} & {} & {} \\ \end{matrix}\,\!$

This data set is represented graphically in the following contour plot:

As can be determined from the table, the lowest calculated value for $R\,\!$ is 43.444%, while the highest is 81.508%. These represent the two-sided 75% confidence limits on the reliability at $t=65\,\!$.

### Bayesian Confidence Bounds

#### Bounds on Parameters

From Parameter Estimation, we know that the marginal distribution of parameter ${\mu }'\,\!$ is:

\begin{align} f({\mu }'|Data)= & \int_{0}^{\infty }f({\mu }',{{\sigma'}}|Data)d{{\sigma'}} \\ = & \frac{\int_{0}^{\infty }L(Data|{\mu }',{{\sigma'}})\varphi ({\mu }')\varphi ({{\sigma'}})d{{\sigma'}}}{\int_{0}^{\infty }\int_{-\infty }^{\infty }L(Data|{\mu }',{{\sigma'}})\varphi ({\mu }')\varphi ({{\sigma'}})d{\mu }'d{{\sigma'}}} \end{align}\,\!

where:

$\varphi ({{\sigma '}})\,\!$ is $\tfrac{1}{{{\sigma '}}}\,\!$, non-informative prior of ${{\sigma '}}\,\!$.

$\varphi ({\mu }')\,\!$ is an uniform distribution from - $\infty \,\!$ to + $\infty \,\!$, non-informative prior of ${\mu }'\,\!$. With the above prior distributions, $f({\mu }'|Data)\,\!$ can be rewritten as:

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

The one-sided upper bound of ${\mu }'\,\!$ is:

$CL=P({\mu }'\le \mu _{U}^{\prime })=\int_{-\infty }^{\mu _{U}^{\prime }}f({\mu }'|Data)d{\mu }'\,\!$

The one-sided lower bound of ${\mu }'\,\!$ is:

$1-CL=P({\mu }'\le \mu _{L}^{\prime })=\int_{-\infty }^{\mu _{L}^{\prime }}f({\mu }'|Data)d{\mu }'\,\!$

The two-sided bounds of ${\mu }'\,\!$ is:

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

The same method can be used to obtained the bounds of ${{\sigma '}}\,\!$.

#### Bounds on Time (Type 1)

The reliable life of the lognormal distribution is:

\begin{align} \ln T={\mu }'+{{\sigma '}}{{\Phi }^{-1}}(1-R) \end{align}\,\!

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

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,(\ln t\le \ln {{t}_{U}})=\underset{}{\overset{}{\mathop{\Pr }}}\,({\mu }'+{{\sigma '}}{{\Phi }^{-1}}(1-R)\le \ln {{t}_{U}})\,\!$

The above equation can be rewritten in terms of ${\mu }'\,\!$ as:

$CL=\underset{}{\overset{}{\mathop{\Pr }}}\,({\mu }'\le \ln {{t}_{U}}-{{\sigma '}}{{\Phi }^{-1}}(1-R)\,\!$

From the posterior distribution of ${\mu }'\,\!$ get:

$CL=\frac{\int_{0}^{\infty }\int_{-\infty }^{\ln {{t}_{U}}-{{\sigma ‘}}{{\Phi }^{-1}}(1-R)}L({{\sigma '}},{\mu }')\tfrac{1}{{{\sigma '}}}d{\mu }'d{{\sigma '}}}{\int_{0}^{\infty }\int_{-\infty }^{\infty }L({{\sigma '}},{\mu }')\tfrac{1}{{{\sigma '}}}d{\mu }'d{{\sigma '}}}\,\!$

The above equation is solved w.r.t. ${{t}_{U}}.\,\!$ The same method can be applied for one-sided lower bounds 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 }}}\,({\mu }'\le \ln t-{{\sigma '}}{{\Phi }^{-1}}(1-{{R}_{U}}))\,\!$

From the posterior distribution of ${\mu }'\,\!$ is:

$CL=\frac{\int_{0}^{\infty }\int_{-\infty }^{\ln t-{{\sigma '}}{{\Phi }^{-1}}(1-{{R}_{U}})}L({{\sigma'}},{\mu }')\tfrac{1}{{{\sigma'}}}d{\mu }'d{{\sigma '}}}{\int_{0}^{\infty }\int_{-\infty }^{\infty }L({{\sigma '}},{\mu }')\tfrac{1}{{{\sigma '}}}d{\mu }'d{{\sigma '}}}\,\!$

The above equation is solved w.r.t. ${{R}_{U}}.\,\!$ The same method is used to calculate the one-sided lower bounds and two-sided bounds on Reliability.

#### Example: Bayesian Bounds

Lognormal Distribution Bayesian Bound Example (Parameters)

Determine the two-sided 90% Bayesian confidence bounds on the lognormal parameter estimates for the data given next:

$\begin{matrix} \text{Data Point Index} & \text{State End Time} \\ \text{1} & \text{2} \\ \text{2} & \text{5} \\ \text{3} & \text{11} \\ \text{4} & \text{23} \\ \text{5} & \text{29} \\ \text{6} & \text{37} \\ \text{7} & \text{43} \\ \text{8} & \text{59} \\ \end{matrix}\,\!$

Solution

The data points are entered into a times-to-failure data sheet. The lognormal distribution is selected under Distributions. The Bayesian confidence bounds method only applies for the MLE analysis method, therefore, Maximum Likelihood (MLE) is selected under Analysis Method and Use Bayesian is selected under the Confidence Bounds Method in the Analysis tab.

The two-sided 90% Bayesian confidence bounds on the lognormal parameter are obtained using the QCP and clicking on the Calculate Bounds button in the Parameter Bounds tab as follows:

## Lognormal Distribution Examples

### Complete Data Example

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

Data point index State F or S State End Time Non-Grouped Times-to-Failure Data 1 F 2 2 F 5 3 F 11 4 F 23 5 F 29 6 F 37 7 F 43 8 F 59

Solution

Using Weibull++, the computed parameters for maximum likelihood are:

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 2.83 \\ & {\hat{\sigma '}}= & 1.10 \end{align}\,\!

For rank regression on $X\,\!$

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 2.83 \\ & {{{\hat{\sigma' }}}}= & 1.24 \end{align}\,\!

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

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 2.83 \\ & {{{\hat{\sigma' }}}}= & 1.36 \end{align}\,\!

### Complete Data RRX Example

From Kececioglu [20, p. 347]. 15 identical units were tested to failure and following is a table of their failure times:

Times-to-Failure Data
$\begin{matrix} \text{Data Point Index} & \text{Failure Times (Hr)} \\ \text{1} & \text{62}\text{.5} \\ \text{2} & \text{91}\text{.9} \\ \text{3} & \text{100}\text{.3} \\ \text{4} & \text{117}\text{.4} \\ \text{5} & \text{141}\text{.1} \\ \text{6} & \text{146}\text{.8} \\ \text{7} & \text{172}\text{.7} \\ \text{8} & \text{192}\text{.5} \\ \text{9} & \text{201}\text{.6} \\ \text{10} & \text{235}\text{.8} \\ \text{11} & \text{249}\text{.2} \\ \text{12} & \text{297}\text{.5} \\ \text{13} & \text{318}\text{.3} \\ \text{14} & \text{410}\text{.6} \\ \text{15} & \text{550}\text{.5} \\ \end{matrix}\,\!$

Solution

Published results (using probability plotting):

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=5.22575 \\ {{\widehat{\sigma' }}}=0.62048. \\ \end{matrix}\,\!$

Weibull++ computed parameters for rank regression on X are:

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=5.2303 \\ {{\widehat{\sigma'}}}=0.6283. \\ \end{matrix}\,\!$

The small differences are due to the precision errors when fitting a line manually, whereas in Weibull++ the line was fitted mathematically.

### Complete Data Unbiased MLE Example

From Kececioglu [19, p. 406]. 9 identical units are tested continuously to failure and failure times were recorded at 30.4, 36.7, 53.3, 58.5, 74.0, 99.3, 114.3, 140.1 and 257.9 hours.

Solution

The results published were obtained by using the unbiased model. Published Results (using MLE):

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=4.3553 \\ {{\widehat{\sigma' }}}=0.67677 \\ \end{matrix}\,\!$

This same data set can be entered into Weibull++ by creating a data sheet capable of handling non-grouped time-to-failure data. Since the results shown above are unbiased, the Use Unbiased Std on Normal Data option in the User Setup must be selected in order to duplicate these results. Weibull++ computed parameters for maximum likelihood are:

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=4.3553 \\ {{\widehat{\sigma' }}}=0.6768 \\ \end{matrix}\,\!$

### Suspension Data Example

From Nelson [30, p. 324]. 96 locomotive controls were tested, 37 failed and 59 were suspended after running for 135,000 miles. The table below shows the failure and suspension times.

 Number in State F or S Time Nelson's Locomotive Data 1 1 F 22.5 2 1 F 37.5 3 1 F 46 4 1 F 48.5 5 1 F 51.5 6 1 F 53 7 1 F 54.5 8 1 F 57.5 9 1 F 66.5 10 1 F 68 11 1 F 69.5 12 1 F 76.5 13 1 F 77 14 1 F 78.5 15 1 F 80 16 1 F 81.5 17 1 F 82 18 1 F 83 19 1 F 84 20 1 F 91.5 21 1 F 93.5 22 1 F 102.5 23 1 F 107 24 1 F 108.5 25 1 F 112.5 26 1 F 113.5 27 1 F 116 28 1 F 117 29 1 F 118.5 30 1 F 119 31 1 F 120 32 1 F 122.5 33 1 F 123 34 1 F 127.5 35 1 F 131 36 1 F 132.5 37 1 F 134 38 59 S 135

Solution

The distribution used in the publication was the base-10 lognormal. Published results (using MLE):

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=2.2223 \\ {{\widehat{\sigma' }}}=0.3064 \\ \end{matrix}\,\!$

Published 95% confidence limits on the parameters:

$\begin{matrix} {{\widehat{\mu }}^{\prime }}=\left\{ 2.1336,2.3109 \right\} \\ {{\widehat{\sigma'}}}=\left\{ 0.2365,0.3970 \right\} \\ \end{matrix}\,\!$

Published variance/covariance matrix:

$\left[ \begin{matrix} \widehat{Var}\left( {{{\hat{\mu }}}^{\prime }} \right)=0.0020 & {} & \widehat{Cov}({{{\hat{\mu }}}^{\prime }},{{{\hat{\sigma' }}}})=0.001 \\ {} & {} & {} \\ \widehat{Cov}({{{\hat{\mu }}}^{\prime }},{{{\hat{\sigma' }}}})=0.001 & {} & \widehat{Var}\left( {{{\hat{\sigma '}}}} \right)=0.0016 \\ \end{matrix} \right]\,\!$

To replicate the published results (since Weibull++ uses a lognormal to the base $e\,\!$ ), take the base-10 logarithm of the data and estimate the parameters using the normal distribution and MLE.

• Weibull++ computed parameters for maximum likelihood are:
$\begin{matrix} {{\widehat{\mu }}^{\prime }}=2.2223 \\ {{\widehat{\sigma' }}}=0.3064 \\ \end{matrix}\,\!$

• Weibull++ computed 95% confidence limits on the parameters:
$\begin{matrix} {{\widehat{\mu }}^{\prime }}=\left\{ 2.1364,2.3081 \right\} \\ {{\widehat{\sigma'}}}=\left\{ 0.2395,0.3920 \right\} \\ \end{matrix}\,\!$

• Weibull++ computed/variance covariance matrix:
$\left[ \begin{matrix} \widehat{Var}\left( {{{\hat{\mu }}}^{\prime }} \right)=0.0019 & {} & \widehat{Cov}({{{\hat{\mu }}}^{\prime }},{{{\hat{\sigma' }}}})=0.0009 \\ {} & {} & {} \\ \widehat{Cov}({\mu }',{{{\hat{\sigma' }}}})=0.0009 & {} & \widehat{Var}\left( {{{\hat{\sigma' }}}} \right)=0.0015 \\ \end{matrix} \right]\,\!$

### Interval Data Example

Determine the lognormal parameter estimates for the data given in the table below.

Data point index Last Inspected State End Time Non-Grouped Data Times-to-Failure with Intervals 1 30 32 2 32 35 3 35 37 4 37 40 5 42 42 6 45 45 7 50 50 8 55 55

Solution

This is a sequence of interval times-to-failure where the intervals vary substantially in length. Using Weibull++, the computed parameters for maximum likelihood are calculated to be:

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 3.64 \\ & {{{\hat{\sigma' }}}}= & 0.18 \end{align}\,\!

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

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 3.64 \\ & {{{\hat{\sigma' }}}}= & 0.17 \end{align}\,\!

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

\begin{align} & {{{\hat{\mu }}}^{\prime }}= & 3.64 \\ & {{{\hat{\sigma' }}}}= & 0.21 \end{align}\,\!