Dear Statalist users,
I am wondering if I would estimate a regression like this:
Y = X + X * Y_Q2 + X * Y_Q3 + X * Y_Q4 + X * Y_Q5 + Y_Q2 + Y_Q3 +Y_Q4 + Y_Q5
Y_Q2 is an indicator variable of whether Y is in the 2nd quintile of the sample, and Y_Q3-5 is defined similarly.
In other words, I want to put interaction terms of X and indictors of Y quintile.
The reason I want to put interaction terms of X and Y quintile is that I suspect the relationship between Y and X is non-linear and I want to see how the coefficients changes as Y changes.
The reason I don’t flip Y and X (that is, making Y the independent variable and X the dependent variable) is that it is the convention in the literature that Y is the dependent variable.
Technically I can run the regression. But I am wondering if there is any problem econometrics-wise.
I would appreciate any comments/advices. Thank you so much!
Related Posts with Possible to put interaction terms of X and indictors of Y quintile in a regression?
Exporting Variables to ExcelHi! I have created a few variables that I'd like to export to an excel file. I have variables rf1 th…
Levels of variables "dropped because of estimability" when running a nested regressionWhen I run a nested regression, I'm getting the following notes: note: 1.deprivationquintile dropped…
Removing variable completely changes regression outputHi all, I am investigating the impact of the degree of competitiveness of English football leagues …
xtsccI have 17 countries across 37 years. Can I use -xtscc depvar indepvars i.year, fe? Is it better to i…
Using hyphens in varlists for duplicatesI'm using Stata 14.2 and was trying to use the duplicates command, when I experienced some strange b…
Subscribe to:
Post Comments (Atom)
0 Response to Possible to put interaction terms of X and indictors of Y quintile in a regression?
Post a Comment