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
generating dummy variable in panel data (firm-wise)Respectable Professors, Hope everyone is blessed with good health. I've panel dataset, SARS = con…
Calculation of mean costs per patient and per type of admissionHello everyone, I have a dataset consisting of two groups of patients (control and intervention) wit…
Variables not addingHere's the debugging output Code: = local mat_input"\" 1, 2, 2, rsex_matcell[2,2], rtable[1,5+2], r…
Change in Beta coefficient of variable of interest and Within R^2 while running alternate specificationsDear Members, I ran the following 2 regressions(2 Models) Code: Model One xtreg cash_ta2_w L.epu…
=="" invalid name (invalid syntax error)When I run a local variable through an if statement, it gives me the invalid name error Code: l…
Subscribe to:
Post Comments (Atom)
0 Response to Degree of Omitted Variable Bias -psacalc
Post a Comment