Kaplan-Meier Survival Plotting Macro %NEWSURV Jeffrey Meyers Mayo Clinic, Rochester, MN.

Slides:



Advertisements
Similar presentations
Epi Info Software for Public Health For Microsoft Windows®
Advertisements

Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
April 25 Exam April 27 (bring calculator with exp) Cox-Regression
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).
Chapter 11 Survival Analysis Part 2. 2 Survival Analysis and Regression Combine lots of information Combine lots of information Look at several variables.
Assessing Survival: Cox Proportional Hazards Model Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Survival Analysis A Brief Introduction Survival Function, Hazard Function In many medical studies, the primary endpoint is time until an event.
Bay Area SUG June SAS ® 9.2 Implications for Biotech SAS ® 9.2 Implications for Biotech Bay Area SAS User’s Group June 7 th 2010 Sarmad Pirzada,
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Advanced Tutorial For Version 10.0 and later.
1 Survival Analysis Biomedical Applications Halifax SAS User Group April 29/2011.
Data Analysis Using SPSS
Statistical Modeling with SAS/STAT Cheng Lei Department of Electrical and Computer Engineering University of Victoria April 9, 2015.
Assessing Survival: Cox Proportional Hazards Model
%rtf2data: A utility macro to convert RTF Table to SAS® dataset
01/20151 EPI 5344: Survival Analysis in Epidemiology SAS code and output February 24, 2015 Dr. N. Birkett, School of Epidemiology, Public Health & Preventive.
INTRODUCTION TO SURVIVAL ANALYSIS
Introduction to SAS/Graph 9.2 Ken Barz Colorado Prevention Center 22Oct2009 Ken Barz Colorado Prevention Center.
Introduction to Survival Analysis Utah State University January 28, 2008 Bill Welbourn.
Applied Epidemiologic Analysis - P8400 Fall 2002 Lab 9 Survival Analysis Henian Chen, M.D., Ph.D.
SAS ODS (Output Delivery System) Donald Miller 812 Oswald Tower ;
Priya Ramaswami Janssen R&D US. Advantages of PROC REPORT -Very powerful -Perform lists, subsets, statistics, computations, formatting within one procedure.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
Computer Literacy for IC 3 Unit 2: Using Productivity Software Chapter 3: Formatting and Organizing Paragraphs and Documents © 2010 Pearson Education,
We’ll now look at the relationship between a survival variable Y and an explanatory variable X; e.g., Y could be remission time in a leukemia study and.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
Tutorial I: Missing Value Analysis
SAS ® is a very powerful tool when producing Graphics. A single graphical data step can easily create a Kaplan Meier Plot, but there is no single graphical.
Instrument design Essential concept behind the design Bandit Thinkhamrop, Ph.D.(Statistics) Department of Biostatistics and Demography Faculty of Public.
INTRODUCTION TO CLINICAL RESEARCH Survival Analysis – Getting Started Karen Bandeen-Roche, Ph.D. July 20, 2010.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
Additional Regression techniques Scott Harris October 2009.
1 SAS ® ODS Technology for Today’s Decision Makers Sunil Gupta Quintiles.
03/20161 EPI 5344: Survival Analysis in Epidemiology Estimating S(t) from Cox models March 29, 2016 Dr. N. Birkett, School of Epidemiology, Public Health.
Reporting The Facts: The ODSmemo macro suite for making reproducible RTF memos within SAS® Rocio Lopez Cleveland Clinic.
03/20161 EPI 5344: Survival Analysis in Epidemiology Testing the Proportional Hazard Assumption April 5, 2016 Dr. N. Birkett, School of Epidemiology, Public.
Date of download: 7/7/2016 Copyright © 2016 American Medical Association. All rights reserved. From: Allogeneic Stem Cell Transplantation for Acute Myeloid.
Kaplan-Meier Survival Plotting Macro %NEWSURV Jeffrey Meyers Mayo Clinic, Rochester, Minnesota 1 BB-13.
Descriptive Statistics Experiment Simulations Confidence Intervals Sampling Distribution Simulations Main Menu.
Forest Plotting Analysis Macro %FORESTPLOT (Paper 3419)
SECTION 6 DESIGN STUDY. What’s in this section: –Design Variables –Design Studies Overview –Specifying an Objective –Execution Display Settings –Output.
Prof. Eric A. Suess Chapter 3
An Introduction to Epi Info 6/7
Microsoft PowerPoint Illustrated
Campaign Creation Toolkit: 101
EMPA Statistical Analysis
Office tool for creating tables and charts
Add More Zing to your Dashboards – Creating Zing Plot Gadgets
Chapter 5: Enhancing Your Output with ODS
Applied Business Forecasting and Regression Analysis
April 18 Intro to survival analysis Le 11.1 – 11.2
Lecture 25.
Word Processing.
Statistical Inference for more than two groups
Cartography and Labeling
An Interactive Tutorial for SPSS 10.0 for Windows©
AA-08: Kaplan-Meier Survival Plotting Macro %NEWSURV
Advanced Analytics Using Enterprise Miner
Topic 4: Exploring Categorical Data
INTRODUCTION TO SGPLOT Zahir Raihan OVERVIEW  ODS Graphics  SGPLOT overview  Plot Content  High value plot statements  High value plot options 
Click Headings Above to View Content
Combined predictor Selection for Multiple Clinical Outcomes Using PHREG Grisell Diaz-Ramirez.
Agenda 8:00pm Welcome Marc Richmond / Elfi Pahl 8:10pm
SAS/Graph to help data Dose/Concentration consistency review
ESRM 250/CFR 520 Autumn 2009 Phil Hurvitz
Programming with Microsoft Visual Basic 2008 Fourth Edition
REDCap External Modules
Experiment #2 Resistor Statistics
iSecurity Password-Reset Training
A suite of community-contributed programs to produce outcome tables and graphs for demographic and survival data Not theory-heavy, Stata-heavy or anything.
Presentation transcript:

