Weibull analysis: reliability distribution fit with censoring

Updated

Reliability distribution analysis fits a statistical model, usually a Weibull, lognormal or exponential distribution, to the times at which units failed. The fitted model turns a handful of test results into the numbers engineers need: the life by which 10% of units fail (B10), the reliability at a mission time, and the hazard rate. It handles censored units, those that had not failed when the test stopped, so you do not have to wait for every part to break.

When to use it

  • You ran a life test and some units survived to the end (right censoring).
  • You need a B10 or B1 life for a design review, a warranty estimate or a maintenance interval.
  • You want to know whether failures are early (infant mortality), random, or wear-out.
  • You want to compare a fitted model with field returns or a supplier's claim.

How it works

Pick a model. The Weibull distribution has a shape β and a scale η (the characteristic life, by which 63.2% of units fail):

R(t) = exp( −(t / η)^β ) F(t) = 1 − R(t) h(t) = (β / η) · (t / η)^(β − 1)

R(t) is the reliability, F(t) the fraction failed and h(t) the hazard rate, the instantaneous failure rate of units still running. β < 1 means a falling hazard (early failures), β = 1 a constant hazard (the exponential distribution, random failures), β > 1 a rising hazard (wear-out). The lognormal model assumes ln(t) is normal and suits fatigue cracks and some electronic failures.

Estimate the parameters. Two methods are common:

  • Maximum likelihood (MLE) finds the β and η that make the observed data most probable. A failure contributes its density f(t); a censored unit contributes R(t), the probability of surviving that long. MLE is the default for most work and is the better choice with heavy censoring.
  • Rank regression plots each failure at an estimated cumulative probability and fits a straight line. The usual estimate is Bernard's approximation of the median rank, where i is the failure order and n the number of units tested:
F̂ᵢ ≈ (i − 0.3) / (n + 0.4)

On Weibull paper, ln(−ln(1 − F)) is linear in ln(t), with slope β. This example regresses ln(t) on ln(−ln(1 − F̂)), the convention most Weibull handbooks recommend. When suspensions fall between failures, the ranks must first be adjusted (Johnson's method); in this example they all come after the last failure, so the plain median ranks apply.

Read off the quantities. The B10 life solves F(t) = 0.10:

B10 = η · (−ln 0.90)^(1/β)

Example

A motor plant runs 12 fan bearings on a test rig at rated load. The test stops at 2,000 hours. Nine bearings fail; three are still running (2,000+).

Order iHoursMedian rank F̂
14550.0565
27600.1371
39350.2177
41,0800.2984
51,1950.3790
61,3100.4597
71,4400.5403
81,5700.6210
91,7850.7016
–2,000+ (3 units)–

For the first failure, F̂ = (1 − 0.3) / (12 + 0.4) = 0.0565. Plotted on Weibull scales, the nine points fall close to a line (correlation 0.996):

Weibull probability plot of bearing failures-3-2-10ln(−ln(1 − F))6.57.07.5ln(hours)
Weibull probability plot of bearing failures

The fits:

MethodShape βScale η (h)B10 (h)
Maximum likelihood2.371,683650
Rank regression2.331,639624

The maximum likelihood fit gives an approximate 95% confidence interval for β of 1.35 to 4.15 (normal approximation on the log scale), so the hazard is clearly rising: these bearings wear out. From the MLE model:

  • B10 = 1,683 × (0.10536)^(1/2.37) = 650 hours; B1 = 241 hours.
  • Reliability at 1,000 hours: R = exp(−(1000/1683)^2.37) = 0.747, so about a quarter of bearings fail before 1,000 hours.
  • Hazard at 1,000 hours: 0.00069 per hour, about 6.9% of the surviving bearings per 100 hours, and climbing.
  • Mean life: 1,491 hours.

Comparing models by log-likelihood: Weibull −73.42, lognormal −73.16, exponential −76.64. The exponential fits clearly worse. Weibull and lognormal fit almost equally well, as is typical with nine failures; the lognormal B10 would be 685 hours. Choose between them on physics (rolling-contact fatigue is usually modeled with the Weibull) and report the more conservative answer when the decision is close.

How to read the results

  • Check the probability plot first. Points that bend away from the line, or two groups with different slopes, point to the wrong model or to mixed failure modes. Analyze each mode on its own.
  • Read β for the failure mechanism. β around 1 says preventive replacement will not help; β well above 1 says replacing at a fixed age will.
  • Report the life you need, with its interval. A B10 of 650 hours from nine failures carries wide uncertainty; quote its confidence bounds, not just the point estimate.
  • Do not extrapolate far. B1 relies on the lower tail of the model, where you have only one or two data points.

Common mistakes

  • Dropping the survivors. Analyzing only the nine failures makes the bearings look much worse than they are. Censored units carry information.
  • Assuming a constant failure rate. The exponential model here would give a B10 of only 194 hours, less than a third of the Weibull value; with β < 1 the error goes the other way.
  • Mixing failure modes. A cage fracture and a raceway spall have different distributions; pooling them bends the plot.
  • Using mean ranks or plain i/n. They bias the plotted points; median ranks are the standard.

Frequently asked questions

Should I use maximum likelihood or rank regression?

Use maximum likelihood when there are many suspensions or you need confidence intervals; it uses the censored units properly. Rank regression is easy to check by hand and some industries prefer it for small, complete samples. When both agree, as here, either is fine.

What does the characteristic life η mean?

It is the time by which 63.2% of units have failed, whatever β is, because F(η) = 1 − e⁻¹. It sets the scale of the distribution; β sets the shape.

How many failures do I need?

A Weibull fit is possible with three or four failures, but the shape is poorly determined below about ten. If you know β from past tests on similar parts, a test plan can demonstrate reliability with few or no failures.

What is the difference between B10 life and MTTF?

B10 is the time by which 10% of units fail. MTTF is the mean of the distribution. For wear-out failures the mean lies far beyond the point where failures begin, so B10 or B1 is the better design target.

Try it with your own data

StatLab SPC is free, open-source statistics for engineers. It runs in your browser, works offline, and never uploads your data.

Open StatLab