- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 01-14-2025 10:07 PM
(573 views)
I found some information about using 'proc causaltrt' procedure such as IPWS to calculate ATT (SAS code below from https://documentation.sas.com/doc/en/statcdc/14.2/statug/statug_causaltrt_examples01.htm). However, I am not sure how to get survival outcomes using this procedure. I can find some R packages for this purpose. Could you help me figure it out using SAS? Many thanks.
proc causaltrt data=smokingweight method=IPWS;
class Sex Race Education Exercise Activity Quit /desc;
psmodel Quit = Sex Age Education Exercise Activity YearsSmoke PerDay;
model Change;
run;
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Are you trying to get something like an IPT-weighted hazard ratio?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Yes, kind of. Could you help me figure it out? Many thanks.