Parameter Estimation

Parameter estimation refers to the process of using sample data (in our case times-to-failure or success data) to estimate the parameters of the selected distribution. Several parameter estimation methods are available. This section presents an overview of the available methods used in life data analysis. More specifically, we start with the relatively simple method of Probability Plotting and continue with the more sophisticated methods of Rank Regression (or Least Squares) and Maximum Likelihood Estimation.

=Probability Plotting= The least mathematically intensive method for parameter estimation is the method of probability plotting. As the term implies, probability plotting involves a physical plot of the data on specially constructed probability plotting paper. This method is easily implemented by hand, given that one can obtain the appropriate probability plotting paper.

Illustrating the Method
The method of probability plotting takes the cdf of the distribution and attempts to linearize it by employing a specially constructed paper. This is best illustrated using the 2-parameter Weibull distribution.

In the case of the two-parameter Weibull distribution, the cdf (also the unreliability Q(t)) is given by:


 * $$F(t)=Q(t)=1-{e^{-\left(\tfrac{t}{\eta}\right)^{\beta}}}$$

Linearizing the Weibull Unreliability Function This function can then be linearized (i.e., put in the common form of y = m'x + b format) as follows:


 * $$\begin{align}

Q(t)= & 1-{e^{-\left(\tfrac{t}{\eta}\right)^{\beta}}}  \\ \ln (1-Q(t))= & \ln \left[ {e^{-\left(\tfrac{t}{\eta}\right)^{\beta}}} \right] \\ \ln (1-Q(t))=& -\left(\tfrac{t}{\eta}\right)^{\beta} \\ \ln ( -\ln (1-Q(t)))= & \beta \left(\ln \left( \frac{t}{\eta }\right)\right) \\ \ln \left( \ln \left( \frac{1}{1-Q(t)}\right) \right) = & \beta\ln{ t} -\beta(\eta ) \\ \end{align}$$

Then by setting


 * $$y=\ln \left( \ln \left( \frac{1}{1-Q(t)} \right) \right)$$

and


 * $$x=\ln \left( t \right)$$

the equation can then be rewritten as:


 * $$y=\beta x-\beta \ln \left( \eta \right)$$

which is now a linear equation with a slope of


 * Slope = m = β

and an intercept of


 * Intercept$$=b=-\beta \cdot ln(\eta)$$.

Constructing the Paper

The next task is to construct the Weibull probability plotting paper with the appropriate y - and x-axes. The x-axis transformation is simply logarithmic. The y-axis, is a bit more complex requiring a double log reciprocal transformation, or


 * $$y=\ln \left(\ln \left( \frac{1}{1-Q(t)} ) \right) \right)$$

where Q(t) is the unreliability.

Such papers have been created by different vendors and are called probability plotting papers. Weibull.com has different plotting papers available for download.



To illustrate, consider the following probability plot on a slightly different type of Weibull probability paper.



This paper is constructed based on the mentioned y - and x - transformations, where the y-axis represents unreliability and the x-axis represents time. Both of these values must be known for each time-to-failure point we want to plot.

Then, given the y and x value for each point, the points can easily be put on the plot. Once the points have been placed on the plot, the best possible straight line is drawn through these points. Once the line has been drawn, the slope of the line can be obtained (some probability papers include a slope indicator to simplify this calculation). This is the parameter β, which is the value of the slope. To determine the scale parameter, η (also called the characteristic life), one reads the time from the x-axis corresponding to Q(t)=63.2%.

Note that at


 * $$\begin{align}

Q(t=\eta)= & 1-{{e}^{-{{\left( \tfrac{t}{\eta } \right)}^{\beta }}}} \\ = & 1-{{e}^{-1}} \\ = & 0.632 \\  = & 63.2%  \end{align}$$

Thus, if we enter the y axis at Q(t)=63.2%, the corresponding value of t will be equal to η. Thus, using this simple methodology, the parameters of the Weibull distribution can be estimated.

Determining the x and y Position of the Plot Points

The points on the plot represent our data or, more specifically, our times-to-failure data. If, for example, we tested four units that failed at 10, 20, 30 and 40 hours, then we would use these times as our x values or time values.

Determining the appropriate y plotting positions, or the unreliability values, is a little more complex. To determine the y plotting positions, we must first determine a value indicating the corresponding unreliability for that failure. In other words, we need to obtain the cumulative percent failed for each time-to-failure. For example, the cumulative percent failed by 10 hours may be 25%, by 20 hours 50%, and so forth. This is a simple method illustrating the idea. The problem with this simple method is the fact that the 100% point is not defined on most probability plots; thus, an alternative and more robust approach must be used. The most widely used method of determining this value is the method of obtaining the median rank for each failure. This is discussed next.

Median Ranks
Median ranks are used to obtain an estimate of the unreliability for each failure. It is the value that the true probability of failure, Q(Tj), should have at the jt'h failure out of a sample of N units at the 50% confidence level.

The rank can be found for any percentage point, P, greater than zero and less than one, by solving the cumulative binomial equation for Z. This represents the rank, or unreliability estimate, for the jt'h failure in the following equation for the cumulative binomial:


 * $$P=\underset{k=j}{\overset{N}{\mathop \sum }}\,\left( \begin{matrix}

N \\ k \\ \end{matrix} \right){{Z}^{k}}{{\left( 1-Z \right)}^{N-k}}$$

where N is the sample size and j the order number.

The median rank is obtained by solving this equation for Z at P = 0.50,


 * $$0.50=\underset{k=j}{\overset{N}{\mathop \sum }}\,\left( \begin{matrix}

N \\ k \\ \end{matrix} \right){{Z}^{k}}{{\left( 1-Z \right)}^{N-k}}$$

For example, if N=4 and we have four failures, we would solve the median rank equation for the value of Z four times; once for each failure with j= 1, 2, 3 and 4. This result can then be used as the unreliability estimate for each failure or the y plotting position. (See also The Weibull Distribution for a step-by-step example of this method.) The solution of cumulative binomial equation for Z requires the use of numerical methods.

Beta and F Distributions Approach
A more straightforward and easier method of estimating median ranks is by applying two transformations to the cumulative binomial equation, first to the beta distribution and then to the F distribution, resulting in [12, 13],


 * $$\begin{array}{*{35}{l}}

MR & = & \tfrac{1}{1+\tfrac{N-j+1}{j}{{F}_{0.50;m;n}}} \\ m & = & 2(N-j+1) \\ n & = & 2j \\ \end{array}$$

where F0.50;m;n denotes the F distribution at the 0.50 point, with m and n degrees of freedom, for failure j out of N units.

Benard's Approximation for Median Ranks
Another quick, and less accurate, approximation of the median ranks is also given by:


 * $$MR = \frac$$

This approximation of the median ranks is also known as Benard's approximation.

Kaplan-Meier
The Kaplan-Meier estimator (also known as the product limit estimator) is used as an alternative to the median ranks method for calculating the estimates of the unreliability for probability plotting purposes. The equation of the estimator is given by:
 * $$\widehat{F}({{t}_{i}})=1-\underset{j=1}{\overset{i}{\mathop \prod }}\,\frac{{{n}_{j}}-{{r}_{j}}},\text{ }i=1,...,m$$

where:
 * $$\begin{align}

m = & {\text{total number of data points}} \\ n = & {\text{the total number of units}} \\ {n_i} = & n - \sum_{j = 0}^{i - 1}{s_j} - \sum_{j = 0}^{i - 1}{r_j}, \text{i = 1,...,m }\\ {r_j} = & {\text{ number of failures in the }}{j^{th}}{\text{ data group, and}} \\ {s_j} = & {\text{number of surviving units in the }}{j^{th}}{\text{ data group}} \\ \end{align} $$

Analysis of Right Censored (Suspended) Data
All available data should be considered in the analysis of times-to-failure data. This includes the case when a particular unit in a sample has been removed from the test prior to failure. An item, or unit, which is removed from a reliability test prior to failure, or a unit which is in the field and is still operating at the time the reliability of these units is to be determined, is called a suspended item or right censored observation or right censored data point''. ''Suspended items analysis would also be considered when:


 * 1) We need to make an analysis of the available results before test completion.
 * 2) The failure modes which are occurring are different than those anticipated and such units are withdrawn from the test.
 * 3) We need to analyze a single mode and the actual data set comprises multiple modes.
 * 4) A warranty analysis is to be made of all units in the field (non-failed and failed units). The non-failed units are considered to be suspended items (or right censored).

