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

CFC_SAS_Communities_400x225.jpg

Call for content now open!

It's your turn to help shape SAS Innovate 2027. Share your expertise and inspire the SAS community.

Submit your proposal →

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
  • 1267 views
  • 0 likes
  • 1 in conversation