I have a time series model where my dependent variable y is binary and one of my regressors is continuous and endogenous (problem of simultaneity - y influences var1 while var1 also influences y).
I don't have an instrument so I thought about instrumenting the variable through its residuals after predicting it. Since my var2 var3 var4 and var5 may also have a problem of endogeneity with var1, I need to lag them.
At first I thought about doing this by hand, such that:
Code:
reg var1 l.var2 l.var3 l.var4 l.var5 predict double resid_var1, residuals probit y resid_var1 var2 var3 var4 var5 var6 var7
But then I read about command - cdsimeq - which apparently does all of this in one step.
Code:
cdsimeq (var1 l.var2 l.var3 l.var4 l.var5) (y var2 var3 var4 var5 var6 var7), instpre
My main issue is that I don't know if what I'm doing in reg/predict/probit is correct and why command cdsimeq uses variables from the y regression to explain var1 (that is, the first stage looks like it is explaining why like:
Code:
reg var1 l.var2 l.var3 l.var4 l.var5 var2 var3 var4 var5 var6 var7
Anyone can explain or offer some advice on how to do this?
I am using Stata 14 on Mac.
Best,
Jonas
0 Response to 2SLS Probit
Post a Comment