Professional Documents
Culture Documents
Group 4 HW 1 - Report
Group 4 HW 1 - Report
Group 4 HW 1 - Report
Group members:
Melvin Estolano (2159122)
Quynh Long Khuong (2159280)
Jessa Mae Lastimoso (2159120)
Jose Carlos Cortiñas Porras (2055631)
Lecturer:
Prof. Dr. Tomasz Burzykowski
Group 4: Survival Data Analysis Homework 1
1 Introduction
Human Immunodeficiency Virus (HIV) is a virus that attacks the body’s immune system. If HIV is not
treated, it can lead to Acquired Immunodeficiency Syndrome (AIDS) which is a disease that progresses
to immune system failure, this leads to the development of other infections and potentially deadly
cancers. HIV is spread mainly by unprotected sex, contaminated blood transfusions, hypodermic
needles, and from mother to child. While there is no available cure, antiretroviral (ARV) treatment
can slow the course of the disease leading to a near-normal life expectancy.
A clinical trial of HIV-infected patients was conducted to study the effect of adding Indinavir(IDV) to
zidovudine and lamivudine(ZDV+LAM) treatment on time AIDS-free survival time while taking into
account other variables that might have an effect.
2 Methodology
2.1 Study setting and participants
This is a randomized controlled trial included 1148 patients with HIV. Patients were recruited in the
study if they (1) had no more 200 baseline TCD4 cells per cubic millimeter, and (2) were treated
with ZDV at least 3 months prior to the study. Patients were randomly assigned to the control group
(ZDV+LAM) or experimental group (ZDV+LAM+IDV).
2.2 Outcome
The primary outcome of this study was AIDS-free survival time. Patients were followed until having
AIDS-defining diagnosis, death, loss to follow-up, or end of the study, whichever occurs first.
1
Group 4: Survival Data Analysis Homework 1
datasets were used in the analysis, (1) using the original dataset and (2) a dataset that contain only
patients who met the eligibility criteria (i.e., TCD4 ≤ 200 cell per cubic millimeter at baseline).
Table 1: Log-rank test and Log-rank test for trend for independent variables
Table 1 summarizes the results of the log-rank test. Comparisons involving nominal variables were
tested using a log-rank test, that is for: treatment, sex, race, IV drug, and hemophilia. On the other
hand, log-rank test for trend were applied for age group, Karnofsky performance scale score, and ZDV
class to reflect the ordinal nature of these variables. In both datasets, the differences in the estimated
survival curves across the levels of treatment, age group, and Karnofsky performance scale score were
statistically significant at 5% significance level. Meaning, for treatment variable, the experimental
group (ZDV+LAM+IDV) increases the probability of being AIDS-free as compared to the control
group (ZDV+LAM). For age group and Karnofsky performance scale score, the result indicates the
estimated survival curves are ordered corresponding to the order of the groups.
Age Karnof
χ2df 10.8(1) 11(1)
Original dataset
p-value 0.001 <0.001
χ2df 11.7(1) 11.6(1)
Reduced dataset
p-value <0.001 <0.001
Table 2 shows the log-rank test results for treatment survival curves stratified on the covariates in the
dataset. Results showed consistency in both datasets. That is, after allowing for the stratification
for both age group and Karnofsky performance scale score, the estimated survival curve between the
levels of the treatment were significantly different at 5% level of significance.
2
Group 4: Survival Data Analysis Homework 1
4 Conclusion
The randomized clinical trial was done to see the effect of the new treatment (ZDV+LAM+IDV)
on the AIDS-free survival time. The results showed that combination of (ZDV+LAM+IDV) is more
effective in preventing AIDS progression as compared to the (ZDV+LAM) treatment. Moreover,
the progression of AIDS is slower among younger patients and patients who have higher Karnofsky
performance scale score. Lastly, the effect of IDV treatment is consistent after taking into account
grouping variables age group and Karnofsky performance scale score.
3
Group 4: Survival Data Analysis Homework 1
5 Appendix
R Codes
# Estimation the Kaplan - Meier table
aids _ KM _ tr <- survfit ( Surv ( time , censor ) ~ Treatment , data = df ,
type = c ( " kaplan - meier " ) ,
error = c ( " greenwood " ) ,
conf . type = c ( " log - log " ) )
summary ( aids _ KM _ tr )
# Ploting of survival curve
ggsurvplot ( aids _ KM _ tr , risk . table = TRUE , censor . shape = " '" ,
legend . labs = c ( " Control " , " Experimental " ) ,
risk . table . col = " strata " , legend . title = " " ,
palette = " Dark2 " , risk . table . y . text = FALSE ,
ylab = " AIDS - free ␣ probability " , xlab = " Day " )
# Log - rank test
survdiff ( Surv ( time , censor ) ~ Treatment , data = df )
# Stratified log - rank test
survdiff ( Surv ( time , censor ) ~ Treatment + strata ( karnof ) , data = df )
SAS Codes
References
[1] Peter Ssebutinde, Imelda T Kyamwanga, Eleanor Turyakira, Stephen Asiimwe, and Francis Baju-
nirwe. Effect of age at initiation of antiretroviral therapy on treatment outcomes; a retrospective
cohort study at a large hiv clinic in southwestern uganda. PLoS One, 123(3):958–965, 2013.
[3] R Core Team. R: A Language and Environment for Statistical Computing. R Foundation for
Statistical Computing, Vienna, Austria, 2022.