The Weibull Distribution: Difference between revisions
Lisa Hacker (talk | contribs) No edit summary Tag: Reverted |
Lisa Hacker (talk | contribs) No edit summary |
||
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{template:LDABOOK|8|The Weibull Distribution}} | {{template:LDABOOK|8|The Weibull Distribution}} | ||
The Weibull distribution is one of the most widely used lifetime distributions in reliability engineering. It is a versatile distribution that can take on the characteristics of other types of distributions, based on the value of the shape parameter, <math> {\beta} \,\!</math>. This chapter provides a brief background on the Weibull distribution, presents and derives most of the applicable equations and presents examples calculated both manually and by using ReliaSoft's [https:// | The Weibull distribution is one of the most widely used lifetime distributions in reliability engineering. It is a versatile distribution that can take on the characteristics of other types of distributions, based on the value of the shape parameter, <math> {\beta} \,\!</math>. This chapter provides a brief background on the Weibull distribution, presents and derives most of the applicable equations and presents examples calculated both manually and by using ReliaSoft's [https://www.hbkworld.com/en/products/software/analysis-simulation/reliability/weibull-life-data-analysis-software Weibull++ software]. | ||
== Weibull Probability Density Function == | == Weibull Probability Density Function == | ||
Line 27: | Line 27: | ||
== Characteristics of the Weibull Distribution == | == Characteristics of the Weibull Distribution == | ||
{{:Weibull Distribution Characteristics}} | {{:Weibull Distribution Characteristics}} | ||
== Weibull Distribution Examples == | |||
{{:Weibull Distribution Examples}} |
Latest revision as of 15:36, 22 May 2023
The Weibull distribution is one of the most widely used lifetime distributions in reliability engineering. It is a versatile distribution that can take on the characteristics of other types of distributions, based on the value of the shape parameter,
Weibull Probability Density Function
The 3-Parameter Weibull
The 3-parameter Weibull pdf is given by:
where:
and:
scale parameter, or characteristic life shape parameter (or slope) location parameter (or failure free life)
The 2-Parameter Weibull
The 2-parameter Weibull pdf is obtained by setting
The 1-Parameter Weibull
The 1-parameter Weibull pdf is obtained by again setting
where the only unknown parameter is the scale parameter,
Note that in the formulation of the 1-parameter Weibull, we assume that the shape parameter
Weibull Distribution Functions
The Mean or MTTF
The mean,
where
is the gamma function evaluated at the value of:
The gamma function is defined as:
For the 2-parameter case, this can be reduced to:
Note that some practitioners erroneously assume that
The Median
The median,
The Mode
The mode,
The Standard Deviation
The standard deviation,
The Weibull Reliability Function
The equation for the 3-parameter Weibull cumulative density function, cdf, is given by:
This is also referred to as unreliability and designated as
Recalling that the reliability function of a distribution is simply one minus the cdf, the reliability function for the 3-parameter Weibull distribution is then given by:
The Weibull Conditional Reliability Function
The 3-parameter Weibull conditional reliability function is given by:
or:
These give the reliability for a new mission of
The Weibull Reliable Life
The reliable life,
This is the life for which the unit/item will be functioning successfully with a reliability of
The Weibull Failure Rate Function
The Weibull failure rate function,
Characteristics of the Weibull Distribution
The Weibull distribution is widely used in reliability and life data analysis due to its versatility. Depending on the values of the parameters, the Weibull distribution can be used to model a variety of life behaviors. We will now examine how the values of the shape parameter,
Effects of the Shape Parameter, beta
The Weibull shape parameter,
where
For
- As
(or ), - As
, . decreases monotonically and is convex as it increases beyond the value of .- The mode is non-existent.
- As
For
at (or ). increases as (the mode) and decreases thereafter.- For
the Weibull pdf is positively skewed (has a right tail), for its coefficient of skewness approaches zero (no tail). Consequently, it may approximate the normal pdf, and for it is negatively skewed (left tail). The way the value of relates to the physical behavior of the items being modeled becomes more apparent when we observe how its different values affect the reliability and failure rate functions. Note that for , , but for , This abrupt shift is what complicates MLE estimation when is close to 1.
The Effect of beta on the cdf and Reliability Function
The above figure shows the effect of the value of
decreases sharply and monotonically for and is convex.- For
, decreases monotonically but less sharply than for and is convex. - For
, decreases as increases. As wear-out sets in, the curve goes through an inflection point and decreases sharply.
The Effect of beta on the Weibull Failure Rate
The value of
As indicated by above figure, populations with
This makes it suitable for representing the failure rate of chance-type failures and the useful life period failure rate of units.
For
For
When
Effects of the Scale Parameter, eta
A change in the scale parameter
- If
is increased while and are kept the same, the distribution gets stretched out to the right and its height decreases, while maintaining its shape and location. - If
is decreased while and are kept the same, the distribution gets pushed in towards the left (i.e., towards its beginning or towards 0 or ), and its height increases. has the same units as , such as hours, miles, cycles, actuations, etc.
- If
Effects of the Location Parameter, gamma
The location parameter,
- When
the distribution starts at or at the origin. - If
the distribution starts at the location to the right of the origin. - If
the distribution starts at the location to the left of the origin. provides an estimate of the earliest time-to-failure of such units.- The life period 0 to
is a failure free operating period of such units. - The parameter
may assume all values and provides an estimate of the earliest time a failure may be observed. A negative may indicate that failures have occurred prior to the beginning of the test, namely during production, in storage, in transit, during checkout prior to the start of a mission, or prior to actual use. has the same units as , such as hours, miles, cycles, actuations, etc.
- When
Weibull Distribution Examples
Median Rank Plot Example
In this example, we will determine the median rank value used for plotting the 6th failure from a sample size of 10. This example will use Weibull++'s Quick Statistical Reference (QSR) tool to show how the points in the plot of the following example are calculated.
First, open the Quick Statistical Reference tool and select the Inverse F-Distribution Values option.
In this example, n1 = 10, j = 6, m = 2(10 - 6 + 1) = 10, and n2 = 2 x 6 = 12.
Thus, from the F-distribution rank equation:
Use the QSR to calculate the value of F0.5;10;12 = 0.9886, as shown next:
Consequently:
Another method is to use the Median Ranks option directly, which yields MR(%) = 54.8305%, as shown next:
Complete Data Example
Assume that 10 identical units (N = 10) are being reliability tested at the same application and operation stress levels. 6 of these units fail during this test after operating the following numbers of hours,
Solution
Create a new Weibull++ standard folio that is configured for grouped times-to-failure data with suspensions.
Enter the data in the appropriate columns. Note that there are 4 suspensions, as only 6 of the 10 units were tested to failure (the next figure shows the data as entered). Use the 3-parameter Weibull and MLE for the calculations.
Plot the data.
Note that the original data points, on the curved line, were adjusted by subtracting 30.92 hours to yield a straight line as shown above.
Suspension Data Example
ACME company manufactures widgets, and it is currently engaged in reliability testing a new widget design. 19 units are being reliability tested, but due to the tremendous demand for widgets, units are removed from the test whenever the production cannot cover the demand. The test is terminated at the 67th day when the last widget is removed from the test. The following table contains the collected data.
Data Point Index | State (F/S) | Time to Failure |
1 | F | 2 |
2 | S | 3 |
3 | F | 5 |
4 | S | 7 |
5 | F | 11 |
6 | S | 13 |
7 | S | 17 |
8 | S | 19 |
9 | F | 23 |
10 | F | 29 |
11 | S | 31 |
12 | F | 37 |
13 | S | 41 |
14 | F | 43 |
15 | S | 47 |
16 | S | 53 |
17 | F | 59 |
18 | S | 61 |
19 | S | 67 |
Solution
In this example, we see that the number of failures is less than the number of suspensions. This is a very common situation, since reliability tests are often terminated before all units fail due to financial or time constraints. Furthermore, some suspensions will be recorded when a failure occurs that is not due to a legitimate failure mode, such as operator error. In cases such as this, a suspension is recorded, since the unit under test cannot be said to have had a legitimate failure.
Enter the data into a Weibull++ standard folio that is configured for times-to-failure data with suspensions. The folio will appear as shown next:
We will use the 2-parameter Weibull to solve this problem. The parameters using maximum likelihood are:
Using RRX:
Using RRY:
Interval Data Example
Suppose we have run an experiment with 8 units tested and the following is a table of their last inspection times and failure times:
Data Point Index | Last Inspection | Failure Time |
1 | 30 | 32 |
2 | 32 | 35 |
3 | 35 | 37 |
4 | 37 | 40 |
5 | 42 | 42 |
6 | 45 | 45 |
7 | 50 | 50 |
8 | 55 | 55 |
Analyze the data using several different parameter estimation techniques and compare the results.
Solution
Enter the data into a Weibull++ standard folio that is configured for interval data. The data is entered as follows:
The computed parameters using maximum likelihood are:
Using RRX or rank regression on X:
Using RRY or rank regression on Y:
The plot of the MLE solution with the two-sided 90% confidence bounds is:
Mixed Data Types Example
From Dimitri Kececioglu, Reliability & Life Testing Handbook, Page 406. [20].
Estimate the parameters for the 3-parameter Weibull, for a sample of 10 units that are all tested to failure. The recorded failure times are 200; 370; 500; 620; 730; 840; 950; 1,050; 1,160 and 1,400 hours.
Published Results:
Published results (using probability plotting):
, ,
Computed Results in Weibull++
Weibull++ computed parameters for rank regression on X are:
, ,
The small difference between the published results and the ones obtained from Weibull++ are due to the difference in the estimation method. In the publication the parameters were estimated using probability plotting (i.e., the fitted line was "eye-balled"). In Weibull++, the parameters were estimated using non-linear regression (a more accurate, mathematically fitted line). Note that γ in this example is negative. This means that the unadjusted for γ line is concave up, as shown next.
Weibull Distribution RRX Example
Assume that 6 identical units are being tested. The failure times are: 93, 34, 16, 120, 53 and 75 hours.
1. What is the unreliability of the units for a mission duration of 30 hours, starting the mission at age zero?
2. What is the reliability for a mission duration of 10 hours, starting the new mission at the age of T = 30 hours?
3. What is the longest mission that this product should undertake for a reliability of 90%?
Solution
1. First, we use Weibull++ to obtain the parameters using RRX.
Then, we investigate several methods of solution for this problem. The first, and more laborious, method is to extract the information directly from the plot. You may do this with either the screen plot in RS Draw or the printed copy of the plot. (When extracting information from the screen plot in RS Draw, note that the translated axis position of your mouse is always shown on the bottom right corner.)
Using this first method, enter either the screen plot or the printed plot with T = 30 hours, go up vertically to the straight line fitted to the data, then go horizontally to the ordinate, and read off the result. A good estimate of the unreliability is 23%. (Also, the reliability estimate is 1.0 - 0.23 = 0.77 or 77%.)
The second method involves the use of the Quick Calculation Pad (QCP).
Select the Prob. of Failure calculation option and enter 30 hours in the Mission End Time field.
Note that the results in QCP vary according to the parameter estimation method used. The above results are obtained using RRX.
2. The conditional reliability is given by:
or:
Again, the QCP can provide this result directly and more accurately than the plot.
3. To use the QCP to solve for the longest mission that this product should undertake for a reliability of 90%, choose Reliable Life and enter 0.9 for the required reliability. The result is 15.9933 hours.
Benchmark with Published Examples
The following examples compare published results to computed results obtained with Weibull++.
Complete Data RRY Example
From Dimitri Kececioglu, Reliability & Life Testing Handbook, Page 418 [20].
Sample of 10 units, all tested to failure. The failures were recorded at 16, 34, 53, 75, 93, 120, 150, 191, 240 and 339 hours.
Published Results
Published Results (using Rank Regression on Y):
Computed Results in Weibull++
This same data set can be entered into a Weibull++ standard data sheet. Use RRY for the estimation method.
Weibull++ computed parameters for RRY are:
The small difference between the published results and the ones obtained from Weibull++ is due to the difference in the median rank values between the two (in the publication, median ranks are obtained from tables to 3 decimal places, whereas in Weibull++ they are calculated and carried out up to the 15th decimal point).
You will also notice that in the examples that follow, a small difference may exist between the published results and the ones obtained from Weibull++. This can be attributed to the difference between the computer numerical precision employed by Weibull++ and the lower number of significant digits used by the original authors. In most of these publications, no information was given as to the numerical precision used.
Suspension Data MLE Example
From Wayne Nelson, Fan Example, Applied Life Data Analysis, page 317 [30].
70 diesel engine fans accumulated 344,440 hours in service and 12 of them failed. A table of their life data is shown next (+ denotes non-failed units or suspensions, using Dr. Nelson's nomenclature). Evaluate the parameters with their two-sided 95% confidence bounds, using MLE for the 2-parameter Weibull distribution.
Published Results:
Weibull parameters (2P-Weibull, MLE):
Published 95% FM confidence limits on the parameters:
Published variance/covariance matrix:
Note that Nelson expresses the results as multiples of 1,000 (or = 26.297, etc.). The published results were adjusted by this factor to correlate with Weibull++ results.
Computed Results in Weibull++
This same data set can be entered into a Weibull++ standard folio, using 2-parameter Weibull and MLE to calculate the parameter estimates.
You can also enter the data as given in table without grouping them by opening a data sheet configured for suspension data. Then click the Group Data icon and chose Group exactly identical values.
The data will be automatically grouped and put into a new grouped data sheet.
Weibull++ computed parameters for maximum likelihood are:
Weibull++ computed 95% FM confidence limits on the parameters:
Weibull++ computed/variance covariance matrix:
The two-sided 95% bounds on the parameters can be determined from the QCP. Calculate and then click Report to see the results.
Interval Data MLE Example
From Wayne Nelson, Applied Life Data Analysis, Page 415 [30]. 167 identical parts were inspected for cracks. The following is a table of their last inspection times and times-to-failure:
Published Results:
Published results (using MLE):
Published 95% FM confidence limits on the parameters:
Published variance/covariance matrix:
Computed Results in Weibull++
This same data set can be entered into a Weibull++ standard folio that's configured for grouped times-to-failure data with suspensions and interval data.
Weibull++ computed parameters for maximum likelihood are:
Weibull++ computed 95% FM confidence limits on the parameters:
Weibull++ computed/variance covariance matrix:
Grouped Suspension MLE Example
From Dallas R. Wingo, IEEE Transactions on Reliability Vol. R-22, No 2, June 1973, Pages 96-100.
Wingo uses the following times-to-failure: 37, 55, 64, 72, 74, 87, 88, 89, 91, 92, 94, 95, 97, 98, 100, 101, 102, 102, 105, 105, 107, 113, 117, 120, 120, 120, 122, 124, 126, 130, 135, 138, 182. In addition, the following suspensions are used: 4 at 70, 5 at 80, 4 at 99, 3 at 121 and 1 at 150.
Published Results (using MLE)
Computed Results in Weibull++
Note that you must select the Use True 3-P MLEoption in the Weibull++ Application Setup to replicate these results.
3-P Probability Plot Example
Suppose we want to model a left censored, right censored, interval, and complete data set, consisting of 274 units under test of which 185 units fail. The following table contains the data.
Data Point Index | Number in State | Last Inspection | State (S or F) | State End Time |
1 | 2 | 5 | F | 5 |
2 | 23 | 5 | S | 5 |
3 | 28 | 0 | F | 7 |
4 | 4 | 10 | F | 10 |
5 | 7 | 15 | F | 15 |
6 | 8 | 20 | F | 20 |
7 | 29 | 20 | S | 20 |
8 | 32 | 0 | F | 22 |
9 | 6 | 25 | F | 25 |
10 | 4 | 27 | F | 30 |
11 | 8 | 30 | F | 35 |
12 | 5 | 30 | F | 40 |
13 | 9 | 27 | F | 45 |
14 | 7 | 25 | F | 50 |
15 | 5 | 20 | F | 55 |
16 | 3 | 15 | F | 60 |
17 | 6 | 10 | F | 65 |
18 | 3 | 5 | F | 70 |
19 | 37 | 100 | S | 100 |
20 | 48 | 0 | F | 102 |
Solution
Since standard ranking methods for dealing with these different data types are inadequate, we will want to use the ReliaSoft ranking method. This option is the default in Weibull++ when dealing with interval data. The filled-out standard folio is shown next:
The computed parameters using MLE are:
Using RRX:
Using RRY:
The plot with the two-sided 90% confidence bounds for the rank regression on X solution is: