Description: School of Public Health

Description: David R. Gagnon, MD MPH PhD

 

Description: Contents

 

 

Description: -

Biostatistics Home

-

David R. Gagnon

David's Home Page

SAS and Other Macros

 

Framingham Teaching Data Set

Many of my macros use the Framingham Heart Study teaching data set for examples

fram.sas7bdat

 

Generating Forest Plots and Reports for several regression model outputs

Reports and Forest Plots.zip

 

Receiver Operating Characteristic [ROC] Curves

ROC.sas

 

Net Reclassification Improvement [NRI]

These macros are based on macros produced by Nancy Cook

NRI macros.sas

NRI macros Example.sas

 

Calculation of Number Needed to Treat

This is a macro based on Peter Austin’s work [J Clin Epi, 2010].

Includes attributable risk, population attributable risk [PAR]

and PAR% using survival analysis models.

NNTsurv.sas            *updated 5-8-2022

 

Propensity Score Diagnostics and Love Plot

IPW Diagnostic Macros.sas

IPW Diagnostics Example.sas

IPW Diagnostics Spreadsheet.xlsx

 

Restricted Cubic Spline Plots of Hazard Ratios, Odds/Risk/Rate Ratios

This is a set of macros for the generation of publication-ready spline plots

Splines.zip

 

Use of SAS® for Clinical Trial Management and Risk-Based Monitoring of Multicenter Clinical Trial Data from Electronic Data Capture Tools

by Bob Hall, MS, Rebecca V. Fink MPH, David R. Gagnon, MD, MPH, PhD

Presented at NESUG 2013

·        PDF of NESUG 2013 Paper

·        PowerPoint Presentation

·         SAS code [including table macro].  This code provides a generic framework for table production. 

 

 

 

 

 

Prepared by David R. Gagnon MD MPH PhD
gagnon@bu.edu

 

 

Last Modified:

 

Description: FOOTER