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?