Method · Statistics Library

Censored Weibull reliability fit

This fits a two-parameter Weibull distribution to right-censored life data by maximum likelihood, correctly combining exact failure times with the partial information that suspended (still-running) units provide, avoiding the systematic bias that dropping or mis-coding survivors would cause.

Topic indexA reference reading outside the guided chapter sequence

Understand the idea

In real reliability testing, tests almost never run until every single unit fails: there is a deadline, or field units are simply still working when you check. A unit that made it to time t without failing is 'right-censored' (a suspension): you don't know exactly when it will fail, only that it has already lasted AT LEAST that long. That is genuinely useful partial information, and throwing it away is described as the single most common, most damaging mistake in reliability analysis.

This method combines both kinds of information correctly in one calculation: for units that failed, it uses the exact failure time; for units that were still running, it uses the fact that they survived at least that long. Getting this right matters enormously in practice: on a real validated example (38 shock absorbers, 11 failures, 27 still running), correctly accounting for the 27 survivors gave a characteristic life of about 27,700 km, while naively fitting only the 11 observed failures gave about 19,500 km, a roughly 30% UNDERSTATEMENT, because the units still running tend to be exactly the longest-lived ones, and ignoring them biases the whole picture toward the shorter lives you happened to see complete.

A crucial rule stated plainly: a censored (still-running) unit is never a missing value to be deleted, and it must never be coded as if it had failed. Both mistakes distort the fitted reliability in the same direction, making the product look less reliable than it actually is.

A censored Weibull fit, called a suspension analysis in reliability work, treats units that have not failed yet (suspensions) as 'lasted at least this long'. A censored Weibull fit is a Weibull MLE with censoring: maximum likelihood finds the shape and scale that make both the failures and the suspensions most probable.

Practitioner explanation

KernelStats maximizes the censored log-likelihood: sum over failures of log(f(t_i)) plus sum over censored units of log(R(t_j)), where R(t) = exp(-(t/eta)^beta) is the reliability function; each survivor contributes the probability of lasting AT LEAST as long as it did, rather than being dropped or miscoded. The status convention is explicit and documented: 1/True = failure observed, 0/False = right-censored (still running).

Confidence intervals use the OBSERVED INFORMATION MATRIX (the numerically-differentiated Hessian of the censored negative log-likelihood at the MLE, inverted for the asymptotic covariance), reported as LOG-WALD intervals (normal-theory bounds on log(beta) and log(eta), back-transformed to keep them positive), matching standard reliability software convention. The product states honestly that these intervals are ASYMPTOTIC IN THE NUMBER OF FAILURES specifically (not the number of units): with fewer than roughly 10 observed failures, they should be treated as rough, with likelihood-ratio or bootstrap bounds preferred for genuinely critical decisions.

The probability plot correctly accounts for suspensions using Johnson's adjusted ranks (advancing each failure's rank by (N+1-previous rank)/(N-position+2) to spread it over the survivors ahead of it) and Bernard's approximation (F ~ (rank-0.3)/(N+0.4)) to convert ranks to plotting positions; ordinary median ranks, which assume every unit failed, would be wrong here. A Kaplan-Meier overlay serves as the nonparametric benchmark the fitted Weibull survival curve should track closely, replacing the plain KS test the uncensored version uses (which does not apply cleanly to censored data). As with the uncensored version, an unconstrained 3-parameter fit (freeing the location) is flagged with boundary_hit when the threshold walks up to the smallest observed time, the same degenerate-MLE pathology stated honestly rather than hidden.

When to use it

Consider it when

A life test or field observation period ended with some units still running (or removed unfailed), and every unit has a recorded time plus a status flag (failed vs. censored); use this whenever ANY unit did not fail.

Use caution when

Every single unit's exact failure time was observed with no survivors at all (the simpler uncensored Weibull fit is adequate and does not need the censoring machinery), fewer than 2 failures are observed (the MLE has too little information to estimate two parameters), or censoring is INFORMATIVE (units were pulled because they looked about to fail, rather than for a reason unrelated to imminent failure), in which case the non-informative-censoring assumption this method relies on is violated.

Formulas and symbols

Censored Weibull log-likelihood

log⁡L(β,η)=∑i:failedlog⁡f(ti)+∑j:censoredlog⁡R(tj)\log L(\beta,\eta) = \sum_{i:\text{failed}} \log f(t_i) + \sum_{j:\text{censored}} \log R(t_j)

