Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Nonparametric Methods II Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University

Similar presentations


Presentation on theme: "1 Nonparametric Methods II Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University"— Presentation transcript:

1 1 Nonparametric Methods II Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University hslu@stat.nctu.edu.tw http://tigpbp.iis.sinica.edu.tw/courses.htm

2 2 PART 3: Statistical Inference by Bootstrap Methods  References  Pros and Cons  Bootstrap Confidence Intervals  Bootstrap Tests

3 3 References  Efron, B. (1979). "Bootstrap Methods: Another Look at the Jackknife". The Annals of Statistics 7 (1): 1 – 26.  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.

4 4 Pros (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_(statistics)

5 5 Pros (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_(statistics)

6 6 Cons  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_(statistics)

7 7 How 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_(statistics)

8 8 Bootstrap Confidence Intervals 1. A Simple Method 2. 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. )

9 9 1. A Simple Method  Methodology  Flowchart  R codes  C codes

10 10 Normal Distributions

11 11 Asymptotic C. I. for The MLE http://en.wikipedia.org/wiki/Pivotal_quantity

12 12 Bootstrap Confidence Intervals

13 13 Simple Methods

14 14 An Example by The Simple Method (1)

15 15 An Example by The Simple Method (2)

16 16 Flowchart of The Simple Method resample B times

17 17 The Simple Method by R

18 18

19 19 resample B times: The Simple Method by C (1)

20 20 The Simple Method by C (2) calculate v1, v2

21 21

22 22

23 23

24 24 2. Transformation Methods  2.1. The Percentile Method  2.2. The BC Percentile Method  2.3. The BCa Percentile Method

25 25 2.1. The Percentile Method  Methodology  Flowchart  R codes  C codes

26 26 The 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

27 27 The Percentile Method (2)

28 28 The Percentile Method (3)

29 29 The Percentile Method (4)

30 30 Flowchart of The Percentile Method resample B times

31 31 The Percentile Method by R

32 32

33 33 The Percentile Method by C calculate v1, v2 resample B times:

34 34

35 35

36 36

37 37 2.2. The BC Percentile Method  Methodology  Flowchart  R code

38 38 The 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.

39 39 Flowchart of The BC Percentile Method resample B times

40 40 The BC Percentile Method by R

41 41

42 42 2.3. The BCa Percentile Method  Methodology  Flowchart  R code  C code

43 43 The 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

44 44 The BCa Percentile Method (2)

45 45 The BCa Percentile Method (3)

46 46 The BCa Percentile Method (4)

47 47 The BCa Percentile Method (5)

48 48 Flowchart of The BCa Percentile Method resample B times

49 49 Step 1: Install the library of bootstrap in R. Step 2: If you want to check BCa, type “?bcanon”.

50 50

51 51 The BCa Percentile Method by R

52 52

53 53 The BCa Percentile Method by C

54 54

55 55

56 56

57 57

58 58

59 59 Exercises  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


Download ppt "1 Nonparametric Methods II Henry Horng-Shing Lu Institute of Statistics National Chiao Tung University"

Similar presentations


Ads by Google