I just have a general question of how to proceed with the logit model with instrument variables and specifically how to do it for panel data, so I may not need to upload any sample dataset here.
Can I use xtivreg2 command for my dummy depvar (dependent variable) (value =1 or 0)?
Or Can anyone show me how to do it? And normally for logit model, how to obtain marginal effects, instead of odd ratios?
I will really appreciate if you can help.
Thank you so much.
Code:
xtset id year xtivreg2 depvar (endo_var = iv1 iv2 iv3) controls i.year, fe first cluster (id) endog(endo_var)
0 Response to 2SLS Panel Data for Logit/Probit regression
Post a Comment