Probability Plotting and Rank Regression Analysis of Right Censored Data
When using the probability plotting or rank regression method to accommodate the fact that units in the data set did not fail, or were suspended, we need to adjust their probability of failure, or unreliability. As discussed before, estimates of the unreliability for complete data are obtained using the median ranks approach. The following methodology illustrates how adjusted median ranks are computed to account for right censored data. To better illustrate the methodology, consider the following example in [20] where five items are tested resulting in three failures and two suspensions.

The methodology for plotting suspended items involves adjusting the rank positions and plotting the data based on new positions, determined by the location of the suspensions. If we consider these five units, the following methodology would be used: The first item must be the first failure; hence, it is assigned failure order number j = 1. The actual failure order number (or position) of the second failure, F2, is in doubt. It could either be in position 2 or in position 3. Had S1 not been withdrawn from the test at 9,500 hours, it could have operated successfully past 15,000 hours, thus placing F2 in position 2. Alternatively, S1 could also have failed before 15,000 hours, thus placing F2 in position 3. In this case, the failure order number for F2 will be some number between 2 and 3. To determine this number, consider the following:

We can find the number of ways the second failure can occur in either order number 2 (position 2) or order number 3 (position 3). The possible ways are listed next.

It can be seen that F2 can occur in the second position six ways and in the third position two ways. The most probable position is the average of these possible ways, or the mean order number ( MON ), given by:


 * $${{F}_{2}}=MO{{N}_{2}}=\frac{(6\times 2)+(2\times 3)}{6+2}=2.25$$

Using the same logic on the third failure, it can be located in position numbers 3, 4 and 5 in the possible ways listed next.

Then, the mean order number for the third failure, (Item 5) is:


 * $$MO{{N}_{3}}=\frac{(2\times 3)+(3\times 4)+(3\times 5)}{2+3+3}=4.125$$

Once the mean order number for each failure has been established, we obtain the median rank positions for these failures at their mean order number. Specifically, we obtain the median rank of the order numbers 1, 2.25 and 4.125 out of a sample size of 5, as given next.

Once the median rank values have been obtained, the probability plotting analysis is identical to that presented before. As you might have noticed, this methodology is rather laborious. Other techniques and shortcuts have been developed over the years to streamline this procedure. For more details on this method, see Kececioglu [20].

Shortfalls of this Rank Adjustment Method
Even though the rank adjustment method is the most widely used method for performing suspended items analysis, we would like to point out the following shortcoming. As you may have noticed from this analysis of suspended items, only the position where the failure occurred is taken into account, and not the exact time-to-suspension. For example, this methodology would yield the exact same results for the next two cases.

This shortfall is significant when the number of failures is small and the number of suspensions is large and not spread uniformly between failures, as with these data. In cases like this, it is highly recommended that one use maximum likelihood estimation (MLE) to estimate the parameters instead of using least squares, since maximum likelihood does not look at ranks or plotting positions, but rather considers each unique time-to-failure or suspension. For the data given above, the results are as follows. The estimated parameters using the method just described are the same for both cases (1 and 2):


 * $$\begin{array}{*{35}{l}}

\widehat{\beta }= & \text{0}\text{.81} \\ \widehat{\eta }= & \text{11,417 hr} \\ \end{array} $$

However, the MLE results for Case 1 are:


 * $$\begin{array}{*{35}{l}}

\widehat{\beta }= & \text{1}\text{.33} \\ \widehat{\eta }= & \text{6,900 hr} \\ \end{array}$$

and the MLE results for Case 2 are:


 * $$\begin{array}{*{35}{l}}

\widehat{\beta }= & \text{0}\text{.9337} \\ \widehat{\eta }= & \text{21,348 hr} \\ \end{array}$$

As we can see, there is a sizable difference in the results of the two sets calculated using MLE and the results using regression. The results for both cases are identical when using the regression estimation technique, as regression considers only the positions of the suspensions. The MLE results are quite different for the two cases, with the second case having a much larger value of η, which is due to the higher values of the suspension times in Case 2. This is because the maximum likelihood technique, unlike rank regression, considers the values of the suspensions when estimating the parameters. This is illustrated in the section MLE Analysis of Right Censored Data.

Probability Plots for Other Distributions
This same methodology can be applied to other distributions which have cdf equations that can be linearized. Different probability papers exist for each distribution, since different distributions have different cdf equations. Weibull++ automatically creates these plots for you when choosing a probability plot for a particular distribution. Special scales on these plots allow the parameter estimates to be derived directly from the plots, similar to the way β and η were obtained from the Weibull probability plot. These are discussed in the individual distribution chapters.

