# Exponential Distribution Examples

### From ReliaWiki

*These examples also appear in the Life Data Analysis Reference book*.

### Grouped Data

20 units were reliability tested with the following results:

Table - Life Test Data
| |

Number of Units in Group | Time-to-Failure |
---|---|

7 | 100 |

5 | 200 |

3 | 300 |

2 | 400 |

1 | 500 |

2 | 600 |

1. Assuming a 2-parameter exponential distribution, estimate the parameters by hand using the MLE analysis method.

2. Repeat the above using Weibull++. (Enter the data as grouped data to duplicate the results.)

3. Show the Probability plot for the analysis results.

4. Show the Reliability vs. Time plot for the results.

5. Show the *pdf* plot for the results.

6. Show the Failure Rate vs. Time plot for the results.

7. Estimate the parameters using the rank regression on Y (RRY) analysis method (and using grouped ranks).

**Solution**

1. For the 2-parameter exponential distribution and for hours (first failure), the partial of the log-likelihood function, , becomes:

2. Enter the data in a Weibull++ standard folio and calculate it as shown next.

3. On the Plot page of the folio, the exponential Probability plot will appear as shown next.

4. View the Reliability vs. Time plot.

5. View the *pdf* plot.

6. View the Failure Rate vs. Time plot.

Note that, as described at the beginning of this chapter, the failure rate for the exponential distribution is constant. Also note that the Failure Rate vs. Time plot does show values for times before the location parameter, , at 100 hours.

7. In the case of grouped data, one must be cautious when estimating the parameters using a rank regression method. This is because the median rank values are determined from the total number of failures observed by time where indicates the group number. In this example, the total number of groups is and the total number of units is . Thus, the median rank values will be estimated for 20 units and for the total failed units () up to the group, for the rank value. The median ranks values can be found from rank tables or they can be estimated using ReliaSoft's Quick Statistical Reference tool.

For example, the median rank value of the fourth group will be the rank out of a sample size of twenty units (or 81.945%).

The following table is then constructed.

Given the values in the table above, calculate and :

or:

and:

or:

Therefore:

and:

or:

Then:

Using Weibull++, the estimated parameters are:

The small difference in the values from Weibull++ is due to rounding. In the application, the calculations and the rank values are carried out up to the decimal point.

### Using Auto Batch Run

A number of leukemia patients were treated with either drug 6MP or a placebo, and the times in weeks until cancer symptoms returned were recorded. Analyze each treatment separately [21, p.175].

Table - Leukemia Treatment Results
| |||

Time (weeks) | Number of Patients | Treament | Comments |
---|---|---|---|

1 | 2 | placebo | |

2 | 2 | placebo | |

3 | 1 | placebo | |

4 | 2 | placebo | |

5 | 2 | placebo | |

6 | 4 | 6MP | 3 patients completed |

7 | 1 | 6MP | |

8 | 4 | placebo | |

9 | 1 | 6MP | Not completed |

10 | 2 | 6MP | 1 patient completed |

11 | 2 | placebo | |

11 | 1 | 6MP | Not completed |

12 | 2 | placebo | |

13 | 1 | 6MP | |

15 | 1 | placebo | |

16 | 1 | 6MP | |

17 | 1 | placebo | |

17 | 1 | 6MP | Not completed |

19 | 1 | 6MP | Not completed |

20 | 1 | 6MP | Not completed |

22 | 1 | placebo | |

22 | 1 | 6MP | |

23 | 1 | placebo | |

23 | 1 | 6MP | |

25 | 1 | 6MP | Not completed |

32 | 2 | 6MP | Not completed |

34 | 1 | 6MP | Not completed |

35 | 1 | 6MP | Not completed |

Create a new Weibull++ standard folio that's configured for grouped times-to-failure data with suspensions. In the first column, enter the number of patients. Whenever there are uncompleted tests, enter the number of patients who completed the test separately from the number of patients who did not (e.g., if 4 patients had symptoms return after 6 weeks and only 3 of them completed the test, then enter 1 in one row and 3 in another). In the second column enter F if the patients completed the test and S if they didn't. In the third column enter the time, and in the fourth column (Subset ID) specify whether the 6MP drug or a placebo was used.

Next, open the Batch Auto Run utility and select to separate the 6MP drug from the placebo, as shown next.

The software will create two data sheets, one for each subset ID, as shown next.

Calculate both data sheets using the 2-parameter exponential distribution and the MLE analysis method, then insert an additional plot and select to show the analysis results for both data sheets on that plot, which will appear as shown next.