Hi everyone,
I have a dataset of 70 million observations and am running the following model.
First I estimate the probability of belonging to class A with a logit model. Then I calculate fitted probabilities. Call those values x1hat.
Then I run an OLS regression to explain another variable y, as follows.
reg y x1hat x2 x2*x1hat
Where x2 is another explanatory variable.
I know that the standard errors of the last regression will not reflect the uncertainty of x1hat. So I wanted to bootstrap the standard errors of the entire procedure: first logit then Ols.
But my sample size is very large so I am afraid it won't be feasible to do 1000 reps with a sample size of 70 million each time.
Any suggestions on how to do this?
I noticed the wild and fast bootstrapping command (boottest) but I think that is only after one single estimation command ?So don't know if I can use boottest to repeat the joint procedure of logit followed by ols.
Appreciate your guidance,
Laurie
Related Posts with Bootstrapping very large sample
varananewDear All, I'm looking for the varananew command or some help with it Someone could help me best f …
Test for heteroscedasticity and autocorrelation after SUREG command (seemingly unrelated regression)Dear community, I have run a SUREG model and wanted to get some diagnositic tests such as test of h…
Loops to switch between different sub-foldersWhat is wrong with commands in this Stata do-file? I am trying to open all batch files that are in s…
ttest means and differencesHello, In the ttest help Stata notes that a test of differences occurs by subtracting the highest v…
Finding number of people of a given type for each groupI have a data set with 1000 observations. As an example, let's consider the following table: Grou…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping very large sample
Post a Comment