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
how to Import many excel files with multiple sheets and appending each sheet into one dta file for each file with the same excel file nameHello everyone, I just joined Statalist. So this is my first post. I would like to give you a brie…
Is there any way to stop pyStata while running?We know that both python and Stata have the stop-process capability, but it seems impossible to do t…
Find matched firmsHello everyone, Hope everything is going well. I have a question about how to identify the matched…
Backward Compatibility .mlib-s Complied in v17Hi All, Yesterday a user made an issue on the -domin- (SSC) package's GitHub page noting that they …
RecodingHello, I have the variable gender which was originally coded as 1 = male and 2 = female. I went in …
Subscribe to:
Post Comments (Atom)
0 Response to Degree of Omitted Variable Bias -psacalc
Post a Comment