Fitting Lifetime Data to a Weibull Model

Reliability analysis (or survival analysis) is a branch of statistics that deals with death in biological organisms and failure in mechanical or electronics systems, which may be within a localized test time. This topic is called reliability theory or reliability analysis in engineering, and duration analysis or duration modeling in economics or sociology.
This Demonstration shows how to analyze lifetime test data from data-fitting to a Weibull distribution function plot. The data fit is on a log-log plot using a least-squares fitting method. The results are presented as Weibull distribution CDF and PDF plots.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The top-left table shows initial test data: is lifetime and is a simplified percentile as median rank.
The top-right graphic shows the data fit on a log-log plot with a least-squares fitting method.
The bottom-left and bottom-right graphics show the lifetime result on a CDF and PDF of a Weibull distribution plot.
[1] W. Weibull, "Fitting of Curves to Observations," Fatigue Testing and Analysis of Results, New York: Pergamon Press, 1961 pp. 201–203.
[2] B. L. Vlcek, R. C. Hendricks, E. V. Zaretsky, "Monte Carlo Simulation of Sudden Death Bearing Test," NASA Technical Memorandum, NASA/TM-2003-212506, STLE-2003-121, p. 7.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2017 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+