turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Find a Community

- Home
- /
- BI
- /
- Enterprise Guide
- /
- Getting SAS to report CIF at a specific time

Topic Options

- RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

11-14-2017 03:50 PM

I'm running a Fine & Gray Competing Risk Regression, I'm trying to establish the baseline hazard at time (t). Using the baseline function I'm able to get SAS to model the CIF for a baseline patient which is exactly what I want.

However, I need the actual numeric value of the CIF for a time (t), not the curve of CIF for all times. Is there a way to get SAS to report the value for CIF at a specific time?

Thanks

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to sasusertoronto

11-14-2017 04:49 PM

Capture the CIF data to a an output table and you should be able to get the time point you're interested in.

If you need further help post what you've tried and explain what doesn't work.

sasusertoronto wrote:

I'm running a Fine & Gray Competing Risk Regression, I'm trying to establish the baseline hazard at time (t). Using the baseline function I'm able to get SAS to model the CIF for a baseline patient which is exactly what I want.

However, I need the actual numeric value of the CIF for a time (t), not the curve of CIF for all times. Is there a way to get SAS to report the value for CIF at a specific time?

Thanks

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to Reeza

12-20-2017 04:18 PM

Thanks for your help..

I'm having trouble getting the output table I need.. Here's what I'm running:

proc phreg data=xx plots=cif;

class ... ;

model survival*status(0)= ... / rl=both eventcode=1;

output out=outtable cif=cif;

run;

proc freq data=outtable;

table cif;

run;

The results give me a plot of CIF with the y-axis labelled "Probability" and the x-axis labelled "Survival", and my CIF table.

Unfortunately I get a table of CIF values and the corresponding frequency and cumulative frequency, but not the CIF at a specific survival time.

Any advice for now I can get a table that reports the CIF values with their corresponding times?

Thanks

- Mark as New
- Bookmark
- Subscribe
- RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

Posted in reply to sasusertoronto

12-20-2017 04:22 PM