The name is absent



20


Stata Technical Bulletin


STB-4


save bootl.dta, replace

* Final steps read the log file ,,bootdatl. log” , label

* variables, and save dataset bootl.dta containing means from

*   1,000 bootstrap resamplings of the original source.dta data,

end

When debugging or modifying ado-files, type program drop _all between run attempts, so that Stata will forget any previous
buggy versions.

Applied to New York population density, example 1 .ado generates the bootstrap distribution graphed in Figure 1. When the
data contain outliers, bootstrapping often produces odd-looking sampling distributions—a thought-provoking antidote to routine
normality assumptions. Bootstrapping here also yields a somewhat lower standard error estimate, but no evidence of bias:

mean           standard error

original sample                 9661                 3474

bootstrap—data resampling     9662                3395

What else can we conclude from the Figure 1 results? Several authors have recommended using bootstrap percentiles
directly as confidence-interval bounds. For example, one might form a “90% confidence” interval from the bootstrap 5th and
95th percentiles. Unfortunately, this often works poorly.

Peter Hall (1988) observes that if the sampling distribution is asymmetrical (like Figure 1), using 5th and 95th percentiles
as low and high confidence-interval endpoints is “backwards.” For example, 90% of sample
v values fall between the 5th (δ.05)
and 95th (b.95) percentiles of b’s sampling distribution:

b.05 < b < b.95                                                     [la]

Writing [1a] as a distance above and below the true parameter β:

β + (b.05 -β')<b<β+ (b.g5 - β')                                  [lb]

Confidence intervals rearrange this inequality to isolate β:

b - (b.95 - β) < β < b - (b.05 - β)                                       [2]

This suggests a better (“hybrid”) bootstrap-percentile confidence interval formula:

b-(b*95-b)<∕3<b-(b*05-b)                              [3]

where b is the original sample statistic, and b*95 and b*05 represent bootstrap 95th and 5th percentiles.

Monte Carlo research finds that with or without this asymmetry correction, bootstrap-percentile confidence intervals often
achieve less than nominal coverage. Strategies for improvement include
accelerated bias correction (BCα) and percentile-t
methods. The simpler of the two, percentile-t, first obtains studentized values:

t* = (b* -b)∕SEζ                                            [4]

then uses bootstrap percentiles of t* to form confidence intervals, for example:

b - t*95SEb < β <b- t*05SEb                                    [5]

The standard error of ——SEbmight be estimated from either the original sample or (better) from the bootstrap standard
deviation.

Bootstrapping Regression

In many instances, bootstrapping a mean (as in example 1. ado) has no advantage over inferences based on the Central
Limit Theorem. Bootstrapping helps more with multivariable methods like regression, where the classic inferential procedures
depend on a longer list of often-false assumptions. Some bootstrapping methods implicitly make similar assumptions, while
others abandon them—obtaining quite different results.



More intriguing information

1. The name is absent
2. A production model and maintenance planning model for the process industry
3. The name is absent
4. WP 48 - Population ageing in the Netherlands: Demographic and financial arguments for a balanced approach
5. The name is absent
6. The name is absent
7. BILL 187 - THE AGRICULTURAL EMPLOYEES PROTECTION ACT: A SPECIAL REPORT
8. Strategic Effects and Incentives in Multi-issue Bargaining Games
9. Human Resource Management Practices and Wage Dispersion in U.S. Establishments
10. Transfer from primary school to secondary school
11. The name is absent
12. Ronald Patterson, Violinist; Brooks Smith, Pianist
13. The name is absent
14. The effect of globalisation on industrial districts in Italy: evidence from the footwear sector
15. The name is absent
16. Evaluating the Impact of Health Programmes
17. The name is absent
18. Are Japanese bureaucrats politically stronger than farmers?: The political economy of Japan's rice set-aside program
19. Fighting windmills? EU industrial interests and global climate negotiations
20. AN EMPIRICAL INVESTIGATION OF THE PRODUCTION EFFECTS OF ADOPTING GM SEED TECHNOLOGY: THE CASE OF FARMERS IN ARGENTINA