# Proportional Hazards Medical Data Example

The Proportional Hazards model was developed in order to estimate the effects of different covariates influencing the times-to-failure of a system. One of the advantages of the Proportional Hazards model is that it can allow simultaneous analysis of continuous and categorical variables. The model has been widely used in the biomedical field. In this example we will model the lifetime distribution of patients under different conditions.

Consider the data obtained from 40 cancer patients as shown in the next figure.

The Proportional Hazards model is used to model the life distribution of these patients under eight conditions such as age and weight. Some of these conditions are described with values (e.g., Weight = 120 pounds), and some are described with indicator variables (e.g., Adeno = 1 if the cancer is an adenocarcinoma, otherwise Adeno = 0). Failure/suspension times are counted from the time of diagnosis.

After the parameters of the model are calculated, we can solve for various metrics (e.g., mean life, or average time from diagnosis to death) given a specified set of conditions, as shown next.