Hey guys I am trying to caculate some hazard ratios for an interaction term between two variables (depression score and multimorbidity grouping) in a multivariable model. Each of these variables have three levels each. I would like to see all of the hazard ratios for the interaction between these two variables. However, whenever I use the class statement no interaction estimates are produced. I would love some help in trying to calculate these hazard ratios for the interaction term. Below I've posted some information that might be useful. Thank you Code I have been using: proc phreg data=data1; class grouping1 (ref='0') race (ref='1') education (ref='1') ragender (ref='1.Male') health (ref='1') smokenow (ref='0') physical (ref='0') depression (ref='2')/param=glm; model duration*status(0)= grouping1 R7AGEY_M race education ragender health smokenow physical BMI depression grouping1*depression /risklimits; contrast 'Md vs Low Grouping 0' Group 1 0 Grouping1 0 1 Group*Grouping1 1 -1 1/estimate=exp e; run; Class Level Information: SAS Output Grouping1 1 2 0 1 0 0 0 1 0 0 0 1 SAS Output Depression 1 3 2 1 0 0 0 1 0 0 0 1
... View more