Hi, I am new to SAS. I am running a linear regression with PROC GENMOD that includes a product interaction term between a categorical exposure variable (rank) and a binary subgroup variable. proc genmod data=data; class rank(ref=first); model outcome = rank subgroup rank*subgroup; run; I want to see if there is a significant linear trend in the two categories of subgroup separately. I can get the estimates of outcome, but don't know how to do the test for trend. I'd like to do a Wald test so I can control for other covariates. Any suggestions on how to do this? Thanks!
... View more