Help using Base SAS procedures

Proc lifetest

Reply
Regular Contributor
Posts: 216

Proc lifetest

Hi

Two questions on the below lifetest:

1. When I run the below lifetest and the result appears in the 'output data' tab in Enterprise Guide, how do I export the result in the 'output data' tab to either a data set or a Excel file? I have tried adding an "outsurv" statement to export to a data set, but that does not include all the things that are in 'output data' tab.

proc lifetest data=issuejoinedNNNA;

  ods select Quartiles;

  ods output Quartiles=annual;

  time dur_filing_issuejoin*censor_filing_issue(1);

  strata cnty_name filingYear;

run;

2. How do I add multiple time and censor variables to the above? I did variations of the below, but it is not working:

proc lifetest data=issuejoinedNNNA;

  ods select Quartiles;

  ods output Quartiles=annual;

  time dur_filing_issuejoin*censor_filing_issue(1);

time dur_issuejoin_adjud*censor_adjud(1);

  strata cnty_name filingYear;

run;

Paul

Ask a Question
Discussion stats
  • 0 replies
  • 170 views
  • 0 likes
  • 1 in conversation