Template:Probability Plotting: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Redirected page to Parameter Estimation)
 
(46 intermediate revisions by 5 users not shown)
Line 1: Line 1:
===Probability Plotting===
#REDIRECT [[Parameter Estimation]]
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 for the 2-parameter Weibull distribution====
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:
::<math>F(T)=Q(T)=1-{e^{-\left(\tfrac{T}{\eta}\right)^{\beta}}}</math>
 
=====Linearizing the Weibull unreliability function=====
This function can then be linearized (''i.e.'' put in the common form of <math>y=mx+b</math> format) as follows:
::<math>\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}</math>
 
 
 
:Then by setting
::<math>y=\ln \left( \ln \left( \frac{1}{1-Q(T)} \right) \right)</math>
:and
::<math>x=\ln \left( T \right)</math>
the equation can then be rewritten as,
::<math>y=\beta x-\beta \ln \left( \eta  \right)</math>
which is now a linear equation with a slope of
::Slope<math>=m=\beta </math>
and an intercept of
::Intercept<math>=b=\beta \cdot ln(\eta)</math>.
<br>
 
=====Constructing the paper=====
The next task is to construct the Weibull probability plotting paper with the appropriate ''y'' - and ''x''-axes. The ''x-axis'' trasnformation is simply logarithmic. The ''y-axis'', is a bit more complex requiring a double log reciprocal transformation, or ,
 
 
::<math>y=\ln \left(\ln \left( \frac{1}{1-Q(T)} ) \right) \right)</math>
 
 
where ''Q(T)'' is the unreliability. 
 
 
Such papers have been created by different vendors and are called '' probability plotting papers''.  [http://http://www.weibull.com/ Weibull.com] has different plotting papers available for [http://www.weibull.com/GPaper/index.htm download].   
 
[[Image:WeibullPaper2C.png|thumb|center|300px|Weibull probability plotting paper example.]]
 
To illustrate, consider the following probability plot on a slightly different type of Weibull probability paper.
 
[[Image:ldachp3fig1.gif|thumb|center|300px|Probability plot on the Weibull probability plotting 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 <math>\beta,</math> which is the value of the slope.
To determine the scale parameter, <math>\eta </math> (also called the ''characteristic life''), one reads the time (from the ''x-axis'' corresponding to ''Q(T)=63.2%''.
 
Note that from before at
::<math>\begin{align}
  Q(T=\eta)= & 1-{{e}^{-{{\left( \tfrac{\eta }{\eta } \right)}^{\beta }}}} \\
  = & 1-{{e}^{-1}} \\
  = & 0.632 \\
  = & 63.2% 
\end{align}</math>
 
Thus, if we enter the ''y'' axis at ''Q(T)=63.2%,'' the corresponding value of ''T'' will be equal to <math>\eta.</math> 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, we would use these times as our ''x'' values or time values.
 
Determining what 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. In this example, and by 10 hours, the cumulative percent failed is 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, <math>Q({T_j})</math> for each failure. It is the value that the true probability of failure, <math>Q({{T}_{j}}),</math> should have at the <math>{{j}^{th}}</math> failure out of a sample of <math>N</math> units at a ''50%'' confidence level. This essentially means that this is our best estimate for the unreliability. Half of the time the true value will be greater than the 50% confidence estimate, the other half of the time the true value will be less than the estimate. This estimate is based on a solution of the binomial equation.
 
The rank can be found for any percentage point, <math>P</math>, greater than zero and less than one, by solving the cumulative binomial equation for <math>Z</math> . This represents the rank, or unreliability estimate, for the <math>{{j}^{th}}</math> failurein the following equation for the cumulative binomial:
 
::<math>P=\underset{k=j}{\overset{N}{\mathop \sum }}\,\left( \begin{matrix}
  N  \\
  k  \\
\end{matrix} \right){{Z}^{k}}{{\left( 1-Z \right)}^{N-k}}</math>
 
where <math>N</math> is the sample size and <math>j</math> the order number.
 
The median rank is obtained by solving this equation for <math>Z</math> at <math>P=0.50,</math>
 
::<math>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}}</math>
 
 
For example, if ''N=4'' and we have four failures, we would solve the median rank equation four times; once for each failure with ''j=1, 2, 3'' and ''4'', for the value of ''Z''. This result can then be used as the unreliability estimate for each failure or the ''y'' plotting position. (See also the The Weibull distribution chapter for a step-by-step example of this method.) The solution of cumuative 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,
::<math>\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}</math>
:where
::<math>{F_{0.50;m;n}}</math> 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}}
 
{{Kaplan-Meier}}
 
 
 
-==Analysis of Right Censored (Suspended) Data===
====Background====
 
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:
#We need to make an analysis of the available results before test completion.
#The failure modes which are occurring are different than those anticipated and such units are withdrawn from the test.
#We need to analyze a single mode and the actual data set is comprised of multiple modes.
#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 in Chapter 3, 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 [20] where five items are tested resulting in three failures and two suspensions.
 
