Hi,
I got following data:
Name Amount
1 100
1 200
2 300
2 ...
3 ..
3 ..
3 ..
What procedure is best to use to create following report/output:
1st Col 2ndCol 3rd 4th
Name1 Aggregated Sum of Amount of Name1 Cum. Percentage of Agg.Sum Name1 Counts of Name1
Name2 Aggregated Sum of Amount of Name2 Cum. Percentage of Agg.Sum Name1 Counts of Name1
Name3 Aggregated Sum of Amount of Name3 Cum. Percentage of Agg.Sum Name1 Counts of Name1
...
-------------------------------------------------------------------------------------------------------------------------------------
Total.... Total of Aggregated Sum 100% Total Counts
Number of Missing:
I tried it with proc report so far, but I did not get the desired results´. I'm using SAS Enterprise Guide, so I'm also open to drag & drop solutions.
Thanks,
fuhgid
Pviot Reports on Aggregated Data- Proc report, proc means or proc summary ?
Why does it have to be one of these three? Why not one of the above (specifically PROC MEANS or PROC SUMMARY), followed by a DATA step?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.
Ready to level-up your skills? Choose your own adventure.