# Recurrent Event Data Analysis

Recurrent Event Data Analysis (RDA) is used in various applied fields such as reliability, medicine, social sciences, economics, business and criminology. Whereas in life data analysis (LDA) it was assumed that events (failures) were independent and identically distributed (iid), there are many cases where events are dependent and not identically distributed (such as repairable system data) or where the analyst is interested in modeling the number of occurrences of events over time rather than the length of time prior to the first event, as in LDA.

Weibull++ provides both parametric and non-parametric approaches to analyze such data.

- The non-parametric approach is based on the well-known Mean Cumulative Function (MCF). The Weibull++ module for this type of analysis builds upon the work of Dr. Wayne Nelson, who has written extensively on the calculation and applications of MCF [31].

- The parametric approach is based on the General Renewal Process (GRP) model, which is particularly useful in understanding the effects of the repairs on the age of a system. Traditionally, the commonly used models for analyzing repairable systems data are the perfect renewal processes (PRP), which corresponds to perfect repairs, and the nonhomogeneous Poisson processes (NHPP), which corresponds to minimal repairs. However, most repair activities may realistically not result in such extreme situations but in a complicated intermediate one (general repair or imperfect repair/maintenance), which are well treated with the GRP model.

# Non-Parametric Recurrent Event Data Analysis

# Parametric Recurrent Event Data Analysis

Weibull++'s parametric RDA folio is a tool for modeling recurrent event data. It can capture the trend, estimate the rate and predict the total number of recurrences. The failure and repair data of a repairable system can be treated as one type of recurrence data. Past and current repairs may affect the future failure process. For most recurrent events, time (distance, cycles, etc.) is a key factor. With time, the recurrence rate may remain constant, increase or decrease. For other recurrent events, not only the time, but also the number of events can affect the recurrence process (e.g., the debugging process in software development).

The parametric analysis approach utilizes the General Renewal Process (GRP) model, as discussed in Mettas and Zhao [28]. In this model, the repair time is assumed to be negligible so that the processes can be viewed as point processes. This model provides a way to describe the rate of occurrence of events over time, such as in the case of data obtained from a repairable system. This model is particularly useful in modeling the failure behavior of a specific system and understanding the effects of the repairs on the age of that system. For example, consider a system that is repaired after a failure, where the repair does not bring the system to an *as-good-as-new* or an *as-bad-as-old* condition. In other words, the system is partially rejuvenated after the repair. Traditionally, in as-bad-as-old repairs, also known as *minimal repairs*, the failure data from such a system would have been modeled using a homogeneous or non-homogeneous Poisson process (NHPP). On rare occasions, a Weibull distribution has been used as well in cases where the system is almost as-good-as-new after the repair, also known as a *perfect renewal process* (PRP). However, for the intermediate states after the repair, there has not been a commercially available model, even though many models have been proposed in literature. In Weibull++, the GRP model provides the capability to model systems with partial renewal (*general repair* or *imperfect repair/maintenance*) and allows for a variety of predictions such as reliability, expected failures, etc.

## The GRP Model

