BookmarkSubscribeRSS Feed
shahd
Quartz | Level 8

Hi all,

If I have three dummy variables as independent variables in my regression model. Should I include interaction term?

3 REPLIES 3
PGStats
Opal | Level 21

Proc glm, glimmix, genmod and many other regression procs will generate dummy variables for all variables described as class variables. You should add interaction terms to your model if you have the least doubt that there might be some interaction (i.e. that the effect of a variable might not be the same in every category of another variable).

PG
shahd
Quartz | Level 8
Could you please guided me how can I determine if there is interaction between variables

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

Mastering the WHERE Clause in PROC SQL

SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 1135 views
  • 0 likes
  • 3 in conversation