7.2
CiteScore
3.7
Impact Factor
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT
Case Study
Editorial
Invited review
Letter to the Editor
Original Article
REVIEW
Review Article
SHORT COMMUNICATION
7.2
CiteScore
3.7
Impact Factor
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Filter by Categories
ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT
Case Study
Editorial
Invited review
Letter to the Editor
Original Article
REVIEW
Review Article
SHORT COMMUNICATION
View/Download PDF

Translate this page into:

ORIGINAL ARTICLE
22 (
4
); 251-255
doi:
10.1016/j.jksus.2010.05.006

Tree-structured analysis of survival data and its application using SAS software

Department of Statistics and Operations Research, King Saud University, Riyadh, Saudi Arabia

*Corresponding author. Tel.: +966 559338501 alnachaw@ksu.edu.sa (Hicham Al-Nachawati)

Disclaimer:
This article was originally published by Elsevier and was migrated to Scientific Scholar after the change of Publisher.

Abstract

The purpose of this paper is to classify UIS data in order to identify their risk, reduce drug abuse, and to prevent high-risk in HIV behavior. A method for fitting proportional hazards models to censored survival data is described. Stratification is performed recursively. A tree-based method for censored survival data is developed, based on maximizing the difference in survival between groups of patients represented by nodes in a binary tree.

Keywords

Survival analysis
Proportional hazards regression
CART
UIS data
1

1 Introduction

The problems of modeling censored survival data have attracted much attention in the recent years. A very popular technique is the proportional hazard regression model, the most widely used model in the analysis of survival data, which is based on the fact that the logarithm of the hazard rate is a linear function of the covariates Cox (1972).

Proportional hazards model is used for investigating the effect on survival of covariates which are measured repeatedly over time. For a given time variable, the investigator records the times at which cohort members fail, the risk factors, and the potential confounding variables for each cohort member.

Survival distributions are considered at length by Lawless (2003). Multiple failure models have a long history in connection with competing risk or multiple decrements.

Important modern references include Hosmer et al. (2008), Lee and Wang (2003) and Kalbfleisch and Prentice (2002).

Tree-based methods for regression, and especially classification, are becoming popular alternatives to linear regression and linear discriminant analysis. Trees generally require fewer assumptions than classical methods and handle a wide variety of data structures. They provide another way of understanding the predictive structure of the data for both statisticians and the non statisticians. These methods (often called recursive partitioning) were originally developed by Morgan and Sonquist (1963); the classification and regression tree (CART) algorithm described in monograph by Breiman et al. (1984) greatly advanced the technology, and stimulated wide interest in tree-based techniques.

Breiman et al. (1984) have defined decision tree or automatic interaction detection (AID) as a method of partitioning a set of data, which is successively divided using explicative variables (risk factors, predictors,…) and referring to a dependent variable (response, outcome…).

Tree-structured analysis of survival data is considered as a powerful alternative (or complement) to traditional model building strategies such as Cox proportional hazards regression models using stepwise, or simply the forward method.

Several tree-based tools have been proposed for censored survival data (Ciampi et al., 1995; Davis and Anderson, 1989).

Decision trees as one of many data mining techniques has become a popular approach for segmentation, classification and prediction by applying a series of simple rules. The advantage that researchers have is that the results can be understood and explained easily, since it is expressed by a tree structured diagram as a final output. Some previous research work on decision tree dealt with survival data. LeBlanc and Crowley (1993) use log rank test, which is a non-parametric test. In this paper, we develop a recursive partition procedure based on semi-parametric regression (Cox regression or proportional hazards regression) for survival analysis using the forward technique.

One of the objectives of this paper is to explain how tree-structured analysis can be applied on survival data to split data into relatively homogenous subgroups. We consider an application using the real data (UIS data) [used by Hosmer et al. (2008)]. We use SAS (The Statistical Analysis System) as it provides an efficient way of computation.

Tree-structured survival analysis which is the object of this paper is defined as

  • A way to select a split at every intermediate node. This is done by using Cox proportional hazard regression forward technique.

  • A rule for determining when a node is terminal requires:

    • Size of the node is less than n0 (pre assigned value) or

    • Statistical significance of a split.

2

2 Criteria used

Let an individual i, i = 1 , , N , be observed from time zero (i.e., date of starting investigation) to a failure or censoring time t i and let δ i be the censoring indicators, taking value 1 if t is failure time and 0 if it is a censoring time. Let xij j = 1 , , p be the jth question for individual i. Then the hazard function h i ( t ) for individual i, and jth question x ij for the data ( t i , δ i , x ij ) is h i ( t ) = h 0 ( t ) exp ( b j x ij ) .

