I'm also going to try ProcSummary.
would you please guide me to a good source for PROCSummary?
Thanks,
Nazanin
The only source I know of is the SAS documentation at:
https://documentation.sas.com/?cdcId=pgmmvacdc&cdcVersion=9.4&docsetId=proc&docsetTarget=p0aq3hsvflz...
There are examples in the PROC MEANS documentation which should work identically in PROC SUMMARY (but I haven't tested them in PROC SUMMARY)
https://documentation.sas.com/?cdcId=pgmmvacdc&cdcVersion=9.4&docsetId=proc&docsetTarget=p0f0fjpjeuc...
The only quirk you might want to know is that PROC SUMMARY puts the totals at the top of the output data set, whereas you want them at the bottom, but you can do a sort BY DESCENDING _TYPE_; and then the totals are at the bottom.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.