Hello,
Im Im ing find the the relative extent of the Bias suing psacalc (Emily Oster 2017). I've a household fixed effect (hhid) regression using xtreg.
My regression command is as follows
xtset hhid
xtreg y x1 x2 x3 [pweight=sampleweight], fe cluster(hhid)
This regression command works fine and I get the results on the stata window .
Next I try to do psacalc for independent variable x1 with relevant delta and beta values respectively.
psacalc beta x1, delta(1)
But I get an error "Last test not found" . I get the same error for psacalc delta.
However when I repeat the same thing for a fixed effect regression that is not weighted (ie without pweight) I don't get any such error.
Can someone please suggest how psacalc works for weighted regressions?
Best,
Priyoma
Related Posts with Degree of Omitted Variable Bias -psacalc
Psmatch and questions about itHi, I would like to investigate the effects of a natural disaster on individuals. Therefore I have …
Converting week to dateHi there, I'm currently working on a data that consist of 'date of birth' and 'gestational age' in …
Generating status variable for firmDear Statalist users, I have panel data for firms involved in international trade. t1 is my variabl…
Resetting mlibs in running StataHi I'm building some mata code in which parts must be saved in Stata versions 12, 13, 14, or 15. Bas…
How to draw two base lines using coefplot command on stata.Hey! I'm trying to create a graph similar to the one attached with this post. I have two problems: 1…
Subscribe to:
Post Comments (Atom)
0 Response to Degree of Omitted Variable Bias -psacalc
Post a Comment