If I understand it correctly, when using the -vce(bootstrap)- command for a regression, Stata will randomly draw _N observations from the sample 50 times (by default) to calculate the t statistic.
Stata provides users the ability to control the size of bootstrapped samples with the -size(#)- parameter. However, I'm a bit confused as to what Stata does if -size(#)- is not defined. The help section says by default _N is the number of observations in the sample... so is Stata drawing _N observations for every bootstrapped sample?
For example, if I have a sample of 10,000 observations, when bootstrapping does Stata draw 10,000 observations of each bootstrap repetition? How does that make sense?
Related Posts with How does Stata select bootstrap samples?
Data cleaning - drop all observations for ID if one observation in var x contains xyzI am having a small problem. I am trying to clean my data set: I would like to remove all observati…
Keeping data for last date of each month for each companyHi I am working with daily stock price data for a large number of companies. I want to keep the las…
Creating custom table with statisticsHello, I would like to create a table, like an asdoc table, but with some additional statistics. For…
Omitted "Treatment" variable in DiD fixed panel regressionHi, I'm currently studying the effects of mandatory CSR disclosure on firm performance. My data set …
Multiple imputationDear all, If i am carrying out multiple imputation as a result of missing data how do i go about it…
Subscribe to:
Post Comments (Atom)
0 Response to How does Stata select bootstrap samples?
Post a Comment