# Comparing Life Data Sets

 Additional Reliability Analysis Tools Comparing Life Data Sets

## Contents

More Resources:
Weibull++ Examples Collection

It is often desirable to be able to compare two sets of reliability or life data in order to determine which of the data sets has a more favorable life distribution. The data sets could be from two alternate designs, manufacturers, lots, assembly lines, etc. Many methods are available in statistical literature for doing this when the units come from a complete sample (i.e., a sample with no censoring). This process becomes a little more difficult when dealing with data sets that have censoring, or when trying to compare two data sets that have different distributions. In general, the problem boils down to that of being able to determine any statistically significant difference between the two samples of potentially censored data from two possibly different populations. This section discusses some of the methods available in Weibull++ that are applicable to censored data.

## Simple Plotting

One popular graphical method for making this determination involves plotting the data with confidence bounds and seeing whether the bounds overlap or separate at the point of interest. This can be easily done using the Overlay Plot feature in Weibull++. This approach can be effective for comparisons at a given point in time or a given reliability level, but it is difficult to assess the overall behavior of the two distributions because the confidence bounds may overlap at some points and be far apart at others.

## Contour Plots

To determine whether two data sets are significantly different and at what confidence level, one can utilize the contour plots provided in Weibull++. By overlaying two contour plots from two different data sets at the same confidence level, one can visually assess whether the data sets are significantly different at that confidence level if there is no overlap on the contours. The disadvantage of this method is that the same distribution must be fitted to both data sets.

Example: Using a Contour Plot to Compare Two Designs

The design of a product was modified to improve its reliability. The reliability engineers want to determine whether the improvements to the design have significantly improved the product's reliability. The following data sets represent the times-to-failure for the product. At what significance level can the engineers claim that the two designs are different?

$\overset{\text{Old Design}}{\mathop{\begin{array}{*{35}{l}} \text{2} & \text{2} & \text{3} & \text{4} & \text{6} & \text{9} \\ \text{9} & \text{11} & \text{17} & \text{17} & \text{19} & \text{21} \\ \text{23} & \text{28} & \text{33} & \text{34} & \text{34} & \text{37} \\ \text{38} & \text{40} & \text{45} & \text{55} & \text{56} & \text{57} \\ \text{67} & \text{76} & \text{90} & \text{115} & \text{126} & \text{197} \\ \end{array}}}\,\,\!$

$\overset{\text{New Design}}{\mathop{\begin{array}{*{35}{l}} \text{15} & \text{32} & \text{61} & \text{67} & \text{75} \\ \text{116} & \text{148} & \text{178} & \text{181} & \text{183} \\ \end{array}}}\,\,\!$

The data sets are entered into separate Weibull++ standard folio data sheets, and then analyzed with the two-parameter Weibull distribution and the maximum likelihood estimation (MLE) method. The following figure shows the contour plots of the data sets superimposed in an overlay plot. This plot is configured to show the contour lines that represent the 90% and 95% confidence levels.

As you can see, the contours overlap at the 95% confidence level (outer rings), but there is no overlap at the 90% confidence level (inner rings). We can then conclude that there is a statistically significant difference between the data sets at the 90% confidence level. If we wanted to know the exact confidence level (i.e., critical confidence level) at which the two contour plots meet, we would have to incrementally raise the confidence level from 90% until the two contour lines meet.

Weibull++ includes a utility for automatically obtaining the critical confidence level. For two contour plots that are superimposed in an overlay plot, the Plot Critical Level check box will be available in the Contours Setup window, as shown next.

The plot critical level is the confidence level at which the contour plots of the two data sets meet at a single point. This is the minimum confidence level at which the contour lines of the two different data sets overlap. At any confidence level below this minimum confidence level, the contour lines of the two data sets will not overlap and there will be a statistically significant difference between the two populations at that level. For the two data sets in this example, the critical confidence level 94.243%. This value will be displayed in the Legend area of the plot.

Note that due to the calculation resolution and plot precision, the contour lines at the calculated critical level may appear to overlap or have a gap.

## Life Comparison Tool

Another methodology, suggested by Gerald G. Brown and Herbert C. Rutemiller, is to estimate the probability of whether the times-to-failure of one population are better or worse than the times-to-failure of the second. The equation used to estimate this probability is given by:

$P\left[ {{t}_{2}}\ge {{t}_{1}} \right]=\int_{0}^{\infty }{{f}_{1}}(t)\cdot {{R}_{2}}(t)\cdot dt\,\!$

where ${{f}_{1}}(t)\,\!$ is the pdf of the first distribution and ${{R}_{2}}(t)\,\!$ is the reliability function of the second distribution. The evaluation of the superior data set is based on whether this probability is smaller or greater than 0.5. If the probability is equal to 0.5, then it is equivalent to saying that the two distributions are identical.

Sometimes we may need to compare the life when one of the distributions is truncated. For example, if the random variable from the first distribution is truncated with a range of [L, U}, then the comparison with the truncated distribution should be used. For details, please see Stress-Strength Analysis.

Consider two product designs where X and Y represent the life test data from two different populations. If we simply wanted to determine which component has a higher reliability, we would simply compare the reliability estimates of both components at a time $t\,\!$. But if we wanted to determine which product will have a longer life, we would want to calculate the probability that the distribution of one product is better than the other. Using the equation given above, the probability that X is greater than or equal to Y can be interpreted as follows:

• If $P=0.50\,\!$, then lives of both X and Y are equal.
• If $P<0.50\,\!$ or, for example, $P=0.10\,\!$, then $P=1-0.10=0.90\,\!$, or Y is better than X with a 90% probability.

Example: Using the Life Comparison Tool to Compare Two Designs

Using the same data set from the contour plot example, use Weibull++'s Life Comparison tool to estimate the probability that the units from the new design will outlast the units from the old design.

First, enter the data sets into two separate Weibull++ standard folios (or two separate data sheets within the same folio) and analyze the data sets using the two-parameter Weibull distribution and maximum likelihood estimation (MLE) method. Next, open the Life Comparison tool and select to compare the two data sets. The next figure shows the pdf curves and the result of the comparison.

The comparison summary is given in the Results Panel window.