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
Nearly 200 sessions are now available on demand with the SAS Innovate Digital Pass.
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!