Hello,
I was just curious if there is a difference between a*b and a(b) in proc glm.
proc glm; class a b; model y=a b a*b; run; proc glm; class a b; model y=a b a(b); run;
a(b) is "a nested within b"
a*b is interaction
make some data, run the code, see the result. Make sure to use some variety in the a b values per record
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Latest Updates
Check out this tutorial series to learn how to build your own steps in SAS Studio.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.
Browse our catalog!