Dear All,
I was hoping to receive some confirmation here. I would like to use the control function approach for the following design.
Count dependent y ; Endogenous w (binary) ; exogenous covariates xj ; and IVs zh. Dataset is panel type with N=150 and T=25.
I understand that I cannot simply use
as it is not workable for a fixed effects model.
Please suggest.
I was hoping to receive some confirmation here. I would like to use the control function approach for the following design.
Count dependent y ; Endogenous w (binary) ; exogenous covariates xj ; and IVs zh. Dataset is panel type with N=150 and T=25.
Code:
xtlogit w x1 x2 ... xk z1 ... zm i.year , fe vce(jack) predict vhat, p xtpoisson y w vhat x1 ... xk i.year, fe vce(jack)
Code:
ivpoisson y (w=z1) x1 x2 ... xk
Please suggest.
Comment