🔒 This topic is solved and locked.
Need further help from the community? Please
sign in and ask a new question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 06-06-2017 02:54 PM
(34476 views)
Hi,
This is probably a very simple question but I can't seem to output the data from a proc freq to a dataset. I am using the out= option but I am only gettng the count and percent. I want to also include the cumulative percent. Is this possible?
1 ACCEPTED SOLUTION
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc freq data=sashelp.class; ods output onewayfreqs=f; tables age; run; proc print data=f; run;
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
The OUT goes on the TABLE statement.
proc freq data=sashelp.class;
table sex*age / out=want outpercent;
run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
proc freq data=sashelp.class; ods output onewayfreqs=f; tables age; run; proc print data=f; run;
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
thank you!