Reliability Engineering 102

What stereotypes and a bag of balls teach us about reliability math

The human brain is actually very good at probability. You see a person from Italy playing soccer well, and suddenly you think all Italians must be good at soccer. You buy a watermelon from Whole Foods that turns out to be fresh and juicy, and you assume all the watermelons in that store are going to be just as delicious.

You may say, “Wait a minute, you just said the human brain is very good at probability, but these examples don’t seem to support that claim.” I mean, yes, they do. Let me explain.

What You Will Get Out of This Article

In this article, I will show how reliability engineers go from a small test sample to a model of a whole population’s life, why sample size and statistical confidence matter so much, and why the Weibull distribution is the workhorse of life data analysis. No heavy math, just the big picture.

The Logic Behind Stereotypes

What your brain does in those examples is called inference. You take a sample from the whole population and make judgments about the population based on the sample results. In the examples above, the sample size was just one, and it worked well, so your inference stays positive until it doesn’t. Once you buy another watermelon from that store and it is not as good as you expected, or you meet an Italian who is really terrible at soccer, your judgment shifts.

FIGURE 1 · INFERENCE A small sample speaks for the population RANDOM SAMPLEINFERENCE POPULATION · UNKNOWNSAMPLE · MEASURED
Figure 1. Statistical inference, from a sample back to the population [1]

That is why people who travel a lot, or who work in diverse environments, are usually more cautious with quick and easy stereotypes or judgments. You may even argue that, mathematically, stereotypes are average features of a particular population, but that is a topic better left to people who study sociology.

You might say, “Ayaz, I thought you were going to talk about reliability math. What is going on here?” Hang on, I am getting there.

Product Life Is Probabilistic

Reliability engineering is a field that manages uncertainty and variability in product life, which is probabilistic in nature. In statistics, we call this kind of variable a random variable. But what do we mean when we say probabilistic? It means that if you repeated the same activity many times, you would end up with slightly different results each time.

For example, if you tested 100 bicycles until they failed, even under the same environment and use profile, they would not all fail at the same time. Their lifetimes would be spread out, as illustrated in Figure 2.

FIGURE 2 · LIFE SPREAD 100 bicycles, same test, 100 different lives 0 1,000 2,000 3,000 4,000 TIME TO FAILURE (HOURS) → ONE BICYCLEWEIBULL FIT
Figure 2. Failure time spread. Each dot is one of 100 bicycles tested the same way.

To explain this spread in life and model it, reliability engineers use probability distributions. Many distributions are used in reliability engineering, with Weibull, Lognormal and Exponential being the most popular. The difference between them is in how they describe the spread of failure data.

As always, my goal is not to teach the detailed math of each distribution, but to focus on the big picture, moving from sample results to inference and ultimately to useful probabilistic models of population life. For more detail on the different distributions, see the references at the end of this article.

Sample and Population

Imagine you have a bag with 9 blue balls and 3 red balls. Your population size is 12 balls. The probability of a ball being red is

P(ball = red) = 3 / 12 = 25%

So if you randomly pick a ball from this bag, there is a 25% chance it will be red.

Now imagine you don’t know how many red or blue balls are in the bag. You only know the total is 12. The first time, you pull a sample of 2, and both are blue. So you conclude that the probability of a red ball in the whole population is zero. Or imagine both balls came out red. Is the probability of a red ball in the population 100%?

Remember our Italian who is good at soccer? Do you still trust that judgment?

Now you put the balls back into the bag, and this time you pull 3. You get 2 blue balls and 1 red ball. Based on this sample, the probability of a red ball is

P(ball = red) = 1 / 3 ≈ 33%

By increasing your sample size, you got a probability that is closer to the true value of 25%. I think you would agree that the larger the sample, the closer the estimate gets to the true value.

This is one of the basic principles of reliability testing. You cannot life test an entire population of products just to learn its true life. Car companies do not test millions of vehicles to predict the life of the millions of cars they plan to build in a year. That would be impractical. Instead, they take a statistically meaningful sample, test it, and use the results to estimate the population parameter of interest.

This principle is not unique to reliability engineering. When a new drug is developed, for example, it is first tested on a large enough group of people before it is approved for public use. Again, from sample result to population estimate.

How Many Samples Are Enough?

If we are good so far, let’s move on. The question now is, what is the optimum sample size? How many Italians who are good at soccer do I need to meet before I can comfortably claim that all Italians are pretty good at soccer?

Before answering this, let’s briefly look at two probability distributions, Exponential and Weibull. Their reliability functions are shown in Figure 3.

FIGURE 3 · RELIABILITY FUNCTIONS One parameter or two R(t) = e−λt Exponential One parameter, λ (failure rate) R(t) = e−(t/η)β Weibull Shape β and scale η, two parameters β = 1, η = 1/λ Special case Weibull turns into the Exponential READING β β < 1 · infant β = 1 · random β > 1 · wear-out
Figure 3. Reliability functions of the Exponential and Weibull distributions

As you can see, the Exponential distribution has one parameter, λ (failure rate), while the Weibull distribution has two, β (shape parameter) and η (scale parameter).

Now let me challenge you a little. What is the minimum number of independent equations you need to solve for two unknowns?

Hopefully your high school math is still with you. The answer is two. To define two unknown parameters, you need two independent equations. For three unknowns, you need three equations, and so on. So, to define a two-parameter Weibull function, you need at least two equations. In this context, that means you need at least two failures to say anything meaningful about the Weibull function.

