# Basic Statistical Background

### From ReliaWiki

This section provides a brief elementary introduction to the most common and fundamental statistical equations and definitions used in reliability engineering and life data analysis.

### Random Variables

In general, most problems in reliability engineering deal with quantitative measures, such as the time-to-failure of a component, or qualitative measures, such as whether a component is defective or non-defective. We can then use a random variable to denote these possible measures.

In the case of times-to-failure, our random variable is the time-to-failure of the component and can take on an infinite number of possible values in a range from 0 to infinity (since we do not know the exact time *a priori*). Our component can be found failed at any time after time 0 (e.g., at 12 hours or at 100 hours and so forth), thus can take on any value in this range. In this case, our random variable is said to be a *continuous random variable*. In this reference, we will deal almost exclusively with continuous random variables.

In judging a component to be defective or non-defective, only two outcomes are possible. That is, is a random variable that can take on one of only two values (let's say defective = 0 and non-defective = 1). In this case, the variable is said to be a discrete random variable.

### The Probability Density Function and the Cumulative Distribution Function

The probability density function (*pdf*) and cumulative distribution function (*cdf*) are two of the most important statistical functions in reliability and are very closely related. When these functions are known, almost any other reliability measure of interest can be derived or obtained. We will now take a closer look at these functions and how they relate to other reliability measures, such as the reliability function and failure rate.

From probability and statistics, given a continuous random variable we denote:

- The probability density function,
*pdf*, as .

- The probability density function,

- The cumulative distribution function,
*cdf*, as .

- The cumulative distribution function,

The *pdf* and *cdf* give a complete description of the probability distribution of a random variable. The following figure illustrates a *pdf*.

The next figures illustrate the *pdf* - *cdf* relationship.

If is a continuous random variable, then the *pdf* of is a function, , such that for any two numbers, and with :

That is, the probability that takes on a value in the interval is the area under the density function from to as shown above. The *pdf* represents the relative frequency of failure times as a function of time.

The *cdf* is a function, , of a random variable , and is defined for a number by:

That is, for a number , is the probability that the observed value of will be at most . The *cdf* represents the cumulative values of the *pdf*. That is, the value of a point on the curve of the *cdf* represents the area under the curve to the left of that point on the *pdf*. In reliability, the *cdf* is used to measure the probability that the item in question will fail before the associated time value, , and is also called *unreliability*.

Note that depending on the density function, denoted by , the limits will vary based on the region over which the distribution is defined. For example, for the life distributions considered in this reference, with the exception of the normal distribution, this range would be

#### Mathematical Relationship: *pdf* and *cdf*

The mathematical relationship between the *pdf* and *cdf* is given by:

where is a dummy integration variable.

Conversely:

The *cdf* is the area under the probability density function up to a value of . The total area under the *pdf* is always equal to 1, or mathematically:

The well-known normal (or Gaussian) distribution is an example of a probability density function. The *pdf* for this distribution is given by:

where is the mean and is the standard deviation. The normal distribution has two parameters, and .

Another is the lognormal distribution, whose *pdf* is given by:

where is the mean of the natural logarithms of the times-to-failure and is the standard deviation of the natural logarithms of the times-to-failure. Again, this is a 2-parameter distribution.

### Reliability Function

The reliability function can be derived using the previous definition of the cumulative distribution function, . From our definition of the *cdf*, the probability of an event occurring by time is given by:

Or, one could equate this event to the probability of a unit failing by time .

Since this function defines the probability of failure by a certain time, we could consider this the unreliability function. Subtracting this probability from 1 will give us the reliability function, one of the most important functions in life data analysis. The reliability function gives the probability of success of a unit undertaking a mission of a given time duration. The following figure illustrates this.

To show this mathematically, we first define the unreliability function, , which is the probability of failure, or the probability that our time-to-failure is in the region of 0 and . This is the same as the *cdf*. So from :

Reliability and unreliability are the only two events being considered and they are mutually exclusive; hence, the sum of these probabilities is equal to unity.

Then:

Conversely:

### Conditional Reliability Function

Conditional reliability is the probability of successfully completing another mission following the successful completion of a previous mission. The time of the previous mission and the time for the mission to be undertaken must be taken into account for conditional reliability calculations. The conditional reliability function is given by:

### Failure Rate Function

The failure rate function enables the determination of the number of failures occurring per unit time. Omitting the derivation, the failure rate is mathematically given as:

This gives the instantaneous failure rate, also known as the hazard function. It is useful in characterizing the failure behavior of a component, determining maintenance crew allocation, planning for spares provisioning, etc. Failure rate is denoted as failures per unit time.

### Mean Life (MTTF)

The mean life function, which provides a measure of the average time of operation to failure, is given by:

This is the expected or average time-to-failure and is denoted as the MTTF (Mean Time To Failure).

The MTTF, even though an index of reliability performance, does not give any information on the failure distribution of the component in question when dealing with most lifetime distributions. Because vastly different distributions can have identical means, it is unwise to use the MTTF as the sole measure of the reliability of a component.

### Median Life

Median life,
,
is the value of the random variable that has exactly one-half of the area under the *pdf* to its left and one-half to its right.
It represents the centroid of the distribution.
The median is obtained by solving the following equation for . (For individual data, the median is the midpoint value.)

### Modal Life (or Mode)

The modal life (or mode), , is the value of that satisfies:

For a continuous distribution, the mode is that value of that corresponds to the maximum probability density (the value at which the *pdf* has its maximum value, or the peak of the curve).

### Lifetime Distributions

A statistical distribution is fully described by its *pdf*. In the previous sections, we used the definition of the *pdf* to show how all other functions most commonly used in reliability engineering and life data analysis can be derived. The reliability function, failure rate function, mean time function, and median life function can be determined directly from the *pdf* definition, or . Different distributions exist, such as the normal (Gaussian), exponential, Weibull, etc., and each has a predefined form of that can be found in many references. In fact, there are certain references that are devoted exclusively to different types of statistical distributions. These distributions were formulated by statisticians, mathematicians and engineers to mathematically model or represent certain behavior. For example, the Weibull distribution was formulated by Waloddi Weibull and thus it bears his name. Some distributions tend to better represent life data and are most commonly called "lifetime distributions".

A more detailed introduction to this topic is presented in Life Distributions.