I am looking for some advice about interactions in SAS.
I am running a MIXED linear model with categorical and continuous variables. I am trying to determine if there is a quadratic relationship in the variable labeled cat. Normally I would put cat*cat or cat|cat to try to get an interaction. But when I run that code, my output still doesn't have an interaction as one of my type 3 tests of fixed effects. Is there a different symbol to try? Does anyone have any advice? My log shows no error messages, but there must be something wrong.
The code looks like this:
proc mixed data= allstock6 ; class robotnr yr2 week2 cat; model Meal= ages week1 cat week2cat*cat/ddfm=SATTERTH s; random pony week2(yr2) yr2; repeated /type=ar(1) subject=pony; lsmeans cat/diffs; run;
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.