1 / 16

PHREG: semi-parametric LIFETEST: non-parametric LIFEREG: parametric

PHREG: semi-parametric LIFETEST: non-parametric LIFEREG: parametric. Why can’t we use PROC LIFETEST to estimate baseline hazard increment?. LIFETEST does not accommodate left censoring. How to use PROC LIFETEST for dataset with left censoring?. Data set: subset of miners cohort data.

len-higgins
Download Presentation

PHREG: semi-parametric LIFETEST: non-parametric LIFEREG: parametric

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. PHREG: semi-parametricLIFETEST: non-parametricLIFEREG: parametric

  2. Why can’t we use PROC LIFETEST to estimate baseline hazard increment?

  3. LIFETEST does not accommodate left censoring

  4. How to use PROC LIFETEST for dataset with left censoring?

  5. Data set: subset of miners cohort data

  6. *---- Non-Parametric using PHREG ----*; • procphregdata=uminers_rs; • model _rstime*_cc(0)= / entrytime=_rsentry rl; • baselineout=outcom cumhaz=cumhaz survival=sur/method=pl; • strata cr500; • run; • procprintdata=outcom; run;

  7. *---- Non-Parametric using LIFETEST ----*; • odsoutput"Product-Limit Estimates"=ple; • proclifetestdata=uminers_rs method=pl; • id record; • time _setno*_cc(0); • strata cr500 _setno; • run; • odsoutputclose; • data ple2;set ple;where survival^=.;run; • *SAS output . for survival if there is no case;

  8. PHREG: LIFETEST:

  9. data ple2;set ple2; • retain survival0 survival1 1;retain cumhazard0 cumhazard1 0; • if cr500=0thendo • survival0=survival*survival0; sur=survival0; • cumhazard0=cumhazard0+failure; cumhazard=cumhazard0; • output; end; • if cr500=1thendo • survival1=survival*survival1; sur=survival1; • cumhazard1=cumhazard1+failure; cumhazard=cumhazard1; • output; end; • run;

  10. PHREG: LIFETEST: (transformed)

  11. Conclusion

  12. Yes, we can use LIFETEST for datasets with left censoring.

  13. But, PHREG is easier.

  14. Thank you!

More Related