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

Hello,

Please see attached. 

Why is the group by statement "  .../groupby = (cat_input2 cat_input2)  

and NOT ".../groupby = (cat_input2 cat_input3)  ?  

 

What additional info is generated by having another identical dimension ?

 

Thanks.

Odesh.

1 ACCEPTED SOLUTION

Accepted Solutions
AndyRavenna
SAS Employee

Hi,

The point of that example was to create a 4-way crosstab. Unfortunately, the banking data table only had a limited number of categorical variables. That is the reason that cat_input2 is used twice. You are correct in suggesting that if there had been a cat_input3 variable, we could have used it there. Unfortunately, the data table does not contain that variable. 

Hope this is helpful,

Andy

 

Check out my tutorial on ANOVA: What is ANOVA?

View solution in original post

4 REPLIES 4
Cynthia_sas
Diamond | Level 26
Hi:
I've sent your question to the instructors.
Cynthia
AndyRavenna
SAS Employee

Hi,

The point of that example was to create a 4-way crosstab. Unfortunately, the banking data table only had a limited number of categorical variables. That is the reason that cat_input2 is used twice. You are correct in suggesting that if there had been a cat_input3 variable, we could have used it there. Unfortunately, the data table does not contain that variable. 

Hope this is helpful,

Andy

 

Check out my tutorial on ANOVA: What is ANOVA?
odesh
Quartz | Level 8
Hi Andy,
Thanks for the quick succinct reply. This is very helpful

Odesh.
AndyRavenna
SAS Employee
You are most welcome!
Andy
Check out my tutorial on ANOVA: What is ANOVA?

 

This is a knowledge-sharing community for learners in the Academy. Find answers to your questions or post here for a reply.
To ensure your success, use these getting-started resources:

Estimating Your Study Time
Reserving Software Lab Time
Most Commonly Asked Questions
Troubleshooting Your SAS-Hadoop Training Environment

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 4 replies
  • 1696 views
  • 0 likes
  • 3 in conversation