Some Shortfalls of Manual Probability Plotting
Besides the most obvious drawback to probability plotting, which is the amount of effort required, manual probability plotting is not always consistent in the results. Two people plotting a straight line through a set of points will not always draw this line the same way, and thus will come up with slightly different results. This method was used primarily before the widespread use of computers that could easily perform the calculations for more complicated parameter estimation methods, such as the least squares and maximum likelihood methods.

= Least Squares Parameter Estimation = Using the idea of probability plotting, regression analysis mathematically fits the best straight line to a set of points, in an attempt to estimate the parameters. Essentially, this is a mathematically based version of the probability plotting method discussed previously.

Background Theory
The method of linear least squares is used for all regression analysis performed by Weibull++, except for the cases of the three-parameter Weibull, mixed Weibull, gamma and generalized gamma distributions, where a non-linear regression technique is employed. The terms linear regression and least squares are used synonymously in this reference. In Weibull++, the term rank regression is used instead of least squares, or linear regression, because the regression is performed on the rank values, more specifically, the median rank values (represented on the y-axis). The method of least squares requires that a straight line be fitted to a set of data points, such that the sum of the squares of the distance of the points to the fitted line is minimized. This minimization can be performed in either the vertical or horizontal direction. If the regression is on X, then the line is fitted so that the horizontal deviations from the points to the line are minimized. If the regression is on Y, then this means that the distance of the vertical deviations from the points to the line is minimized. This is illustrated in the following figure.



Rank Regression on Y
Assume that a set of data pairs (x1,y1), (x2,y2) ,..., (xN,yN) were obtained and plotted, and that the x -values are known exactly. Then, according to the least squares principle, which minimizes the vertical distance between the data points and the straight line fitted to the data, the best fitting straight line to these data is the straight line $$y=\hat{a}+\hat{b}x$$ (where the recently introduced ($$\hat{ }$$) symbol indicates that this value is an estimate) such that:

$$\sum\limits_{i=1}^{N}{{{\left( \hat{a}+\hat{b}{{x}_{i}}-{{y}_{i}} \right)}^{2}}=\min \sum\limits_{i=1}^{N}}$$

and where $$\hat{a}$$ and $$\hat b$$ are the least squares estimates of a and b ,and N is the number of data points. These equations are minimized by estimates of $$\widehat a$$ and $$\widehat{b}$$ such that:


 * $$\hat{a}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}=\bar{y}-\hat{b}\bar{x}$$

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{N}}$$

Rank Regression on X
Assume that a set of data pairs .., (x2,y2) ,..., (xN,yN) were obtained and plotted, and that the y-values are known exactly. The same least squares principle is applied, but this time, minimizing the horizontal distance between the data points and the straight line fitted to the data. The best fitting straight line to these data is the straight line $$x=\widehat{a}+\widehat{b}y$$ such that:


 * $$\underset{i=1}{\overset{N}{\mathop \sum }}\,{{(\widehat{a}+\widehat{b}{{y}_{i}}-{{x}_{i}})}^{2}}=min(a,b)\underset{i=1}{\overset{N}{\mathop \sum }}\,{{(a+b{{y}_{i}}-{{x}_{i}})}^{2}}$$

Again, $$\widehat{a}$$ and $$\widehat b$$ are the least squares estimates of and b, and N is the number of data points. These equations are minimized by estimates of $$\widehat a$$ and $$\widehat{b}$$ such that:


 * $$\hat{a}=\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{x}_{i}}}{N}-\hat{b}\frac{\underset{i=1}{\overset{N}{\mathop{\sum }}}\,{{y}_{i}}}{N}=\bar{x}-\hat{b}\bar{y}$$


 * and:


 * $$\widehat{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{N}}$$

The corresponding relations for determining the parameters for specific distributions (i.e., Weibull, exponential, etc.), are presented in the chapters covering that distribution.

The Correlation Coefficient
The correlation coefficient is a measure of how well the linear regression model fits the data and is usually denoted by ρ. In the case of life data analysis, it is a measure for the strength of the linear relation (correlation) between the median ranks and the data. The population correlation coefficient is defined as follows:


 * $$\rho =\frac$$

