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;
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?
The first looks like the output from quartiles, ie annual and the second from outsurv, ie issuejoinedNNNAout.
What version of SAS are you on?
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
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
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?
Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.
Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.
Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.
Find more tutorials on the SAS Users YouTube channel.