- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Hi
Does anyone know how to modify the below proc lifetest function to get the result that is in the attached spreadsheet in tab 'used to get'? When I run the below I am getting a result that is what is in 'get now' tab.
Paul
proc lifetest data=issuejoinedNNNA outsurv=issuejoinedNNNAout ;
ods select Quartiles;
ods output Quartiles=annual;
time dur_filing_issuejoin*censor_filing_issue(1);
strata cnty_name filingYear;
run;
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Both have output options in BASE SAS so you would be able to get it via code. When you run the code below and then close the dialogs/outputs, do you see the table called annual?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The first looks like the output from quartiles, ie annual and the second from outsurv, ie issuejoinedNNNAout.
What version of SAS are you on?
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
I am using Enterprise Guide 5.1. Based on your response, what I would like to do is to save the output from lifetest using quartiles and from Proc Means in a data set. Neither of these two functions has an 'out' option. Does anyone know how to do this?
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Also, in Enterprise Guide, there is a tab called 'Output Data' that appears when you run something (similar to the below). How do I export the contents of 'Output Data' to a data set?
Paul
proc lifetest data=issuejoinedNNNA;
ods select Quartiles;
ods output Quartiles=annual;
time dur_filing_issuejoin*censor_filing_issue(1);
strata cnty_name filingYear;
run;
Pau
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Both have output options in BASE SAS so you would be able to get it via code. When you run the code below and then close the dialogs/outputs, do you see the table called annual?