Is it possible to run a difference-in-difference model if the dependent variable is categorical and the independent variables are either categorical/continuous/binary?
-
Login or Register
- Log in with
mlogit v743a i.gb_dummy##i.time_recode, base(4)
ologit v457 i.gb_dummy##i.time_recode
forvalues i = 1/4 { margins gb_dummy#time_recode, predict(outcome(`i')) marginsplot, name(outcome`i', replace) }
forvalues i = 1/4 { margins gb_dummy, predict(outcome(`i')) dydx(time_recode) }
forvalues i = 1/4 { margins gb_dummy, predict(outcome(`i')) dydx(time_recode) pwcompare(effects) }
oprobit cs_1_num ib5.post_quintile margins, dydx(post_quintile)
Comment