BookmarkSubscribeRSS Feed
deleted_user
Not applicable
How can one achieve a layout like this using proc tabulate? if not tabulate than what other procedure can I use.
Hope the layout is preserved...basically I need a cross tab, grade in rows with total, then gender and year in columns, with a year on year growth, and a column total.

Male Female Total
2005 2006 %incr 2005 2006 %incr 2005 2006 %incr
Grade
1 10 20 100% 10 20 100% 20 40 100%
2 10 20 100% 10 20 100% 20 40 100%
Total 20 40 100% 20 40 100% 40 80 100%

Brendan
1 REPLY 1
deleted_user
Not applicable
have a look at denominator definitions.
One variation allows you to define an analysis variable as the denominator. Then you achieve ratios.

PeterC

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is Bayesian Analysis?

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 826 views
  • 0 likes
  • 1 in conversation