where σx'y = covariance of x and y, σx = standard deviation of x , and σy = standard deviation of y''.

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


 * $$\hat{\rho }=\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}}{\sqrt{\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,x_{i}^{2}-\tfrac{N} \right)\left( \underset{i=1}{\overset{N}{\mathop{\sum }}}\,y_{i}^{2}-\tfrac{N} \right)}}$$

The range of $$\hat \rho $$ is $$-1\le \hat{\rho }\le 1.$$



The closer the value is to $$\pm 1$$, the better the linear fit. Note that +1 indicates a perfect fit (the paired values ( xi,yi ) lie on a straight line) with a positive slope, while -1 indicates a perfect fit with a negative slope. A correlation coefficient value of zero would indicate that the data are randomly scattered and have no pattern or correlation in relation to the regression line model.

ReliaSoft's Ranking Method (RRM)
When analyzing interval data, it is commonplace to assume that the actual failure time occurred at the midpoint of the interval. To be more conservative, you can use the starting point of the interval or you can use the end point of the interval to be most optimistic. Weibull++ allows you to employ ReliaSoft's ranking method (RRM) when analyzing interval data. Using an iterative process, this ranking method is an improvement over the standard ranking method (SRM). For more details on this method see ReliaSoft's Ranking Method.

Comments on the Least Squares Method
The least squares estimation method is quite good for functions that can be linearized.undefined For these distributions, the calculations are relatively easy and straightforward, having closed-form solutions which can readily yield an answer without having to resort to numerical techniques or tables. Furthermore, this technique provides a good measure of the goodness-of-fit of the chosen distribution in the correlation coefficient. Least squares is generally best used with data sets containing complete data, that is, data consisting only of single times-to-failure with no censored or interval data. The Life Data Classification chapter details the different data types, including complete, left censored, right censored (or suspended) and interval data.

See also


 * Least Squares/Rank Regression Equations
 * Discussion on using grouped data with regression methods at Grouped Data Analysis.

= Maximum Likelihood Parameter Estimation = From a statistical point of view, the method of maximum likelihood estimation is, with some exceptions, considered to be the most robust of the parameter estimation techniques discussed here. This method is presented in this section for complete data, that is, data consisting only of single times-to-failure.

Background
The basic idea behind MLE is to obtain the most likely values of the parameters, for a given distribution, that will best describe the data. As an example, consider the following data (-3, 0, 4) and assume that you are trying to estimate the mean of the data. Now, if you have to choose the most likely value for the mean from -5, 1 and 10, which one would you choose? In this case, the most likely value is 1 (given your limit on choices). Similarly, under MLE, one determines the most likely values for the parameters of the assumed distribution. It is mathematically formulated as follows.

If x is a continuous random variable with pdf:


 * f(x;θ1,θ2,...,θk)

where θ1,θ2,...,θk are k unknown parameters which need to be estimated, with R independent observations,$${{x}_{1,}}{{x}_{2}},\cdots ,{{x}_{R}}$$, which correspond in the case of life data analysis to failure times. The likelihood function is given by:


 * $$L({{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}|{{x}_{1}},{{x}_{2}},...,{{x}_{R}})=L=\underset{i=1}{\overset{R}{\mathop \prod }}\,f({{x}_{i}};{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}})

$$


 * i = 1,2,...,R

The logarithmic likelihood function is given by:

undefined


 * $$\Lambda = \ln L =\sum_{i = 1}^R \ln f({x_i};{\theta _1},{\theta _2},...,{\theta _k})

$$

The maximum likelihood estimators (or parameter values) of θ1,θ2,...,θk, are obtained by maximizing L or Λ.

By maximizing Λ, which is much easier to work with than L, the maximum likelihood estimators (MLE) of θ1,θ2,...,θk are the simultaneous solutions of k equations such that:


 * $$\frac{\partial{\Lambda}}{\partial{\theta_j}}=0, \text{ j=1,2...,k}

$$

Even though it is common practice to plot the MLE solutions using median ranks (points are plotted according to median ranks and the line according to the MLE solutions), this is not completely representative. As can be seen from the equations above, the MLE method is independent of any kind of ranks. For this reason, the MLE solution often appears not to track the data on the probability plot. This is perfectly acceptable since the two methods are independent of each other, and in no way suggests that the solution is wrong.