In this model, the concept of virtual age is introduced. Let represent the successive failure times and let represent the time between failures ( . Assume that after each event, actions are taken to improve the system performance. Let be the action effectiveness factor. There are two GRP models:

Type I:

Type II:

where is the virtual age of the system right after th repair. The Type I model assumes that the th repair cannot remove the damage incurred before the th repair. It can only reduce the additional age to . The Type II model assumes that at the th repair, the virtual age has been accumulated to . The th repair will remove the cumulative damage from both current and previous failures by reducing the virtual age to .

The power law function is used to model the rate of recurrence, which is:

The conditional *pdf* is:

MLE method is used to estimate the model parameters. The log likelihood function is discussed in Mettas and Zhao [28]:

where is the total number of events during the entire observation period. is the stop time of the observation. if the observation stops right after the last event.

## Confidence Bounds

In general, in order to obtain the virtual age, the exact occurrence time of each event (failure) should be available (see equations for Type I and Type II models). However, the times are unknown until the corresponding events occur. For this reason, there are no closed-form expressions for total failure number and failure intensity, which are functions of failure times and virtual age. Therefore, in Weibull++, a Monte Carlo simulation is used to predict values of virtual time, failure number, MTBF and failure rate. The approximate confidence bounds obtained from simulation are provided. The uncertainty of model parameters is also considered in the bounds.

### Bounds on Cumulative Failure (Event) Numbers

The variance of the cumulative failure number is:

The first term accounts for the uncertainty of the parameter estimation. The second term considers the uncertainty caused by the renewal process even when model parameters are fixed. However, unless , cannot be calculated because cannot be expressed as a closed-form function of , and . In order to consider the uncertainty of the parameter estimation, is approximated by:

where is the expected virtual age at time and is:

By conducting this approximation, the uncertainty of and are considered. The value of and the value of the second term in the equation for the variance of number of failures are obtained through the Monte Carlo simulation using parameters which are the ML estimators. The same simulation is used to estimate the cumulative number of failures .

Once the variance and the expected value of have been obtained, the bounds can be calculated by assuming that is lognormally distributed as:

The upper and lower bounds for a given confidence level can be calculated by:

where is the standard normal distribution.

If is assumed to be normally distributed, the bounds can be calculated by:

In Weibull++, the is the smaller of the upper bounds obtained from lognormal and normal distribution appoximation. The is set to the largest of the lower bounds obtained from lognormal and normal distribution appoximation. This combined method can prevent the out-of-range values of bounds for some small values.

### Bounds of Cumulative Failure Intensity and MTBF

For a given time , the expected value of cumulative MTBF and cumulative failure intensity can be calculated using the following equations:

The bounds can be easily obtained from the corresponding bounds of .

### Bounds on Instantaneous Failure Intensity and MTBF

The instantaneous failure intensity is given by:

where is the virtual age at time . When it is obtained from simulation. When , from model Type I and Type II.

The variance of instantaneous failure intensity can be calculated by:

The expected value and variance of are obtained from the Monte Carlo simulation with parameters Because of the simulation accuracy and the convergence problem in calculation of and can be a negative value at some time points. When this case happens, the bounds of instantaneous failure intensity are not provided.

Once the variance and the expected value of are obtained, the bounds can be calculated by assuming that is lognormally distributed as:

The upper and lower bounds for a given confidence level can be calculated by:

where is the standard normal distribution.

If is assumed to be normally distributed, the bounds can be calculated by:

In Weibull++, is set to the smaller of the two upper bounds obtained from the above lognormal and normal distribution appoximation. is set to the largest of the two lower bounds obtained from the above lognormal and normal distribution appoximation. This combination method can prevent the out of range values of bounds when values are small.

For a given time , the expected value of cumulative MTBF is:

The upper and lower bounds can be easily obtained from the corresponding bounds of :

### Bounds on Conditional Reliability

Given mission start time **Failed to parse (SVG with PNG fallback (MathML can be enabled via browser plugin): Invalid response ("Math extension cannot connect to Restbase.") from server "https://en.wikipedia.org/api/rest_v1/":): {\displaystyle t_{0}\,\!}**
and mission time , the conditional reliability can be calculated by:

is the virtual age corresponding to time . The expected value and the variance of are obtained from Monte Carlo simulation. The variance of the conditional reliability is:

Because of the simulation accuracy and the convergence problem in calculation of and can be a negative value at some time points. When this case happens, the bounds are not provided.

The bounds are based on:

The confidence bounds on reliability are given by:

It will be compared with the bounds obtained from:

The smaller of the two upper bounds will be the final upper bound and the larger of the two lower bounds will be the final lower bound.

## Example: Air Condition Unit

The following table gives the failure times for the air conditioning unit of an aircraft. The observation ended by the time the last failure occurred, as discussed in Cox [3].

1. Estimate the GRP model parameters using the Type I virtual age option.

2. Plot the failure number and instantaneous failure intensity vs. time with 90% two-sided confidence bounds.

3. Plot the conditional reliability vs. time with 90% two-sided confidence bounds. The mission start time is 40 and mission time is varying.

4. Using the QCP, calculate the expected failure number and expected instantaneous failure intensity by time 1800.

**Solution**

Enter the data into a parametric RDA folio in Weibull++. On the control panel, select the **3** parameters option and the **Type I** setting. Keep the default simulation settings. Click **Calculate**.

- 1. The estimated parameters are , , .

- 2. The following plots show the cumulative number of failures and instantaneous failure intensity, respectively.

- 3. The following plot shows the conditional reliability.

- 4. Using the QCP, the failure number and instantaneous failure intensity are: