☑ This topic is solved.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 06-15-2024 08:14 PM
(716 views)
I'd generate the cumulative incidence rate at several specific time points by using proc lifetest. Code was shown below. However, I still get the cumulative incident rate at continuous time points. Could you help me figure it out?
proc lifetest data=data intervals=0 to 12 by 1 method = lt; time Month*death(0)/EVENTCODE=1; strata group; run;
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Use TIMELIST option .
proc lifetest data=sashelp.bmt plots=cif TIMELIST=0 to 2500 by 500 ;
time t*Status(0)/eventcode=1;
strata group;
run;
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Use TIMELIST option .
proc lifetest data=sashelp.bmt plots=cif TIMELIST=0 to 2500 by 500 ;
time t*Status(0)/eventcode=1;
strata group;
run;