MLE Analysis of Right Censored Data
When performing maximum likelihood analysis on data with suspended items, the likelihood function needs to be expanded to take into account the suspended items. The overall estimation technique does not change, but another term is added to the likelihood function to account for the suspended items. Beyond that, the method of solving for the parameter estimates remains the same. For example, consider a distribution where x is a continuous random variable with pdf and cdf :


 * $$\begin{align}

& f(x;{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}) \\ & F(x;{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}) \end{align} $$

where θ1,θ2,...,θk are the unknown parameters which need to be estimated from R observed failures at T1,T2...TR, and M observed suspensions at S1,S2 ... SM, then the likelihood function is formulated as follows:


 * $$\begin{align}

L({{\theta }_{1}},...,{{\theta }_{k}}|{{T}_{1}},...,{{T}_{R,}}{{S}_{1}},...,{{S}_{M}})= & \underset{i=1}{\overset{R}{\mathop \prod }}\,f({{T}_{i}};{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}) \\ & \cdot \underset{j=1}{\overset{M}{\mathop \prod }}\,[1-F({{S}_{j}};{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}})] \end{align}$$

The parameters are solved by maximizing this equation. In most cases, no closed-form solution exists for this maximum or for the parameters. Solutions specific to each distribution utilizing MLE are presented in Appendix: Distribution Log-Likelihood Equations.

MLE Analysis of Interval and Left Censored Data
The inclusion of left and interval censored data in an MLE solution for parameter estimates involves adding a term to the likelihood equation to account for the data types in question. When using interval data, it is assumed that the failures occurred in an interval; i.e., in the interval from time A to time B (or from time 0 to time B if left censored), where A &lt; B. In the case of interval data, and given P interval observations, the likelihood function is modified by multiplying the likelihood function with an additional term as follows:


 * $$\begin{align}

L({{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}|{{x}_{1}},{{x}_{2}},...,{{x}_{P}})= & \underset{i=1}{\overset{P}{\mathop \prod }}\,\{F({{x}_{i}};{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}}) \\ & \ \ -F({{x}_{i-1}};{{\theta }_{1}},{{\theta }_{2}},...,{{\theta }_{k}})\} \end{align} $$

Note that if only interval data are present, this term will represent the entire likelihood function for the MLE solution. The next section gives a formulation of the complete likelihood function for all possible censoring schemes.

The Complete Likelihood Function
We have now seen that obtaining MLE parameter estimates for different types of data involves incorporating different terms in the likelihood function to account for complete data, right censored data, and left, interval censored data. After including the terms for the different types of data, the likelihood function can now be expressed in its complete form or,


 * $$\begin{array}{*{35}{l}}

L= & \underset{i=1}{\mathop{\overset{R}{\mathop{\prod }}\,}}\,f({{T}_{i}};{{\theta }_{1}},...,{{\theta }_{k}})\cdot \underset{j=1}{\mathop{\overset{M}{\mathop{\prod }}\,}}\,[1-F({{S}_{j}};{{\theta }_{1}},...,{{\theta }_{k}})] \\ & \cdot \underset{l=1}{\mathop{\overset{P}{\mathop{\prod }}\,}}\,\left\{ F({{I}_};{{\theta }_{1}},...,{{\theta }_{k}})-F({{I}_};{{\theta }_{1}},...,{{\theta }_{k}}) \right\} \\ \end{array} $$


 * where


 * $$ L\to L({{\theta }_{1}},...,{{\theta }_{k}}|{{T}_{1}},...,{{T}_{R}},{{S}_{1}},...,{{S}_{M}},{{I}_{1}},...{{I}_{P}}),$$


 * and
 * R is the number of units with exact failures
 * M is the number of suspended units
 * P is the number of units with left censored or interval times-to-failure
 * θk are the parameters of the distribution
 * Ti is the it'h time to failure
 * Sj is the jt'h time of suspension
 * $${{I}_}$$ is the ending of the time interval of the lt'h group
 * $${{I}_}$$ is the beginning of the time interval of the lt'h group

The total number of units is N = R + M + P. It should be noted that in this formulation, if either R, M or P is zero then the product term associated with them is assumed to be one and not zero.

Comments on the MLE Method
The MLE method has many large sample properties that make it attractive for use. It is asymptotically consistent, which means that as the sample size gets larger, the estimates converge to the right values. It is asymptotically efficient, which means that for large samples, it produces the most precise estimates. It is asymptotically unbiased, which means that for large samples, one expects to get the right value on average. The distribution of the estimates themselves is normal, if the sample is large enough, and this is the basis for the usual Fisher Matrix confidence bounds discussed later. These are all excellent large sample properties.

