BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
BigPete
Obsidian | Level 7

For example when looking at the 2 tables below, we know rowpctn/rowpctsum tend to show % breakdown for entire row using a + b + c +d as denominator.

  Class 1 Class 2  
  Column 1 Column 2 Class 1 row total Column 3 Column 4 Class 2 row total Grand row total
Row 1 a b a + b c d c + d a + b + c +d

 

  Class 1 Class 2  
  Column 1 Column 2 Class 1 row total Column 3 Column 4 Class 2 row total Grand row total
Row 1 a / (a + b + c +d) b / (a + b + c +d) (a + b) / (a + b + c +d) c / (a + b + c +d) d / (a + b + c +d) (c + d) / (a + b + c +d) 100%

 

But is there a way to tally up to 100% for each section like this table below?

  Class 1 Class 2
  Column 1 Column 2 Class 1 row total Column 3 Column 4 Class 2 row total
Row 1 a / (a + b) b / (a + b) 100% c / (c + d) d / (c + d) 100%
1 ACCEPTED SOLUTION
2 REPLIES 2

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 2 replies
  • 630 views
  • 3 likes
  • 2 in conversation