At this point you may ask, why not use the Exponential distribution instead, since in theory it only needs one? The reason is that the Exponential distribution applies only in rare and very specific cases, and it does not have the flexibility to model different failure mechanisms the way Weibull does. In fact, it is a special case of the Weibull distribution with β = 1 and η = 1/λ.

Is Two Really Enough?

Think back to our bag of 12 balls. What happened when you pulled only two? The uncertainty was huge. Depending on what you pulled, the probability could swing anywhere between 0% and 100%. The same problem shows up in life modeling. If you think two samples are enough to draw meaningful conclusions about product life, real-life results might surprise you.

Look at Figure 4. See how much the reliability estimate can swing between points “a” and “b” when the sample size is small. That kind of fluctuation usually isn’t trustworthy information for making good decisions.

This is also why reliability engineers talk so much about statistical confidence. We talk about confidence because we don’t know the population parameter of interest. We only have a sample result, and that is just an estimate of the population. So we draw confidence bounds around the estimate to tell a story about how accurately it reflects the population.

FIGURE 4 · CONFIDENCE BOUNDS Six failures, a very wide band 0.1% 1% 5% 20% 50% 90% 99% 1 10 100 1,000 TIME (HOURS, LOG SCALE) → UNRELIABILITY F(t) → a · 21.6%b · 0.2%AT 10 HOURS, R(t)IS 78% TO 99.8% 6 failuresβ 1.93, η 73.5 h90% bounds
Figure 4. Weibull fit of 6 failures with 90% two-sided confidence bounds. At 10 hours, the unreliability could be anywhere from about 0.2% (b) to 21.6% (a).

Another way to look at it is that there are practically infinite curves you can draw through two points, as illustrated in Figure 5. As you add more points, you rule out more of them and your model becomes more accurate.

FIGURE 5 · TWO POINTS Endless curves pass through 2 points TIME → UNRELIABILITY → 2 FAILURESONE MODELEQUALLY VALID
Figure 5. Many different curves pass through the same 2 points. Which one is the true model?

Why Weibull Is Everywhere

As you may already know, the Weibull function is the most widely used probability function for modeling product life, and for a good reason. To see why, let’s talk briefly about the failure rate, also called the hazard rate. The failure rate function describes how the instantaneous failure rate changes over time, and the bathtub curve in Figure 6 is the popular picture reliability engineers use for it.

FIGURE 6 · BATHTUB CURVE β tells you where you are on the curve INFANT USEFUL LIFE WEAR-OUT β < 1 β = 1 β > 1 TIME → FAILURE RATE →
Figure 6. The bathtub curve and the Weibull β for each phase [2]

The curve shows how the failure rate of a population changes over time. The Weibull β parameter explains its three distinct sections.

  • β < 1 is the section on the far left, also called infant mortality. You get a high failure rate early in life, and as the weakest products fail, the failure rate drops gradually and finally plateaus.
  • β = 1 is the useful life or random phase, where the failure rate is constant over time. Constant failure rate does not mean products don’t fail. It means the failure rate does not depend on time, and the failures you get are random in nature.
  • β > 1 is the wear-out phase, where the failure rate increases as things wear out. This is really a spectrum, but in my experience β values above 2.5 to 3 are strong evidence of wear-out failure mechanisms.

Going back to the main question, Weibull is so widely used because it can model all these different types of failure mechanisms. The Exponential distribution, by comparison, can only model random failures, which corresponds to β = 1.

So, What Does This Mean for Your Tests?

  • Don’t judge a population by one or two units. A single good test result is the reliability version of one good watermelon.
  • Ask for the confidence bounds, not just the point estimate. A reliability number without its bounds hides how much you really know.
  • Choose the distribution for the failure mechanism, not for convenience. The Exponential needs fewer samples, but it only fits random failures.

In Summary

Reliability engineering uses probability functions to model product life. It does this by testing a sample and estimating a population parameter of interest, such as mean time between failures, reliability at a certain time or failure rate.

To build an effective model, you need both a sufficient sample size and a clear understanding of the inference process. Without them, results can swing widely and lead to misleading conclusions, like judging all Italians by one soccer player, or all watermelons by one good one from Whole Foods.

That is why statistical confidence matters so much in reliability. We don’t know the population parameter for certain. All we have is a sample, and our job is to estimate carefully and explain how accurate that estimate might be.

The more data points we add, the narrower our uncertainty gets, and the closer we come to a model that can actually guide decisions.

This article focused on life data analysis, but the Design for Reliability (DfR) toolkit includes other reliability tests, such as reliability growth testing, which follow their own math. Maybe a good topic for another article.

References

  1. Sandeep Sharma, “Statistical Inference.” sid-sharma1990.medium.com
  2. ReliaSoft, “Introduction to Life Data Analysis.” help.reliasoft.com

What's next

Stay in touch · Free

Get the next article in your inbox

Every other week. Join about 1,600 engineers.

Keep reading

  • Why Failures Love InterfacesNov 13, 2026 · 7 min read

    Why interfaces grow faster than people, teams or parts, how failures hide between them at every level, and six habits that keep them under control.

  • How Much Systems Engineering Do I Need?Oct 29, 2026 · 6 min read

    Why most teams ask too late, what a too-thin process costs once the business scales, and how to match systems engineering to your product’s stage.

Comments

No comments yet. Start the conversation.

All fields are required. Comments appear after review. Your email address is never shown. Your name and email are remembered on this device for next time.