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
Dropping observations based on multiple conditionsHi, My data consists of multiple rows for each person. I want to keep the rows if the followup=0 or…
Help with instrumental variable regressionHello everybody, I need your help please. I have a dummy variable which is potentially endogenous. …
nesting cond()hi All, I was reading the stata journal version: The Stata Journal (2005) 5, Number 3, pp. 413–420 …
Translate R to STATAHello, I would like to translate this R formula below in Stata. My data : translate <- contains…
Interpretation of interaction effect with -margins-I'm currently researching the effect of gender on the performance of microfinance institutions (MFI)…
Subscribe to:
Post Comments (Atom)
0 Response to Bootstrapping very large sample
Post a Comment