Copyright © 1999-2008 Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and international.

Slides:



Advertisements
Similar presentations
Survival Analysis. Key variable = time until some event time from treatment to death time for a fracture to heal time from surgery to relapse.
Advertisements

If we use a logistic model, we do not have the problem of suggesting risks greater than 1 or less than 0 for some values of X: E[1{outcome = 1} ] = exp(a+bX)/
Survival Analysis-1 In Survival Analysis the outcome of interest is time to an event In Survival Analysis the outcome of interest is time to an event The.
Logistic Regression Psy 524 Ainsworth.
Introduction to Survival Analysis October 19, 2004 Brian F. Gage, MD, MSc with thanks to Bing Ho, MD, MPH Division of General Medical Sciences.
Departments of Medicine and Biostatistics
HSRP 734: Advanced Statistical Methods July 24, 2008.
SC968: Panel Data Methods for Sociologists
1 SAS Formats and SAS Macro Language HRP223 – 2011 November 9 th, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning:
1 Merging with SQL HRP223 – 2011 October 31, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation.
1 Lab 2 HRP223 – 2010 October 18, 2010 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected.
1 Processing Grouped Data HRP223 – 2011 November 14 th, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
1 Creating and Tweaking Data HRP223 – 2010 October 24, 2011 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
بسم الله الرحمن الرحیم. Generally,survival analysis is a collection of statistical procedures for data analysis for which the outcome variable of.
Chapter 11 Survival Analysis Part 3. 2 Considering Interactions Adapted from "Anderson" leukemia data as presented in Survival Analysis: A Self-Learning.
PH6415 Review Questions. 2 Question 1 A journal article reports a 95%CI for the relative risk (RR) of an event (treatment versus control as (0.55, 0.97).
Biostatistics in Research Practice Time to event data Martin Bland Professor of Health Statistics University of York
Chapter 11 Survival Analysis Part 2. 2 Survival Analysis and Regression Combine lots of information Combine lots of information Look at several variables.
Event History Models Sociology 229: Advanced Regression Class 5
Introduction to Survival Analysis PROC LIFETEST and Survival Curves.
Model Checking in the Proportional Hazard model
Survival Analysis A Brief Introduction Survival Function, Hazard Function In many medical studies, the primary endpoint is time until an event.
Analysis of Complex Survey Data
Survival analysis Brian Healy, PhD. Previous classes Regression Regression –Linear regression –Multiple regression –Logistic regression.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 10: Survival Curves Marshall University Genomics Core.
Multiple Choice Questions for discussion
Essentials of survival analysis How to practice evidence based oncology European School of Oncology July 2004 Antwerp, Belgium Dr. Iztok Hozo Professor.
1 Survival Analysis Biomedical Applications Halifax SAS User Group April 29/2011.
NASSER DAVARZANI DEPARTMENT OF KNOWLEDGE ENGINEERING MAASTRICHT UNIVERSITY, 6200 MAASTRICHT, THE NETHERLANDS 22 OCTOBER 2012 Introduction to Survival Analysis.
HSRP 734: Advanced Statistical Methods July 10, 2008.
Dr Laura Bonnett Department of Biostatistics. UNDERSTANDING SURVIVAL ANALYSIS.
1 Introduction to medical survival analysis John Pearson Biostatistics consultant University of Otago Canterbury 7 October 2008.
HPR Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and.
Assessing Survival: Cox Proportional Hazards Model
Bayesian Analysis and Applications of A Cure Rate Model.
1 Lab 2 and Merging Data (with SQL) HRP223 – 2009 October 19, 2009 Copyright © Leland Stanford Junior University. All rights reserved. Warning:
01/20151 EPI 5344: Survival Analysis in Epidemiology Survival curve comparison (non-regression methods) March 3, 2015 Dr. N. Birkett, School of Epidemiology,
Linear correlation and linear regression + summary of tests
HSRP 734: Advanced Statistical Methods July 17, 2008.
Introduction to Survival Analysis Utah State University January 28, 2008 Bill Welbourn.
April 4 Logistic Regression –Lee Chapter 9 –Cody and Smith 9:F.
Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and international.
Pro gradu –thesis Tuija Hevonkorpi.  Basic of survival analysis  Weibull model  Frailty models  Accelerated failure time model  Case study.
Going from data to analysis Dr. Nancy Mayo. Getting it right Research is about getting the right answer, not just an answer An answer is easy The right.
01/20151 EPI 5344: Survival Analysis in Epidemiology Actuarial and Kaplan-Meier methods February 24, 2015 Dr. N. Birkett, School of Epidemiology, Public.
01/20151 EPI 5344: Survival Analysis in Epidemiology Cox regression: Introduction March 17, 2015 Dr. N. Birkett, School of Epidemiology, Public Health.
HRP Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and.
Biostatistics Case Studies 2014 Youngju Pak Biostatistician Session 5: Survival Analysis Fundamentals.
Some survival basics Developments from the Kaplan-Meier method October
01/20151 EPI 5344: Survival Analysis in Epidemiology Hazard March 3, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive Medicine,
HRP Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and.
INTRODUCTION TO CLINICAL RESEARCH Survival Analysis – Getting Started Karen Bandeen-Roche, Ph.D. July 20, 2010.
HRP 223 – 2007 lm.ppt - Linear Models Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected.
Nonparametric Statistics
Beginning Data Manipulation HRP Topic 4 Oct 14 th 2012 Copyright © Leland Stanford Junior University. All rights reserved. Warning: This.
Additional Regression techniques Scott Harris October 2009.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 13: Multiple, Logistic and Proportional Hazards Regression.
Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and international.
Nonparametric Statistics
32931 Technology Research Methods Autumn 2017 Quantitative Research Component Topic 4: Bivariate Analysis (Contingency Analysis and Regression Analysis)
Logistic Regression APKC – STATS AFAC (2016).
April 18 Intro to survival analysis Le 11.1 – 11.2
Nonparametric Statistics
Parametric Survival Models (ch. 7)
Jeffrey E. Korte, PhD BMTRY 747: Foundations of Epidemiology II
Statistics 262: Intermediate Biostatistics
Lab 3 and HRP259 Lab and Combining (with SQL)
Topic 10 - Categorical Outcomes
Presentation transcript:

Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and international treaties. Unauthorized reproduction of this presentation, or any portion of it, may result in severe civil and criminal penalties and will be prosecuted to maximum extent possible under the law. HRP Topic 11- Survival Analysis

HRP What is survival analysis?  They are statistical methods to study not only if an an event happens but also when it happens.  Time is measured for each person from the first observation until when an event happens or when time is censored. Time typically stops when: – An event occurs (aka a failure). – The study is out of time/money. – A person is lost to follow-up or dies from other causes.

HRP Examples  How long a person lives after surgery  How long a person is in remission from leukemia until relapse  How long a woman undergoing fertility treatments takes to get pregnant  All would be called time to event or time until failure.  Events are categorical changes in states.

HRP Why special methods?  Logistic regression can predict the presence or absence of events but not time until events and it can not handle time dependent covariates.  Linear regression can not handle censoring well or time dependent covariates or the fact that time can only be positive.

Time starts when the risk for the possible outcome starts or alternatively, when treatment starts.

Right Censoring Interval Censoring Worry about bias if you have censoring before the end of the study. Is the censoring related to the outcome or the risk of the outcome (informative censoring)?

HRP Survival Analysis Steps  Get some data and make sure it is valid.  Estimate the survival/hazard functions.  Compare the functions between groups.  Assess the impact of predictors on survival rates.

 Survival function – Probability of an event happening some time after this time point  Hazard function – Instantaneous risk of having an event given the subject is still at risk

HRP Methods  Kaplan-Meier method (product limit method) – Most commonly done method to get the survival function – The math is easy.  Life-table method  Parametric methods  Cox regression (proportional hazards regression)

Group 1 = Radiation + Chemotherapy Group 2 = Radiation only Censor 0 = Death Censor 1 = Censored

Reality check the data first.

Don’t use the mean if there are censored people. Two died at 301 days. Lots of subjects are censored at the end. Time to percent failed.

Failure Rates

These CLs are too narrow! Hall-Wellner CLs are better but require some code.

Late differences Early differences

Different Tests  None are powerful when the curves cross.  The -2 log LR (likelihood ratio) test assumes the distribution is exponential (risk doesn’t change over time). The likelihood ratio is a parametric test that requires the distribution to be exponential. When true, it is the most powerful test. Wilcoxon is more powerful than Log Rank when the data follows a log normal distribution. Do the diagnostic plots.

You need straight lines starting at 0,0 for the -2 log LR ( likelihood ratio) to be valid. Here the radiation/chemo line flattening suggests decreasing risk over time. Curving up suggests increasing risk over time.

You want straight lines in the log normal plots for the Wilcoxon to be powerful in detecting the group differences. Differing rates of censoring will cause bias in the Wilcoxon.

Parallel lines suggest a ratio of hazards that is constant over time and therefore, log rank is powerful.

HRP Differences  Wilcoxon puts more weight on the early parts of the curves whereas the log rank puts equal weight on all observations.  Wilcoxon is more sensitive to early differences in the curves and Log Rank is more sensitive to late differences in the curves.

HRP Other Comparisons  There are other methods to compare the curves that I expect to see in the literature in upcoming years. They just use different weights at each time point. Watch for Harrington-Fleming and the modified Peto- Peto statistics.  These should only be used with large samples with many events.

HRP Hazard Plot  Paul Allison wrote the best book on survival analysis. In it you will find code to produce hazard plots when you do KM analysis. If you ever do survival analysis, get a copy!

 You can download the smooth macro from the website. Get the macro and mend lines and everything between.  Run it first then add the call to the smooth macro in your code.

Comment out the one in green below (at the end of the program) to be able to double check the groups in the dataset. Group 1 is radiation only.

HRP Life Table Analysis (Actuarial Method)  If you have a lot of data or if you have measures on everyone at precise times, you can do life table analyses.  You can choose the interval widths but be sure to include some events.  The analyses are done on the ungrouped data so the statistics to compare strata will be the same as in the KM analyses.  You can get rough estimated hazard functions.

HRP Comparing Multiple Groups  If you have 3 or more groups, you can compare them using KM or life table analyses to find out if there are overall differences between the groups. SAS does not have a built-in method to do the post hoc comparisons between all the levels. Survival Analysis Using the Proportional Hazards Model by SAS Press has a macro do it (but it costs $100 for the paperback book). Come see me.

HRP Impact of Covariates  You may have statistically significant differences between groups, but what causes it? In 1972, (Sir) David Cox published a paper “Regression Models and Life Tables” that revolutionized how we assess the impact of predictors on survival.  Cox’s paper is the most referenced article in the history of statistics and it is in the top 100 for all of science.

HRP Non- and Parametric Modeling  There are non-parametric methods for assessing survival (KM) curves which are not particularly powerful for assessing relationships. There are also parametric models, where you mathematically specify the shape of the hazard functions. These are very powerful if you specify the correct shape of the hazard but often the hazard functions are unknown or extremely complex.

What does it do?  You say everyone has a baseline hazard (which you don’t need to specify!) and the covariates push the hazard up or down. It works using the rank order of events and censoring and gives you hazard ratios. The method assumes that the hazards are proportional but it can deal with them when they are not.

HRP Hazard Ratios  Interpret them like odds ratios. Hazard of event increases by 75% every year older someone was at the start of the study. Double the hazard if the subject was female.

HRP Weaknesses  You don’t get equations that can be used to make predictions.  You don’t have group specific hazard rates. Does the HR of 2 mean that a subject goes from.25 hazard to.5 or.001 to.002?  Clinical significance can’t be judged.

How it works…  It uses partial likelihood to assess hazards at the times when there are events. Because of this, it needs to deal with tied times. Use Efron’s method.  Like logistic regression, it can fail to find an answer because of 0 cell counts. If you see huge standard errors relative to the size of the parameter estimates, you have problems.

Make sure you have the correct number censored. See if it notices that it failed to converge. These measure overall goodness of the model. AIC or Schwartz Bayesian Criteria include penalizations to -2 log likelihood for less parsimonious models. Does the model do any good? Use the likelihood ratio if the sample is small.

For every year increase in baseline age, the model gives a.035 increase in the log of the hazard of death or a 3.6% increase in the hazard.

HRP Dealing with Censoring  Do additional analysis where you: – set all censored people to having events immediately after they were censored. – set all censored people to having events after the longest follow-up of anyone in the study.  This sensitivity analysis give you worst case scenario information as well as your best guess given the actual data that you already ran.