1 / 18

EPI 5344: Survival Analysis in Epidemiology SAS code and output March 4 , 2014

EPI 5344: Survival Analysis in Epidemiology SAS code and output March 4 , 2014. Dr. N. Birkett, Department of Epidemiology & Community Medicine, University of Ottawa. Recidivism data set. 432 male prison inmates from the early 1970’s Test of a financial support programme (RCT)

tierra
Download Presentation

EPI 5344: Survival Analysis in Epidemiology SAS code and output March 4 , 2014

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EPI 5344:Survival Analysis in EpidemiologySAS code and outputMarch 4, 2014 Dr. N. Birkett, Department of Epidemiology & Community Medicine, University of Ottawa

  2. Recidivism data set • 432 male prison inmates from the early 1970’s • Test of a financial support programme (RCT) • Followed for 1 year post-release • Data collected weekly • Primary outcome • re-arrest (recidivism) • 26% re-arrested • Data includes • financial aid group • age • race • # prior arrests • parole status

  3. Recidivism data (first 20 cases) Obs week arrest fin age race wex mar paro prio 1 20 1 0 27 1 0 0 1 3 2 17 1 0 18 1 0 0 1 8 3 25 1 0 19 0 1 0 1 13 4 52 0 1 23 1 1 1 1 1 5 52 0 0 19 0 1 0 1 3 6 52 0 0 24 1 1 0 0 2 7 23 1 0 25 1 1 1 1 0 8 52 0 1 21 1 1 0 1 4 9 52 0 0 22 1 0 0 0 6 10 52 0 0 20 1 1 0 0 0 11 52 0 1 26 1 0 0 1 3 12 52 0 0 40 1 1 0 0 2 13 37 1 0 17 1 1 0 1 5 14 52 0 0 37 1 1 0 0 2 15 25 1 0 20 1 0 0 1 3 16 46 1 1 22 1 1 0 1 2 17 28 1 0 19 1 0 0 0 7 18 52 0 0 20 1 0 0 0 2 19 52 0 0 25 1 0 0 1 12 20 52 0 0 24 0 1 0 1 1

  4. ODS GRAPHICS ON; ODS RTF; PROC LIFETEST DATA=allison.recid PLOTS=S(test atrisk) TIMELIST=1 to 52; TIME week*arrest(0); strata fin/tests=all; RUN; ODS RTF close; ODS GRAPHICS OFF;

  5. ODS GRAPHICS ON; ODS RTF; PROC LIFETEST DATA=allison.recid; TIME week*arrest(0); STRATA age(21 24 28); RUN; ODS RTF close; ODS GRAPHICS OFF;

  6. ODS GRAPHICS ON; ODS RTF; PROC LIFETEST DATA=allison.recid; TIME week*arrest(0); TEST fin age race wexp mar paro prio; RUN; ODS RTF close; ODS GRAPHICS OFF;

More Related