I am trying to fit a logistic model that contains an interaction between a continuous and categorical covariate. Here is my syntax:
Code:
xtgee dy_will_infoshare i.ego_race /// i.alter_homeless i.gender_female_temp close_alter i.relationshiptype i.paid_o_forsex_recat /// i.hivrisk_alter_recode length_rx_years c.close_alter#i.relationshiptype , eform margins i.relationshiptype, at (close_alter=(0(5)10)) atmeans vsquish marginsplot, noci
I would appreciate some assistance in doing this. Thanks in advance, cY
0 Response to Marginsplot and Predicted Probabilty on Y-axis
Post a Comment