SAS

creating and using ODS

THE OUTPUT statement

  • ods _all_ close; >> closing all the output.
  • output out =stats; >> new dataset in work library. stats is the dataset in work library.
  • ods listing; >> opening the ods;
  • ods closing >> closing ods;

outputting the means directly.

ods listing close; proc means data=Bookdata.IPums;class metro;output out-work.twoState q3(MortgagePayment HomeValue)-MortQ3 ValueQ3;run;* no var required;

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store