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
How to choose a reference category in multinomial logistic regression?Hello,
I have 2 questions if anyone can help:
1) I have 2 groups (treatment and control), and the …
Is there a way to highlight which obs are being omitted in clogit?Hello,
I am trying to run clogit and I get the following note: "1,268 groups (11,377 obs) omitted b…
Using estout with multiple imputationHi, I am trying to use -estout- (from SSC) in conjunction with -mi- for the first time, and it seems…
How to randomly pair Firm A and Firm B in the year of deal announcement?Dear Statalist,
I would like to randomly pair one sample of firms with another sample of firms draw…
Selected variable list using lassoHi All,
I have data which resembles the following:
* Example generated by -dataex-. To install: …
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrap - Standard errors (almost) equal to zero
Post a Comment