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
Help needed to extract start datesHi, I am using Stata 17 and would need help in extracting start dates. My intention is to extract s…
How to use parentheses in this way?I see some syntax shown as below, how to use parentheses in this way? Where to find help documents f…
How to graph one figure with several variables using the left yaxis and several other variables using the right yaxis (xaxis is year)?I wrote the following code and got an error "invalid varlist": scatter capstateratio6 year, by(prov…
Program rclass, "invalid name" returnsHi all, I am hoping someone can help me. I am trying to simulate data with autocorrelation. When I e…
Program rclass, "invalid name" returnsHi all, I am hoping someone can help me. I am trying to simulate data with autocorrelation. When I e…
Subscribe to:
Post Comments (Atom)
0 Response to Degree of Omitted Variable Bias -psacalc
Post a Comment