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
April 27 - 30 | GAYLORD TEXAN
Register now to lock in early bird pricing through February 25!
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!