f the Weibull density (for exact failures); R(t) = exp(-(t/eta)^beta) the survival function (for suspensions still running at t).

Log-Wald confidence interval on the shape

exp⁡ ⁣(ln⁡β^±z1−α/2 SE(ln⁡β^))\exp\!\left(\ln\hat\beta \pm z_{1-\alpha/2}\, SE(\ln\hat\beta)\right)

SE from the inverted observed information matrix; asymptotic in the number of FAILURES, treated as rough below roughly 10 observed failures.

Bp life with censoring accounted for

Bp=η [−ln⁡(1−p)]1/βB_p = \eta\,[-\ln(1-p)]^{1/\beta}

Same formula as the uncensored fit, but eta and beta here come from the censoring-aware maximum likelihood, not a naive fit on failures alone.

Assumptions and checks

  • If the Weibull distribution genuinely does not fit the (censored) lifetime data well, the shape and scale parameters and every downstream reliability number describe a distribution the data don't actually follow; a probability-plot correlation below about 0.95 is the practical warning sign, often pointing to a lognormal fit or a mixture of failure modes instead.

    In KernelStats: A probability-plot correlation coefficient, reported directly on the card as a heuristic (the standard KS test is not valid under censoring); the card recommends comparing against the Kaplan-Meier overlay too.

  • If units were pulled from the study BECAUSE they looked about to fail (informative censoring), rather than for reasons unrelated to their prognosis (e.g. a fixed test deadline), every parameter estimate here is biased.

    In KernelStats: Not checked by KernelStats: assumed from the study design; stated directly as a standing 'Non-informative censoring' reminder.

  • Independence of observations. If units do not fail independently from one common Weibull population (mixed failure modes), the single fitted shape/scale pair describes a blend that may not represent any real failure mode well.

    In KernelStats: Not checked by KernelStats: assumed from the study design; stated directly as a standing reminder. Mixed failure modes call for a per-mode (competing-risk) fit instead.

  • With too few observed failures (as opposed to censored observations), the asymptotic (observed-information-based) confidence intervals on the shape and scale parameters are unreliable, even if the point estimates themselves look reasonable.

    In KernelStats: Checked directly: the card reports the number of observed failures and flags it as a warning below 10.

Alternatives

  • Weibull Reliability (Life-Data) Fit. Every unit's failure time was fully observed with no censoring at all.
  • Kaplan-Meier Survival Curve. You want a nonparametric description of the survival curve without committing to the Weibull distributional form.
  • Cox Proportional-Hazards Regression. You want to relate covariates to the hazard rather than just describe the marginal survival distribution.

Worked example

Scenario

38 shock absorbers on a durability test: 11 failed at recorded distances, 27 were still running (censored) when the test ended.

Result

Correct censored MLE: shape beta = 3.16, scale eta = 27,719 km. A naive fit using only the 11 observed failures (ignoring the 27 survivors): eta ~ 19,485 km, about 30% lower.

Interpretation

The censored analysis is the honest answer: the 27 surviving units are real evidence that the shock absorbers last longer than the 11 observed failures alone would suggest, and discarding that evidence would have significantly understated both the characteristic life and the B10 warranty metric derived from it.

Common misconceptions

Misconception

A unit still running at the end of a life test can just be excluded from the analysis since its failure time isn't known.

Correction

A censored unit is NOT a missing value: it carries the real, usable information that its life exceeds the observed time. Excluding survivors (who are typically the LONGEST-running units in a life test) systematically understates the characteristic life and B-lives; on a validated real example, doing this understated the characteristic life by roughly 30%. Censored units must be included in the likelihood via the survival function, never deleted or coded as failures.

Read more: Misconception: a larger sample size fixes a biased estimate

Misconception

The confidence intervals on beta and eta are reliable regardless of how many failures were actually observed, as long as the total sample size is decent.

Correction

These confidence intervals are asymptotic specifically in the NUMBER OF OBSERVED FAILURES, not the total number of units (failures plus censored). A study with 100 units but only 6 observed failures has intervals that should be treated as rough approximations, not precise bounds; likelihood-ratio or bootstrap methods are preferred for critical decisions in that situation.

References

  1. Statistical Methods for Reliability Data, Meeker, W. Q. and Escobar, L. A. (1998).
  2. Statistical Models and Methods for Lifetime Data, Lawless, J. F. (2003).