0% found this document useful (0 votes)
14 views10 pages

Survival Data Analysis Techniques

Chapter Three discusses survival data analysis, focusing on statistical techniques for analyzing time-to-event data, such as survival and hazard functions. It highlights the importance of censoring in survival analysis and introduces the Kaplan-Meier estimator for estimating survival probabilities. Additionally, the chapter explains how to compare survival curves between two groups using the log-rank test.

Uploaded by

abdiwahab
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views10 pages

Survival Data Analysis Techniques

Chapter Three discusses survival data analysis, focusing on statistical techniques for analyzing time-to-event data, such as survival and hazard functions. It highlights the importance of censoring in survival analysis and introduces the Kaplan-Meier estimator for estimating survival probabilities. Additionally, the chapter explains how to compare survival curves between two groups using the log-rank test.

Uploaded by

abdiwahab
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

CHAPTER THREE

SURVIVAL DATA ANALYSIS (ANALYSIS OF TIME-TO-EVENT DATA)


3.1 INTRODUCTION

Survival analysis is the name for a collection of statistical techniques used to describe and
quantify time to event data. Survival analysis concerns analysing the time to the occurrence of an
event, e.g. time until a cancer patient dies.

The response is often referred to as a failure time, survival time, or event time. In survival
analysis, we use the term ‘failure’ to define the occurrence of the event of interest (even though
the event may actually be a ‘success’ such as recovery from therapy).
The term ‘survival time’ specifies the length of time taken for failure to occur. Situations where
survival analyses have been used in epidemiology are stated in example 3.1.

Example 3.1

Survival of patients after surgery.


The time taken for a farm to experience its first case of an exotic disease.
Time from diagnosis of cancer to death due to the cancer.
Time from diagnosis of cancer to death due to any causes.
Time from diagnosis of localized cancer to metastases.
Time from remission to relapse of leukemia.
Time to re-offending after being released from jail.
Time between two attempts to donate a unit of blood for transfusion purposes.
Time from HIV infection to AIDS.
Time to the first goal (or next goal) in a hockey game.
Time from exposure to cancer incidence in an epidemiological cohort study.
The aim in survival analysis is to analysis time to event data. These kinds of dada are encountered
in many areas;
 Medicine: time to death for patient having a certain deaths (this explains the terminology
“survival analysis)
 Sociology : time to finding a new job after a period of unemployment
 Engineering: time to failure of a machine etc

Page | 1
But survival analysis does not have to be about death: The word ‘survival’ does not necessary
relate to lack of death; it could mean failure to become diseased. In general, ‘survival’ means
lack of experience of the event of interest.

Events may include death, injury, onset of illness, recovery from illness, transition above or
below the clinical threshold of a meaningful continuous variable (e.g. CD4 counts), exclusive
breast feeding, age at first sex, age at first marriage, or any designated experience of interest that
may happen to an individual.
Survival time refers to a variable which measures the time from a particular starting time (e.g.,
time initiated the treatment) to a particular endpoint of interest.

Three basic requirements for time-to-event measurements


 Agreed scale of measurement for time
 Unambiguous origin for the measurement of ‘time’
 Precise definition of ‘response,’ or occurrence of the event of interest
Nature of Survival Data: Censoring
Survival-time data have two important special characteristics:

1. Non Negativity:
Survival times are non-negative i.e we are interested in a non-negative response variable T (T≥0),
consequently are usually positively skewed.
2. Censoring:
Typically, some subjects (i.e., units of observation) have censored survival times. In longitudinal
studies, exact survival time is only known for those individuals who show the event of interest
during the follow-up period. For others (those who are disease free at the end of the observation
period or those that were lost) all we can say is that they did not show the event of interest during
the follow-up period.

These individuals are called censored observations. An attractive feature of survival analysis is
that we are able to include the data contributed by censored observations right up until they are
removed from the risk set. The following terms are used in relation to censoring:
 Right censoring: a subject is right censored if it is known that the event of interest occurs
sometime after the recorded follow-up period. It is practically common types of censoring.

Page | 2
 Left censoring: a subject is left censored if it is known that the event of interest occurs some
time before the recorded follow-up period. It is common in social scientists.
 Interval censoring: a subject is interval censored if it is known that the event of interest
occurs between two times, but the exact time of failure is not known. In effect, we say ‘I know
that the event occurred between date A and date B: I know that the event occurred, but I don’t
know exactly when.
Censoring may occur in one of the following reasons:
 Termination of the study before the event occurs (administrative censoring);
 Death due to a cause not considered to be the event of interest (in cause-specific survival
analyses); and
 Loss to follow-up, for example, if the patient emigrates.

Survival & Hazard Functions


Survival Function
Let ‘T’ denote a nonnegative random variable representing the lifetimes of individuals
in some population. We treat the case where T is continuous. Let denote the (cumulative)
distribution function of T with corresponding probability density function Note =0
for . Then,

The probability that an individual survives to time t is given by the survivor function

This function is also referred to as the reliability function. Note that is a monotone
decreasing (non-increasing) function with and = .
Conversely, we can express the probability density function as;

Page | 3
Hazard Function

The hazard function specifies the instantaneous rate of failure at given that the individual
survived up to time t and is defined as;

