Hi everyone, Please bear with me. I'm confused to understand Odds Ratio in Proc Glimmix with interaction. In Proc Logistic, if there is an interaction between factor A(two levels) and B(levels ≥2), Odds ratio of A will be presented in different level of B. In a word, there are different OR of A under different level of B. However, in Proc Glimmix, only one OR is presented even if there is an interaction. Here is my code are result. proc glimmix data=mas ; where farm ne 'hy'; class season(ref='summer') treatment parity(ref='1') result farm year ; model result(event='pregnant')= season | parity | treatment / dist=binary oddsratio ; random farm year; run; As you can see, there is an interaction between treatment and parity or season. However, OR of treatment is 1.509. Why there is a difference between proc logistic and proc glimmix in the matter of OR? Thanks in advance for the help!
... View more