I am having an endogenous variable X1 and an exogenous variable X2 and instruments Z1 and Z2 for my endogenous variable and having one interaction term between endogenous and exogenous variable X1*X2. So my model goes like this
Y = X1 + X1* X2 + controls
I used instruments Z1 and Z2 in the first stage regression and then use the fitted values of X1 from my first stage to use in the interaction term X1*X2
in the second stage. Have I done this correctly?
Related Posts with 2sls regression with interaction between endogenous and exogenous variables
expression too long r(130) while specifying starting valuesI am using sfpanel() command and I need to set initial values for the variables before running the r…
Combining multiple variablesHello! I just started learning Stata and I am using a consensus data set and trying to combine a bu…
Combining multiple variablesHello! I jsut started learning Stata and I am using a consensus data set and trying to combine a bu…
Control variable that varies accross time but not accros countries how to add to dataset and regressionHello everyone, For my regression i am using the VIX as a proxy for volatility and the TED spread a…
Split file by group i.e. group 1 (non clinical) vs group 2 (clinical)Hi there, Might someone please advise how I split my Stata dataset by 1 variable "Group" which is h…
Subscribe to:
Post Comments (Atom)
0 Response to 2sls regression with interaction between endogenous and exogenous variables
Post a Comment