Dear smartest listers,
I used to estimate
yielding an estimated coefficient on x1#x2 of 0.15.
Since I am concerned that selection into the x2 treatment may be endogenous to some unobservable, I next added a control to estimate
which, rather than reducing the coefficient of interest has slightly increased it to 0.20.
Now I understand from Oster (2019) that before I can satisfied with the coefficient being relatively stable and if anything larger when controlling for the other interaction,
I should take into account also how much the inclusion increases my R2 and the variance of the controls,
which I understand can be implemented with the user-written -psacalc- available from SSC.
As psacalc seems not to work after -reghdfe- but after -areg-, and -areg- seems not to like interactions, I have hence written the following lines:
Now I face the following issues:
(1) It tells me the controlled coefficient is 0.20 (correct) and the uncontrolled one is 0.70. When I check I find that 0.70 is what I would get by regressing y only on x1_x2 without the main terms, which I would never have considered doing. So in my view it benchmarks my controlled model against the wrong "uncontrolled" one, but I am not sure how to tell -psacalc- what to use as benchmark. I tried with
to clarify that I want the main effects and the fixed effects always in regardless of the possible selection on unobservables,
but then I am just being told that "option mcontrols() not allowed"
Does anyone see where I am getting this wrong and how I can get psacalc to compare my controlled model with both x1_x2 and x1_x3 and all its main terms to the uncontrolled model which misses x1_x3 and its main terms but does still contain the main effects as well as the fixed effects?
(2) The command output then says Beta = -350, "Alt. sol. 1" = 0.8. Should I understand that it suggests the true beta to be -350 which would not only have the opposite sign of any coefficients I have obtained so far but also be about 50 times as large in absolute magnitude which seems totally weird to me. Or am I misreading this?
(3) Finally, next to its alternative solution of 0.8 it says "Bias changes direction: Yes". But why so when my controlled, my claimed and true uncontrolled, and the here proposed alternative solution are all positive? On that one I have already seen an earlier post by someone unsure how to read this "changes direction" but no response yet, so I hope someone can help this time?
Thanks so much!
PM
I used to estimate
Code:
reghdfe y x1##x2, absorb(a##b)
Since I am concerned that selection into the x2 treatment may be endogenous to some unobservable, I next added a control to estimate
Code:
reghdfe y x1##x2 x1##x3, absorb(a##b)
Now I understand from Oster (2019) that before I can satisfied with the coefficient being relatively stable and if anything larger when controlling for the other interaction,
I should take into account also how much the inclusion increases my R2 and the variance of the controls,
which I understand can be implemented with the user-written -psacalc- available from SSC.
As psacalc seems not to work after -reghdfe- but after -areg-, and -areg- seems not to like interactions, I have hence written the following lines:
Code:
gen x1_x2 = x1*x2 gen x1_x3 = x1*x3 egen abfe = group(a b) areg y x1_x2 x1 x2 x1_x3 x1 x3, absorb(abfe) psacalc beta x1_x2
(1) It tells me the controlled coefficient is 0.20 (correct) and the uncontrolled one is 0.70. When I check I find that 0.70 is what I would get by regressing y only on x1_x2 without the main terms, which I would never have considered doing. So in my view it benchmarks my controlled model against the wrong "uncontrolled" one, but I am not sure how to tell -psacalc- what to use as benchmark. I tried with
Code:
psacalc beta x1_x2, mcontrols(x1 x2 abfe)
but then I am just being told that "option mcontrols() not allowed"
Does anyone see where I am getting this wrong and how I can get psacalc to compare my controlled model with both x1_x2 and x1_x3 and all its main terms to the uncontrolled model which misses x1_x3 and its main terms but does still contain the main effects as well as the fixed effects?
(2) The command output then says Beta = -350, "Alt. sol. 1" = 0.8. Should I understand that it suggests the true beta to be -350 which would not only have the opposite sign of any coefficients I have obtained so far but also be about 50 times as large in absolute magnitude which seems totally weird to me. Or am I misreading this?
(3) Finally, next to its alternative solution of 0.8 it says "Bias changes direction: Yes". But why so when my controlled, my claimed and true uncontrolled, and the here proposed alternative solution are all positive? On that one I have already seen an earlier post by someone unsure how to read this "changes direction" but no response yet, so I hope someone can help this time?
Thanks so much!
PM

Comment