{|style= align="center" border="1"
!Item Number(Position)
!State*"F" or "S"
!Life of item, hr
|-align="center"
|1||<math>F_1</math>||5,100
|-align="center"
|2||<math>S_1</math>||9,500
|-align="center"
|3||<math>F_2</math>||15,000
|-align="center"
|4||<math>S_2</math>||22,000
|-align="center"
|5||<math>F_3</math>||40,000
|}
 
 
 
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 <math>j=1</math>.
The actual failure order number (or position) of the second failure, <math>{{F}_{2}},</math> is in doubt. It could be either in position 2 or in position 3. Had <math>{{S}_{1}}</math> not been withdrawn from the test at 9,500 hours it could have operated successfully past 15,000 hours, thus placing <math>{{F}_{2}}</math> in position 2. Alternatively <math>{{S}_{1}}</math> could also have failed before 15,000 hours, thus placing <math>{{F}_{2}}</math> in position 3. In this case, the failure order number for <math>{{F}_{2}}</math> 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.
 
 
{|style= align="center" border="1"
|-
|colspan="6" style="text-align:center;"|<math>F_2</math> in Position 2||rowspan="7" style="text=align:center;"|OR||colspan="2" style="text-align:center;"|<math>F_2</math> in Position 3
|-align="center"
|1||2||3||4||5||6 ||1||2
|-align="center"
|<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||  <math>F_1</math> ||<math>F_1</math>
|-align="center"
|<math>F_2</math>||<math>F_2</math>||<math>F_2</math>||<math>F_2</math>||<math>F_2</math>||<math>F_2</math>  ||<math>S_1</math>||<math>S_1</math>
|-align="center"
|<math>S_1</math>||<math>S_2</math>||<math>F_3</math>||<math>S_1</math>||<math>S_2</math>||<math>F_3</math> ||<math>F_2</math>||<math>F_2</math>
|-align="center"
|<math>S_2</math>||<math>S_1</math>||<math>S_1</math>||<math>F_3</math>||<math>F_3</math>||<math>S_2</math> ||<math>S_2</math>||<math>F_3</math>
|-align="center"
|<math>F_3</math>||<math>F_3</math>||<math>S_2</math>||<math>S_2</math>||<math>S_1</math>||<math>S_1</math> ||<math>F_3</math>||<math>S_2</math>
|}
 
 
 
It can be seen that <math>{{F}_{2}}</math> 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'' ( <math>MON</math> ), given by:
 
::<math>{{F}_{2}}=MO{{N}_{2}}=\frac{(6\times 2)+(2\times 3)}{6+2}=2.25</math>
 
 
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.
 
{|style= align="center" border="1"
|-
|colspan="2" style="text-align:center;"|<math>F_3 \text{in Position 3}</math>|| rowspan="7" style="text-align:center;"|OR || colspan="3" style="text-align:center;"|<math>F_3 \text{in Position 4}</math> ||rowspan="7" style="text-align:center;"|OR||colspan="3" style="text-align:center;"|<math>F_3 \text{in Position 5}</math>
|-
|1||2||1||2||3||1||2||3
|-
|<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>||<math>F_1</math>
|-
|<math>F_2</math>||<math>F_2</math>||<math>S_1</math>||<math>F_2</math>||<math>F_2</math>||<math>S_1</math>||<math>F_2</math>||<math>F_2</math>
|-
|<math>F_3</math>||<math>F_3</math>||<math>F_2</math>||<math>S_1</math>||<math>S_2</math>||<math>F_2</math>||<math>S_1</math>||<math>S_2</math>
|-
|<math>S_1</math>||<math>S_2</math>||<math>F_3</math>||<math>F_3</math>||<math>F_3</math>||<math>S_2</math>||<math>S_2</math>||<math>S_1</math>
|-
|<math>S_2</math>||<math>S_1</math>||<math>S_2</math>||<math>S_2</math>||<math>S_1</math>||<math>F_3</math>||<math>F_3</math>||<math>F_3</math>
|}
 
 
Then, the mean order number for the third failure,  (Item 5) is:
 
::<math>MO{{N}_{3}}=\frac{(2\times 3)+(3\times 4)+(3\times 5)}{2+3+3}=4.125</math>
 
 
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.
 
{|style= align="center" border="1"
|-
|colspan="3" style="text-align:center;"|Plotting Positions for the Failures(Sample Size=5)
|-align="center"
!Failure Number
!MON
!Median Rank Position(%)
|-align="center"
|1:<math>F_1</math>||1||13%
|-align="center"
|2:<math>F_2</math>||2.25||36%
|-align="center"
|3:<math>F_3</math>||4.125||71%
|}
 
 
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.
 
{|style= align="center" border="2"
|-
|colspan="3" style="text-align:center;"|Case 1 ||colspan="3" style="text-align:center;"|Case 2
|-align="center"
!Item Number
!State*"F" or "S"
!Life of an item, hr
!Item number
!State*,"F" or "S"
!Life of item, hr
|-align="center"
|1|| <math>F_1</math> ||1,000||1||<math>F_1</math>||1,000
|-align="center"
|2||<math>S_1</math>||1,100||2||<math>S_1</math>||9,700
|-align="center"
|3|| <math>S_2</math>||1,200||3||<math>S_2</math>||9,800
|-align="center"
|4|| <math>S_3</math>||1,300||4||<math>S_3</math>||9,900
|-align="center"
|5|| <math>F_2</math>||10,000||5||<math>F_2</math>||10,000
|-align="center"
|colspan="3" style="text-align:center;"|<math>*F-Failed, S-Suspended</math>||colspan="3" style="text-align:center;"|<math>*F-Failed, S-Suspended</math>
|}
 
 
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):
 
::<math>\begin{array}{*{35}{l}}
  \widehat{\beta }= & \text{0}\text{.81}  \\
  \widehat{\eta }= & \text{11,417 hr}  \\
\end{array}
</math>
 
However, the MLE results for Case 1 are:
 
::<math>\begin{array}{*{35}{l}}
  \widehat{\beta }= & \text{1}\text{.33}  \\
  \widehat{\eta }= & \text{6,900 hr}  \\
\end{array}</math>
 
 
and the MLE results for Case 2 are:
 
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 <math>\eta </math>, 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 following section.
 
 
====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 <math>\beta </math> and <math>\eta </math> 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.

Latest revision as of 10:08, 9 August 2012