# Lognormal Parameter Estimation

 Chapter 10.1: Lognormal Parameter Estimation

 Chapter 10.1 Lognormal Parameter Estimation

Available Software:
Weibull++

More Resources:
Weibull++ Examples Collection

Life Data Analysis (*.pdf)

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

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

or:

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

where:

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

Now, let:

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

and:

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

which results in the linear equation of:

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

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:

${\displaystyle {\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 ${\displaystyle {\mu }'\,\!}$. In this case, ${\displaystyle {\mu }'=6.45\,\!}$. The value for ${\displaystyle {{\sigma }_{{T}'}}\,\!}$ is equal to the difference between the natural logarithms of the times where the fitted line crosses ${\displaystyle Q(t)=50\%\,\!}$ and ${\displaystyle Q(t)=15.85\%.\,\!}$ At ${\displaystyle Q(t)=15.85\%\,\!}$, ln ${\displaystyle (t)=4.55\,\!}$. Therefore, ${\displaystyle {\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:

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

${\displaystyle {\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 ${\displaystyle {{y}_{i}}\,\!}$ and ${\displaystyle x_{i}\,\!}$ are:

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

and:

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

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

The Correlation Coefficient

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

${\displaystyle {\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, ${\displaystyle \rho \,\!}$, using rank regression on Y.

Solution

Construct a table like the one shown next.

${\displaystyle {\overset {}{\mathop {\text{Least Squares Analysis}} }}\,\,\!}$
${\displaystyle {\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 ( ${\displaystyle F({{t}_{i}})\,\!}$ ) can be found in rank tables or by using the Quick Statistical Reference in Weibull++ .

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

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

{\displaystyle {\begin{aligned}&{\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{aligned}}\,\!}

or:

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

and:

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

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

Therefore:

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

and:

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

or:

{\displaystyle {\begin{aligned}{\mu }'=3.516\end{aligned}}\,\!}

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

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

and:

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

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

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

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

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

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

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

and:

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

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

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

Solving for the parameters we get:

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

and:

${\displaystyle 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, ${\displaystyle \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:

{\displaystyle {\begin{aligned}&{\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{aligned}}\,\!}

or:

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

and:

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

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

Therefore:

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

and:

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

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

and:

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

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

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

{\displaystyle {\begin{aligned}&{\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{aligned}}\,\!}

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

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

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

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

and:

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

The variance/covariance matrix is given by:

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