Hi everyone
I am conducting a logistic regression analysis, and am using discrete independent variables. Specifically, my variables include year (=0,1,2), Group (=0 for control, =1 for treatment), and other variables such as gender (=1 for male, =2 for female). Could somebody please clarify the difference between the commands
(1) margins Group year, dydx(sexo) pwcompare(cimargins effects) predict(xb) {are the reported estimates in odds ratios with this command? How should I interpret the result of this command?}
(2) contrast r.year r.Group r.sexo r.year#r.Group#r.sexo, or {I have chosen the odds ratios option with this, but am again struggling with the interpretation.}
(sexo is the gender variable)
Thank you
I am conducting a logistic regression analysis, and am using discrete independent variables. Specifically, my variables include year (=0,1,2), Group (=0 for control, =1 for treatment), and other variables such as gender (=1 for male, =2 for female). Could somebody please clarify the difference between the commands
(1) margins Group year, dydx(sexo) pwcompare(cimargins effects) predict(xb) {are the reported estimates in odds ratios with this command? How should I interpret the result of this command?}
(2) contrast r.year r.Group r.sexo r.year#r.Group#r.sexo, or {I have chosen the odds ratios option with this, but am again struggling with the interpretation.}
(sexo is the gender variable)
Thank you
Comment