The quantity h 0 ( t ) is the baseline, and b j is unknown coefficient. We will obtain a sequence of nested sub-trees and calculate the incidence rate for each node. We assume that each explanatory variable x j is subdivided into two nodes with a risk denoted by π ( x j ) . The risk π ( . ) is a result of rejecting for testing global null hypothesis: β = 0, which will be used in the algorithm to compare between partitions of nodes whose numbers of daughters (children, groups) are not usually equal; that is, the number of degree of freedom of π ( . ) was different. A node will be split until it is not statistically significant or one of its children has too few observations.

3

3 UIS data

The data set consists of sample of UIS which stands for the University of Massachusetts Aids Research Unit (UMARU) IMPACT Study by Hosmer et al. (2008). It was a 5-year (1989–1994) collaborative research project comprised of two concurrent randomized trials of residential treatments for drug abuse. The purpose of that study was to compare treatment programs of different planned durations designed to reduce drug abuse and to prevent high-risk in HIV behavior.

The UIS sought to determine whether alternative residential treatment approaches vary in effectiveness and whether efficacy depends on planned program duration. The small subset of variables from the main study that we use in this paper is described in Table 1.

Table 1 Variables in the UIS study.
Variable Description Codes/values
Id Identification code 1–628
Age Age at enrollment Years
Beck Beck depression score at admission 0.000–54.000
Hercoc Heroin/cocaine use during 3 months prior to admission 1 = heroin and cocaine
2 = heroin only
3 = cocaine only
4 = neither heroin nor cocaine
ivhx IV drug use history at admission 1 = never
2 = previous
3 = recent
ndrugtx Number of prior drug treatments 0–40
Race Subject's race 0 = white
1 = other
Treat Treatment randomization assignment 0 = short
1 = long
Site Treatment site 0 = A
1 = B
Lot Length of treatment (measured from admission) Days
Time Time to return to drug use (measured from admission) Days
Censor Returned to drug use 1 = returned to drug use
0 = otherwise

4

4 Data analysis

First, we deleted all the missing values. Then we recoded all variables to binary category using SAS. Note that we did not consider the LOT covariate since it is related to the outcome variable – time to drug use as measured from admission date (Hosmer et al., 2008). Table 2 presents the variables which will be used.

Table 2 UIS variables we will study.
Variable Description Codes/values
Id Identification code 1–574
Age Age at enrollment 0 = young (20 ⩽ age < 34)
1 = old (34 ⩽ age < 60)
Beck Beck depression score at admission 0 = 0.00
1 = (0.01–54.00)
Hercoc Heroin/cocaine use during 3 months prior to admission 1 = heroin or cocaine
0 = neither heroin nor cocaine
ivhx IV drug use history at admission 0 = never
1 = previous or recent
ndrugtx Number of prior drug treatments 0 = no prior drug treatments
1 = number of prior drug treatments is from 1 to 40
Race Subject's race 0 = white
1 = other
Treat Treatment randomization assignment 0 = short
1 = long
Site Treatment site 0 = A
1 = B
Time Time to return to drug use (measured from admission) Days
Censor Returned to drug use 1 = returned to drug use
0 = otherwise

5

5 Applying cox proportional hazards model

We applied proportional hazards regression model given below: log [ h ( t ) / h 0 ( t ) ] = β 1 ( Race ) + β 2 ( Treat ) β 3 ( IVhx ) + β 4 ( Age ) .

The estimates of the parameters of the model are given in Table 3.

Table 3 Estimated parameters, P-value, and hazard ratio for covariates in the model.
Covariate df Parameter estimate P-value HR
Race 1 β1 = −0.26010 0.0232 0.742
Treat 1 β2 = −0.21490 0.0226 0.789
Site 1 β3 = −0.15083 0.1593 0.899
Ivhx 1 β4 = 0.33840 0.0019 1.374
Hercoc 1 β5 = 0.01430 0.8898 1.080
Age 1 β6 = 0.19633 0.0483 1.117
Ndrugtx 1 β7 = 0.15294 0.3004 1.019
Beck 1 β8 = 0.19252 0.0769 1.244

We find the significant covariates are only race, treat, ivhx and age. Note that the covariate (beck) is significant if we consider the model which includes it alone, but in this model it is not significant because it is adjusted by other covariates.

Thus the model is: log [ h ( t ) / h 0 ( t ) ] = - 0.26010 ( Race ) - 0.21490 ( Treat ) + 0.33840 ( IVhx ) + 0.19633 ( Age ) .