Kaplan-Meier Survival Plotting Macro %NEWSURV Jeffrey Meyers Mayo Clinic, Rochester, MN

2 Macro Overview (Plot)

3 Macro Overview (Statistical Report) General Statistical Report Table Example Event/Total Median (95% CI) † Hazard Ratio (95% CI) ‡ Survival Estimates (95% CI) † P-value SASHELP.BMT Data set with no Class Variable All Patients83/ ( )1 Years: 58.3 ( ) 2 Years: 42.0 ( ) This is the footnote for this model SASHELP.BMT Data set with Class Variable Group $ ALL24/381.1 (0.5-NE)Ref1 Years: 54.9 ( ) 2 Years: 35.3 ( ) AML-High Risk34/450.5 ( )1.47 ( )1 Years: 37.8 ( ) 2 Years: 24.4 ( ) AML-Low Risk25/546.0 (1.9-NE)0.56 ( )1 Years: 77.8 ( ) 2 Years: 61.1 ( ) This is the footnote for this model † Kaplan-Meier method; ‡ Cox model; $ Score test; This also allows an overall footnote

4 Sample Dataset  SASHELP.BMT  SAS 9.3  GROUP – categorical  Acute Lymphoblastic Leukemia (ALL)  Acute Myeloid Leukemia (AML) »High Risk and Low Risk  T – time from transplant  STATUS – survival status  0=Alive  1=Dead

5 Output Methods  RTF, PDF, HTML, Listing  Various file types (PNG, JPEG, TIFF, EMF, …)  DPI settings  Scalable vector graphics (9.3 and later)  From macro vs. within ODS tags

6 Error Checking  Macro checks most parameter input  Custom error messages: ERROR: (Model 1: DISPLAY): TOTL is not in the list of valid values ERROR: (Model 1: DISPLAY): Possible values are LEGEND|HR|MEDIAN|TOTAL|EVENT|TIMELIST| PVAL|TABLECOMMENTS ERROR: 1 pre-run errors listed ERROR: Macro NEWSURV will cease

7 Computed Statistics  1 LIFETEST procedures, up to 2 PHREG procedures  N patients, N events  Median time-to-event  Kaplan-Meier event-free rate  Cox proportional hazards ratio  Univariate and adjusted  P-value  Univariate and adjusted  Patients-at-risk numbers

8 Only Required Variables Required Parameters  DATA  TIME  CENS  CEN_VL

9 Dataset Transformations  XDIVISOR  CLASS  WHERE  LANDMARK

10 Line and Axes Transformations  COLOR  PATTERN  Axis options  Label  Minimum  Maximum  Increment

11 Plot Summary Table Options  DISPLAY  Class options  Alignment  Order  Reference  Time-points  Multiple  Unit label  P-value  Model  5 options  Stratification

12 New Features  Border and Wall options  Events/N formats  Split headers  Time-point without unit  Reference text  Factor level comparison P-values

13 Patients-at-Risk Table Variations  Labels  3 location options  Automatic  Values  Increment  Color  Location

14 Patients-at-Risk Table Variations  Header  Alignment  Turn on/off  User specified text

15 Patients-at-Risk Table Variations

16 Patients-at-Risk Table Variations

17 Lattice of Plots  Each cell individually customizable  Overall title  Cell titles  Overall footnote  Cell footnotes  1-S Plot

18 Closing  %NEWSURV greatly reduces effort required to build a Kaplan-Meier survival plot  Graph Template Language greatly reduces effort of building publication quality plots  Goals for the future:  Add capabilities for competing risks/cumulative incidence  Add ability to enter pre-built data set to be plotted

19 Contact Information Name: Jeffrey Meyers Enterprise: Mayo Clinic Address: 200 1st St SW City, State ZIP: Rochester, MN Work Phone: Twitter: jmeyers_spa SAS Community Wiki Page: LinkLink