Unfortunately, the size of the sample necessary to achieve these properties can be quite large: thirty to fifty to more than a hundred exact failure times, depending on the application. With fewer points, the methods can be badly biased. It is known, for example, that MLE estimates of the shape parameter for the Weibull distribution are badly biased for small sample sizes, and the effect can be increased depending on the amount of censoring. This bias can cause major discrepancies in analysis. There are also pathological situations when the asymptotic properties of the MLE do not apply. One of these is estimating the location parameter for the three-parameter Weibull distribution when the shape parameter has a value close to 1. These problems, too, can cause major discrepancies.

However, MLE can handle suspensions and interval data better than rank regression, particularly when dealing with a heavily censored data set with few exact failure times or when the censoring times are unevenly distributed. It can also provide estimates with one or no observed failures, which rank regression cannot do. As a rule of thumb, our recommendation is to use rank regression techniques when the sample sizes are small and without heavy censoring (censoring is discussed in the Life Data Classifications chapter). When heavy or uneven censoring is present, when a high proportion of interval data is present and/or when the sample size is sufficient, MLE should be preferred.

See also


 * More details on Maximum Likelihood Parameter Estimation
 * Discussion on using grouped data with MLE at Grouped Data Analysis.

=Bayesian Parameter Estimation Methods= Up to this point, we have dealt exclusively with what is commonly referred to as classical statistics. In this section, another school of thought in statistical analysis will be introduced, namely Bayesian statistics. The premise of Bayesian statistics (within the context of life data analysis) is to incorporate prior knowledge, along with a given set of current observations, in order to make statistical inferences. The prior information could come from operational or observational data, from previous comparable experiments or from engineering knowledge. This type of analysis can be particularly useful when there is limited test data for a given design or failure mode but there is a strong prior understanding of the failure rate behavior for that design or mode. By incorporating prior information about the parameter(s), a posterior distribution for the parameter(s) can be obtained and inferences on the model parameters and their functions can be made. This section is intended to give a quick and elementary overview of Bayesian methods, focused primarily on the material necessary for understanding the Bayesian analysis methods available in Weibull++. Extensive coverage of the subject can be found in numerous books dealing with Bayesian statistics.

Bayes’s Rule
Bayes’s rule provides the framework for combining prior information with sample data. In this reference, we apply Bayes’s rule for combining prior information on the assumed distribution's parameter(s)  with sample data in order to make inferences based on the model. The prior knowledge about the parameter(s) is expressed in terms of a    $$\varphi (\theta ),$$ called the prior distribution. The posterior distribution of $$\theta $$ given the sample data, using Bayes rule, provides the updated information about the parameters $$\theta $$. This is expressed with the following posterior $$pdf$$:


 * $$ f(\theta |Data) = \frac{L(Data|\theta )\varphi (\theta )}{\int_{\zeta}^{} L(Data|\theta )\varphi(\theta )d (\theta)}

$$


 * where:


 * $$\theta $$ is a vector of the parameters of the chosen distribution,
 * $$\zeta$$ is the range of $$\theta$$ ,
 * $$ L(Data|\theta)$$ is the likelihood function based on the chosen distribution and data
 * $$\varphi(\theta )$$ is the prior distribution for each of the parameters.

The integral in the Bayes' rule equation is often referred to as the marginal probability, which is a constant number that can be interpreted as the probability of obtaining the sample data given a prior distribution. Generally, the integral in the Bayes' rule equation does not have a closed form solution and numerical methods are needed for its solution.

As can be seen from the Bayes' rule equation, there is a significant difference between classical and Bayesian statistics. First, the idea of prior information does not exist in classical statistics. All inferences in classical statistics are based on the sample data. On the other hand, in the Bayesian framework, prior information constitutes the basis of the theory. Another difference is in the overall approach of making inferences and their interpretation. For example, in Bayesian analysis, the parameters of the distribution to be fitted are the random variables. In reality, there is no distribution fitted to the data in the Bayesian case.