Next, we applied the proportional hazards regression using forward selection to choose the most correlated covariate with the dependent variable (the event: return to drug use).

The output:

Step Entered In Chi-square Pr > ChiSq Label
Summary of forward selection
1 ivhx 1 11.0263 0.0009 ivhx
2 Treat 2 5.3511 0.0207 Treat
3 Age 3 5.2333 0.0222 Age
The most important variable is ivhx (IV drug use history at admission).

Next, we build the decision tree as described in the following section.

6

6 Steps of programming our method (tree-structured analysis of survival data)

6.1

6.1 Building the tree

6.1.1

6.1.1 Level 1

We apply Cox proportional hazard regression using forward technique to select the most significant independent variable and find that ivhx is the most significant covariate which explains the survival variable. According to ivhx category, we split the UIS data into two parts and get two nodes ivhx1 for “never have used IV drug” and ivhx2 for “have used IV drug”. The incidence rate value is calculated using the relation IR = eβ, the resulting tree is shown in Fig. 1.

The incidence rate value.
Figure 1
The incidence rate value.

6.1.2

6.1.2 Level 2

The same algorithm applies to each of the subgroups by using forward technique again to determine the most important covariate. We find that age is the most important covariate for the left node. As it is done in level 1, according to age category, we split the ivhx1 data into two parts then we will get two files “age 2 for young” and “age 1 for old” (we get two nodes).

For the right node, we find the most important covariate is race, and then we split the ivhx2 data into two parts according to race category.

6.1.3

6.1.3 Level 3

Repeating the same procedure till we get either a small group size, or no additional splitting is available (there is not any important covariate). The decision tree that is complete has seven terminals, is shown in Fig. 2.

The complete decision tree showing seven terminals.
Figure 2
The complete decision tree showing seven terminals.

6.2

6.2 Plotting the survival curves for terminals

Assign a number for each terminal depending on its incidence rate value, in descending form. This gives the graph of the survival distribution function for the node terminals which is given in Fig. 3.

Survival function estimates for the seven terminal nodes.
Figure 3
Survival function estimates for the seven terminal nodes.

7

7 The conclusion: interpreting the results

The average number of old patients (age >34) who never had IV and return to drug use is 0.3 patients/day.

The average number of young patients (age <34) who never had IV and never had any prior drug treatments and return to drug use is, 0.359 patients/day while, if they had prior drug treatments the average number decreases to 0.152 patients/day.

The average number of young non-white patients who had recent IV and return to drug use is 0.447 patients/day but for the older patients it is only 0.215 patients/day.

The average number of white patients who had recent IV but never had a previous drug treatments and return to drug use is, 0.739 patients/day where as the patient who had prior drug treatments give an average of 0.404 patients/day.

Moreover, we could study the social behavior of these groups (knowing the postal code) to determine the factors which made them in the same group. However, we need the complete data (all covariates related to the events such as marital status, economic level and some medical information) for more analysis.

Acknowledgment

The data (UIS) is from SAS textbook examples given in Applied Survival Analysis by D. Hosmer and S. Lemeshow. The authors would like to thank King Saud University for providing SAS software. Authors also thank to referees for their comments. This work is a part of thesis bearing the same title.

References

  1. , , , . Classification and Regression Trees. Belmont, CA: Wadsworth; .
  2. , , , . Tree-structured prediction for censored survival data and the cox model. Journal of Clinical Epidemiology. 1995;48(5):675-689.
    [Google Scholar]
  3. , . Regression models and life-tables (with discussion) Journal of the Royal Statistical Society, Series, B. 1972;34:187-220.
    [Google Scholar]
  4. , , . Exponential survival trees. Statistical in Medicine. 1989;8:947-961.
    [Google Scholar]
  5. , , , . Applied Survival Analysis: Regression Modeling of Time to Event Data (second ed.). John Wiley and Sons Inc.; .
  6. , . Statistical Models and Methods for Lifetime Data. John Wiley and Sons Inc.; .
  7. , , . Survival trees by goodness of splits. Journal of the American Statistical Association. 1993;88:457-467.
    [Google Scholar]
  8. , , . Statistical Methods for Survival Data Analysis (third ed.). NY: John Wiley; .
  9. , , . Problems in analysis of survey data and a proposal. Journal of the American Statistical Association. 1963;58:415-434.
    [Google Scholar]
  10. , , . The Statistical Analysis of Failure Time Data (second ed.). NY: John Wiley; .
  11. SAS Institute Inc., 2002–2003. Cary, NC, USA, Version 9.1.
Show Sections