Title: Nonparametric Methods II
1Nonparametric Methods II
- Henry Horng-Shing Lu
- Institute of Statistics
- National Chiao Tung University
- hslu_at_stat.nctu.edu.tw
- http//tigpbp.iis.sinica.edu.tw/courses.htm
2PART 3 Statistical Inference by Bootstrap Methods
- References
- Pros and Cons
- Bootstrap Confidence Intervals
- Bootstrap Tests
3References
- Efron, B. (1979). "Bootstrap Methods Another
Look at the Jackknife". The Annals of Statistics
7 (1) 126. - Efron, B. Tibshirani, R. (1993). An Introduction
to the Bootstrap. Chapman Hall/CRC. - Chernick, M. R. (1999). Bootstrap Methods, A
practitioner's guide. Wiley Series in Probability
and Statistics.
4Pros (1)
- In statistics, bootstrapping is a modern,
computer-intensive, general purpose approach to
statistical inference, falling within a broader
class of re-sampling methods.
http//en.wikipedia.org/wiki/Bootstrapping_(statis
tics)
5Pros (2)
- The advantage of bootstrapping over analytical
method is its great simplicity - it is
straightforward to apply the bootstrap to derive
estimates of standard errors and confidence
intervals for complex estimators of complex
parameters of the distribution, such as
percentile points, proportions, odds ratio, and
correlation coefficients.
http//en.wikipedia.org/wiki/Bootstrapping_(statis
tics)
6Cons
- The disadvantage of bootstrapping is that while
(under some conditions) it is asymptotically
consistent, it does not provide general finite
sample guarantees, and has a tendency to be
overly optimistic.
http//en.wikipedia.org/wiki/Bootstrapping_(statis
tics)
7How many bootstrap samples is enough?
- As a general guideline, 1000 samples is often
enough for a first look. However, if the results
really matter, as many samples as is reasonable
given available computing power and time should
be used.
http//en.wikipedia.org/wiki/Bootstrapping_(statis
tics)
8Bootstrap Confidence Intervals
- A Simple Method
- Transformation Methods
- 2.1. The Percentile Method
- 2.2. The BC Percentile Method
- 2.3. The BCa Percentile Method
- 2.4. The ABC Method (See the book An
Introduction to the Bootstrap.)
91. A Simple Method
- Methodology
- Flowchart
- R codes
- C codes
10Normal Distributions
11Asymptotic C. I. for The MLE
http//en.wikipedia.org/wiki/Pivotal_quantity
12Bootstrap Confidence Intervals
13Simple Methods
14An Example by The Simple Method (1)
15An Example by The Simple Method (2)
16Flowchart of The Simple Method
resample B times
17The Simple Method by R
18(No Transcript)
19The Simple Method by C (1)
resample B times
20The Simple Method by C (2)
calculate v1, v2
21(No Transcript)
22(No Transcript)
23(No Transcript)
242. Transformation Methods
- 2.1. The Percentile Method
- 2.2. The BC Percentile Method
- 2.3. The BCa Percentile Method
252.1. The Percentile Method
- Methodology
- Flowchart
- R codes
- C codes
26The Percentile Method (1)
- The interval between the 2.5 and 97.5
percentiles of the bootstrap distribution of a
statistic is a 95 bootstrap percentile
confidence interval for the corresponding
parameter. Use this method when the bootstrap
estimate of bias is small.
http//bcs.whfreeman.com/ips5e/content/cat_080/pdf
/moore14.pdf
27The Percentile Method (2)
28The Percentile Method (3)
29The Percentile Method (4)
30Flowchart of The Percentile Method
resample B times
31The Percentile Method by R
32(No Transcript)
33The Percentile Method by C
resample B times
calculate v1, v2
34(No Transcript)
35(No Transcript)
36(No Transcript)
372.2. The BC Percentile Method
- Methodology
- Flowchart
- R code
38The BC Percentile Method
- Stands for the bias-corrected percentile method.
This is a special case of the BCa percentile
method which will be explained more later.
39Flowchart of The BC Percentile Method
resample B times
40The BC Percentile Method by R
41(No Transcript)
422.3. The BCa Percentile Method
- Methodology
- Flowchart
- R code
- C code
43The BCa Percentile Method (1)
- The bootstrap bias-corrected accelerated (BCa)
interval is a modification of the percentile
method that adjusts the percentiles to correct
for bias and skewness.
http//bcs.whfreeman.com/ips5e/content/cat_080/pdf
/moore14.pdf
44The BCa Percentile Method (2)
45The BCa Percentile Method (3)
46The BCa Percentile Method (4)
47The BCa Percentile Method (5)
48Flowchart of The BCa Percentile Method
resample B times
49Step 1 Install the library of
bootstrap in R.
Step 2 If you want to check BCa, type
?bcanon.
50(No Transcript)
51The BCa Percentile Method by R
52(No Transcript)
53The BCa Percentile Method by C
54(No Transcript)
55(No Transcript)
56(No Transcript)
57(No Transcript)
58(No Transcript)
59Exercises
- Write your own programs similar to those examples
presented in this talk. - Write programs for those examples mentioned at
the reference web pages. - Write programs for the other examples that you
know. - Prove those theoretical statements in this talk.
59