Dear Statalisters,
I am trying to run a two-stage procedure of Regression Discontinuity in Time using a balanced household-level panel data, based on the method of Hausman & Rapson 2016.
In the first stage, I regress the purchased quantity on seasonal covariates using FE Poisson regression (because of the nonnegative nature of my dependent variable).
Then I predict the residuals and run the second stage regression, which is a local linear RD where the dependent variable is the residuals from the first stage and the running variable is time. According to theory, standard errors should be retrieved by a bootstrapping procedure that allows first stage variance to be reflected in the second stage.
For this purpose, I wrote a simple program:
Array
However, when I use bootstrap to run the program I get almost zero standard errors:
Array
After an intensive exploration of a solution, I found an old version of bootstrap that includes the option -noesample-.
When I run the program using the old version, including the -noesample- option, I get reasonable standard errors,
which are similar to the standard errors I get when I run the procedure in two separate stages without bootstrapping:
Array
The weird thing is when I remove the -noesample- option from the syntax of the old bootstrap version,
I get the exact same standard errors as in the "new" bootstrap version::
Array
Note that -noesample- is no longer a valid option in the "new" bootstrap syntax.
see this post which is somewhat related:
https://www.statalist.org/forums/for...help_bootstrap
Question: Could someone please help me figure out what's wrong with my code that yields these tiny standard errors, and how can it be fixed?
Many many thanks,
Adam
Related Posts with Bootstrap - Standard errors (almost) equal to zero
Predicted values and residuals in fracregKreutzer and Wood (https://www.tandfonline.com/doi/pdf/...B.82.6.357-362) showed how some undergradu…
Goodness of Fit test for xtgeeHi Stata experts, I am using -xtgee- to run models. I have a base model that only includes control …
How to deal with Singleton GroupsI am running three models comparing a Random Effects model, a Fixed Effects Model and a Fixed Effect…
Fixed Effects and the Effect of 0/1 dummyHello, I am trying to estimate the effect of Drug Law (coded 0/1) on recidivism rate using fixed ef…
Overlapping graph, but no layer "dominates" each otherLet's say I have a local gen x=20 gen y=30 gen z=50 replace y = x+ y replace z= x+y+z loc x y z …
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrap - Standard errors (almost) equal to zero
Post a Comment