We see here is approximately the probability of a death in given survival


up to time .
The hazard function is also referred to as the risk or mortality rate, the hazard rate, the
instantaneous death rate, the intensity rate or the force of mortality. We can view this as a
measure of intensity at time or a measure of the potential of failure at time . The hazard is a
rate, rather than a probability. It can assume values in [0, ).
Integrating over gives the cumulative hazard function

 Relationship between , and


The hazard function is given by:

Survival function is equivalent to the negative exponent of cumulative hazard function as:

∫ )

Therefore, the cumulative hazard function is given as:

Example: Consider the exponentially distributed survival variable T with density function
as:

 Survival function:
 Hazard function:
 Cumulative hazard function:

Page | 4
3.2 KAPLAN-MEIER ESTIMATES OF SURVIVAL PROBABILITIES
If we have a random sample from the population when there is no censoring observation, the
survivor function is defined as the probability that an individual survives for a time greater
than or equal to t. This function can be estimated by empirical survivor function, given by:

A widely used method for estimation of the survival function is the Kaplan Meier method. This
method produces the Kaplan-Meir estimator, a nonparametric estimator, which does not assume
any known algebraic form of the estimated survival function. The Kaplan-Meier estimator is also
referred to as the product-limit estimator. Suppose k distinct survival times are observed.

Arranged in increasing order, they are . At time , there are subjects


who are said to be at risk; that is, they survived up to this time (not including it) and were not
censored. Denote by the number of subjects who die at time . To simplify notation, let =
0 and = 0. Then, the Kaplan-Meier estimator of the survival function is:

Example 3.2 A biotech company conducted a 2-year clinical trial testing the efficacy of a new
heart valve. The survival times (in months) of 10 patients with the heart valve implants were
recorded.

The plus sign next to the observation signifies that the observation is censored. The data
are: 24+, 16+, 8, 19, 10, 8+, 5, 17, 20, 10

There are eight distinct survival times, given here in increasing order as:

5, 8, 10, 16, 17, 19, 20, 24

Then, using Kaplan Meier estimation methods, we can find the estimated survival function S(t) in
the following table.

Page | 5
The Kaplan-Meier Survival Curve
The Kaplan-Meier survival curve is the plot of the Kaplan-Meier estimator of the survival
function ̂ against time . This curve is a step-function that decreases at the times of deaths.
The censored times are usually marked by a cross (x). If a death and a censoring occur at the same
time, a cross for the censored observation is put at the bottom of the step.
Example 3.3 In Example 3.2, the Kaplan-Meier survival curve is a plot of ̂ given in the last
column of Table 3.1 against time . For instance, from this plot; the estimated probability of 15-
month survival is 0.57.

Page | 6
3.3 COMPARING SURVIVAL CURVES IN TWO GROUPS

To compare the efficacy of two treatments, subjects who enter a clinical trial are randomly placed
into two treatment groups. The survival data are then recorded for each group. The question of
interest is whether the two treatments are equally effective. This translates into testing whether the
survival functions for these groups differ significantly. A two-sided test of statistical hypotheses is
appropriate. The hypotheses are
Ho: for all
HI: for some
The most commonly used test for data with censored observations is the log-rank test, which
derives its name from the fact that it is related to a test that uses logarithms of ranks of
observations.
To compute the log-rank statistic, proceed as follows. Denote by < < ... < the ordered
uncensored observations (times of deaths) in both samples combined. At each time , the data
can be summarized by a 2 x 2 table:

Here and are the numbers of subjects who died at time in groups 1 and 2, respectively;
= + ; and are the numbers of subjects at risk at time in groups 1 and 2,
respectively; and
The null hypothesis is equivalent to independence of the "group" and "status of subject" variables
in all 2 x 2 tables. Under Ho, is a hyper geometric random variable with parameters (the
population size), (the size of the group of interest), and (the sample size). The expected
value of is

Page | 7
Has an approximately a standard normal distribution with mean zero and variance one ( ).
Alternatively the log-rank statistic is , which has an approximately chi-squared distribution with
one degree of freedom.
Example 3.4 A clinical trial is conducted to evaluate a new nicotine patch. Subjects are randomly
assigned to either the treatment group or the control group. The treatment group receives the
nicotine patch under study, while the control group receives the best nicotine patch currently
available on the market. The measurement is the length of time (in months) that a subject goes
without a cigarette. The data for the two groups are as follows:

The researchers would like to know whether the two nicotine patches differ significantly, so a log-
rank test is performed. The test hypotheses are

The times of events in both groups combined are 2.0, 3.4, 4.1, and 4.3. The 2 x 2 tables
corresponding to each of these times follow:

Page | 8
Page | 9
The log-rank test statistic is Z = √ = -0.2847. The approximate P-value for the

two-sided test is 2P(Z > 0.2847) = 0.7759. Alternatively, the test statistic is = 0.081 and the

approximate P-value is P( (1) > 0.081) = 0.7759. Thus the null hypothesis of equal survival
functions is not rejected at the 0.05 level of significance, and the conclusion is that the two
nicotine patches do not differ significantly. Graphically survival curve for the two groups is
shown below.

Page | 10

You might also like