For instance, consider the case where data is obtained from a reliability test. Based on prior experience on a similar product, the analyst believes that the shape parameter of the Weibull distribution has a value between $${\beta _1}$$ and $${{\beta }_{2}}$$ and wants to utilize this information. This can be achieved by using the Bayes theorem. At this point, the analyst is automatically forcing the Weibull distribution as a model for the data and with a shape parameter between $${\beta _1}$$ and $${\beta _2}$$. In this example, the range of values for the shape parameter is the prior distribution, which in this case is Uniform. By applying the Bayes' rule, the posterior distribution of the shape parameter will be obtained. Thus, we end up with a distribution for the parameter rather than an estimate of the parameter, as in classical statistics.

To better illustrate the example, assume that a set of failure data was provided along with a distribution for the shape parameter (i.e., uniform prior) of the Weibull (automatically assuming that the data are Weibull distributed). Based on that, a new distribution (the posterior) for that parameter is then obtained using Bayes' rule. This posterior distribution of the parameter may or may not resemble in form the assumed prior distribution. In other words, in this example the prior distribution of $$\beta $$ was assumed to be uniform but the posterior is most likely not a uniform distribution.

The question now becomes: what is the value of the shape parameter? What about the reliability and other results of interest? In order to answer these questions, we have to remember that in the Bayesian framework all of these metrics are random variables. Therefore, in order to obtain an estimate, a probability needs to be specified or we can use the expected value of the posterior distribution.

In order to demonstrate the procedure of obtaining results from the posterior distribution, we will rewrite Bayes' rule equation for a single parameter $${\theta _1}$$:


 * $$ f(\theta |Data) = \frac{L(Data|\theta_1 )\varphi (\theta_1 )}{\int_{\zeta}^{} L(Data|\theta_1 )\varphi(\theta_1 )d (\theta)}

$$

The expected value (or mean value) of the parameter $${{\theta }_{1}}$$ can be obtained using the equation for the mean and the Bayes' rule equation for single parameter:


 * $$E({\theta _1}) = {m_} = \int_{\zeta}^{}{\theta _1} \cdot f({\theta _1}|Data)d{\theta _1}$$

An alternative result for $${\theta _1}$$  would be the median value. Using the equation for the median and the Bayes' rule equation for single parameter:


 * $$\int_{-\infty ,0}^{{\theta }_{0.5}}f({{\theta }_{1}}|Data)d{{\theta }_{1}}=0.5$$

The equation for the median is solved for $${\theta _{0.5}}$$ the median value of $${\theta _1}$$

Similarly, any other percentile of the posterior $$pdf$$ can be calculated and reported. For example, one could calculate the $$90th$$ percentile of $${\theta _1}$$’s posterior $$pdf$$:


 * $$\int_{-\infty ,0}^f({{\theta }_{1}}|Data)d{{\theta }_{1}}=0.9$$

This calculation will be used in Confidence Bounds and The Weibull Distribution for obtaining confidence bounds on the parameter(s).undefined

The next step will be to make inferences on the reliability. Since the parameter $${\theta _1}$$ is a random variable described by the posterior $$pdf,$$ all subsequent functions of $${{\theta }_{1}}$$ are distributed random variables as well and are entirely based on the posterior $$pdf$$ of $${{\theta }_{1}}$$. Therefore, expected value, median or other percentile values will also need to be calculated. For example, the expected reliability at time $$T$$ is:


 * $$E[R(T|Data)] = \int_{\varsigma}^{} R(T)f(\theta |Data)d{\theta}$$

In other words, at a given time $$T$$, there is a distribution that governs the reliability value at that time, $$T$$, and by using the Bayes' rule, the expected (or mean) value of the reliability is obtained. Other percentiles of this distribution can also be obtained. A similar procedure is followed for other functions of $${\theta _1}$$, such as failure rate, reliable life, etc.

Prior Distributions
Prior distributions play a very important role in Bayesian Statistics. They are essentially the basis in Bayesian analysis. Different types of prior distributions exist, namely informative and non-informative. Non-informative prior distributions (a.k.a. vague, flat and diffuse) are distributions that have no population basis and play a minimal role in the posterior distribution. The idea behind the use of non-informative prior distributions is to make inferences that are not greatly affected by external information or when external information is not available. The uniform distribution is frequently used as a non-informative prior.

On the other hand, informative priors have a stronger influence on the posterior distribution. The influence of the prior distribution on the posterior is related to the sample size of the data and the form of the prior. Generally speaking, large sample sizes are required to modify strong priors, where weak priors are overwhelmed by even relatively small sample sizes. Informative priors are typically obtained from past data.