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
landmark analysis differences between time-periodsHello everyone, I have a cohort with 1 group (no comparison group). I created a landmark analysis …
How to rename dummy variables based on category names?Hi, all. I have a data set with variable "town_id" indicating town id (such as 160, 155, 178, etc.)…
variable name abbreviation in generate/replace sequenceThere seems to be some inconsistency about how to abbreviate variable names. I would like to abbrevi…
How can I covert Oaxaca-Decomposition coef. into an amount(dollar...)?I got the following results through oaxaca two-fold method. ---------------------------------------…
Help: Wald test & Regression output tableDear All Attached below is part of my dataset: Code: * Example generated by -dataex-. To install:…
Subscribe to:
Post Comments (Atom)
0 Response to 2sls regression with interaction between endogenous and exogenous variables
Post a Comment