Confidence Intervals: Bootstrap Distribution

Slides:



Advertisements
Similar presentations
Panel at 2013 Joint Mathematics Meetings
Advertisements

What Can We Do When Conditions Arent Met? Robin H. Lock, Burry Professor of Statistics St. Lawrence University BAPS at 2012 JSM San Diego, August 2012.
Confidence Intervals: Bootstrap Distribution
Hypothesis Testing: Intervals and Tests
Early Inference: Using Bootstraps to Introduce Confidence Intervals Robin H. Lock, Burry Professor of Statistics Patti Frazer Lock, Cummings Professor.
Hypothesis Testing I 2/8/12 More on bootstrapping Random chance
Section 3.4 Bootstrap Confidence Intervals using Percentiles.
Describing Data: One Quantitative Variable
Fall 2006 – Fundamentals of Business Statistics 1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 7 Estimating Population Values.
Confidence Intervals: The Basics
Connecting Simulation- Based Inference with Traditional Methods Kari Lock Morgan, Penn State Robin Lock, St. Lawrence University Patti Frazer Lock, St.
Section 4.4 Creating Randomization Distributions.
Chapter 7 Estimating Population Values
Starting Inference with Bootstraps and Randomizations Robin H. Lock, Burry Professor of Statistics St. Lawrence University Stat Chat Macalester College,
Inference for Categorical Variables 2/29/12 Single Proportion, p Distribution Intervals and tests Difference in proportions, p 1 – p 2 One proportion or.
Bootstrapping: Let Your Data Be Your Guide Robin H. Lock Burry Professor of Statistics St. Lawrence University MAA Seaway Section Meeting Hamilton College,
Introducing Inference with Simulation Methods; Implementation at Duke University Kari Lock Morgan Department of Statistical Science, Duke University
Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: Hypotheses STAT 101 Dr. Kari Lock Morgan SECTION 4.1 Statistical test Null and alternative.
4.1 Introducing Hypothesis Tests 4.2 Measuring significance with P-values Visit the Maths Study Centre 11am-5pm This presentation.
Chapter 7 Confidence Intervals and Sample Sizes
Synthesis and Review 3/26/12 Multiple Comparisons Review of Concepts Review of Methods - Prezi Essential Synthesis 3 Professor Kari Lock Morgan Duke University.
Section 5.2 Confidence Intervals and P-values using Normal Distributions.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 250 Dr. Kari Lock Morgan Chapter 5 Normal distribution Central limit theorem Normal.
Normal Distribution Chapter 5 Normal distribution
Confidence Intervals I 2/1/12 Correlation (continued) Population parameter versus sample statistic Uncertainty in estimates Sampling distribution Confidence.
Statistics: Unlocking the Power of Data Lock 5 Synthesis STAT 250 Dr. Kari Lock Morgan SECTIONS 4.4, 4.5 Connecting bootstrapping and randomization (4.4)
Using Lock5 Statistics: Unlocking the Power of Data
What Can We Do When Conditions Aren’t Met? Robin H. Lock, Burry Professor of Statistics St. Lawrence University BAPS at 2011 JSM Miami Beach, August 2011.
Statistics: Unlocking the Power of Data Lock 5 Afternoon Session Using Lock5 Statistics: Unlocking the Power of Data Patti Frazer Lock University of Kentucky.
Estimation: Sampling Distribution
Estimating a Population Proportion
AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population.
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan 9/18/12 Confidence Intervals: Bootstrap Distribution SECTIONS 3.3, 3.4 Bootstrap.
Introducing Inference with Simulation Methods; Implementation at Duke University Kari Lock Morgan Department of Statistical Science, Duke University
Statistics for Managers Using Microsoft Excel, 5e © 2008 Pearson Prentice-Hall, Inc.Chap 8-1 Statistics for Managers Using Microsoft® Excel 5th Edition.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 101 Dr. Kari Lock Morgan 10/18/12 Chapter 5 Normal distribution Central limit theorem.
Active Learning Lecture Slides For use with Classroom Response Systems Statistical Inference: Confidence Intervals.
Confidence Intervals: Bootstrap Distribution
Introducing Inference with Bootstrapping and Randomization Kari Lock Morgan Department of Statistical Science, Duke University with.
Statistics: Unlocking the Power of Data Lock 5 Bootstrap Intervals Dr. Kari Lock Morgan PSU /12/14.
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan Estimation: Confidence Intervals SECTION 3.2 Confidence Intervals (3.2)
Sampling distributions rule of thumb…. Some important points about sample distributions… If we obtain a sample that meets the rules of thumb, then…
Give your data the boot: What is bootstrapping? and Why does it matter? Patti Frazer Lock and Robin H. Lock St. Lawrence University MAA Seaway Section.
1 Chapter 9: Introduction to Inference. 2 Thumbtack Activity Toss your thumbtack in the air and record whether it lands either point up (U) or point down.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Describing Data: One Quantitative Variable SECTIONS 2.2, 2.3 One quantitative.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Example: In a recent poll, 70% of 1501 randomly selected adults said they believed.
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
Statistics: Unlocking the Power of Data Lock 5 Section 3.1 Sampling Distributions.
Constructing Bootstrap Confidence Intervals
Confidence Interval Estimation of Population Mean, μ, when σ is Unknown Chapter 9 Section 2.
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 250 Dr. Kari Lock Morgan Chapter 5 Normal distribution (5.1) Central limit theorem.
Use of Chebyshev’s Theorem to Determine Confidence Intervals
Statistics: Unlocking the Power of Data Lock 5 Inference for Means STAT 250 Dr. Kari Lock Morgan Sections 6.4, 6.5, 6.6, 6.10, 6.11, 6.12, 6.13 t-distribution.
Synthesis and Review 2/20/12 Hypothesis Tests: the big picture Randomization distributions Connecting intervals and tests Review of major topics Open Q+A.
1 Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Example: In a recent poll, 70% of 1501 randomly selected adults said they believed.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Estimation: Confidence Intervals SECTION 3.2 Confidence Intervals (3.2)
1 STAT 500 – Statistics for Managers STAT 500 Statistics for Managers.
SECTION 7.2 Estimating a Population Proportion. Where Have We Been?  In Chapters 2 and 3 we used “descriptive statistics”.  We summarized data using.
Notes on Bootstrapping Jeff Witmer 10 February 2016.
Using Randomization Methods to Build Conceptual Understanding in Statistical Inference: Day 1 Lock, Lock, Lock, Lock, and Lock Minicourse – Joint Mathematics.
Confidence Interval Estimation
Confidence Intervals: Sampling Distribution
Week 10 Chapter 16. Confidence Intervals for Proportions
Bootstrap Confidence Intervals using Percentiles
Elementary Statistics
Estimating a Population Proportion
Pull 2 samples of 10 pennies and record both averages (2 dots).
1/10/ Sample Proportions.
Presentation transcript:

Confidence Intervals: Bootstrap Distribution 2/6/12 More on confidence intervals Bootstrap distribution Other levels of confidence Section 3.2, 3.3 Professor Kari Lock Morgan Duke University

FEMMES http://www.duke.edu/web/FEMMES/ Program for 4-6th grade girls Females Excelling More in Math, Engineering, and Science http://www.duke.edu/web/FEMMES/ Program for 4-6th grade girls Saturday, Feb 18th, morning I’ll be leading a statistics activity. Any girls interested in helping out? Let me know after class or email me.

Confidence Intervals The National Football Conference (NFC) has won 25 super bowls, while the American Football Conference (AFC) has won 21. You want to estimate the proportion of super bowls won by the NFC. Would a confidence interval be appropriate? Yes No

Confidence Intervals Based on Nielson Media Research, last night’s super bowl received a 47.8 rating and 71 share. “The rating is the percentage of television households tuned to a broadcast, and the share is the percentage of homes watching among those with TVs on at the time” Nielson’s numbers are based on “a cross-section of representative homes throughout the U.S”. You want to estimate the true rating and share. Would a confidence interval be appropriate? Yes No  http://www.foxnews.com/sports/2012/02/06/overnight-rating-for-super-bowl-just-shy-mark/#ixzz1lcjldi37

Confidence Intervals If context were added, which of the following would be an appropriate interpretation for a 95% confidence interval: “we are 95% sure the interval contains the parameter” “there is a 95% chance the interval contains the parameter” Both (a) and (b) Neither (a) or (b)

Summary from Last Class To create a confidence interval: Take many random samples from the population, and compute the sample statistic for each sample Compute the standard error as the standard deviation of all these statistics Use statistic  2SE One small problem…

BOOTSTRAP! Reality … WE ONLY HAVE ONE SAMPLE!!!! How do we know how much sample statistics vary, if we only have one sample?!? BOOTSTRAP!

ONE Reese’s Pieces Sample Sample: 52/100 orange Where might the “true” p be?

“Population” Imagine the “population” is many, many copies of the original sample (What do you have to assume?)

Reese’s Pieces “Population” Sample repeatedly from this “population”

Sampling with Replacement To simulate a sampling distribution, we can just take repeated random samples from this “population” made up of many copies of the sample In practice, we do this by sampling with replacement from the sample we have (each unit can be selected more than once)

Reese’s Pieces How would you take a bootstrap sample from your sample of Reese’s Pieces?

Reese’s Pieces “Population”

Bootstrap A bootstrap sample is a random sample taken with replacement from the original sample, of the same size as the original sample A bootstrap statistic is the statistic computed on the bootstrap sample A bootstrap distribution is the distribution of many bootstrap statistics

Bootstrap Distribution BootstrapSample Bootstrap Statistic BootstrapSample Bootstrap Statistic Original Sample Bootstrap Distribution . . Sample Statistic BootstrapSample Bootstrap Statistic

“Pull yourself up by your bootstraps” Why “bootstrap”? “Pull yourself up by your bootstraps” Lift yourself in the air simply by pulling up on the laces of your boots Metaphor for accomplishing an “impossible” task without any outside help

lock5stat.com/statkey/

Golden Rule of Bootstrapping Bootstrap statistics are to the original sample statistic as the original sample statistic is to the population parameter

Standard Error The variability of the bootstrap statistics is similar to the variability of the sample statistics The standard error of a statistic can be estimated using the standard deviation of the bootstrap distribution!

Reese’s Pieces Based on this sample, give a 95% confidence interval for the true proportion of Reese’s Pieces that are orange. (0.47, 0.57) (0.42, 0.62) (0.41, 0.51) (0.36, 0.56) I have no idea 0.52  2 × 0.05

Bootstrap Distribution You have a sample of size n = 50. You sample with replacement 1000 times to get 1000 bootstrap samples. What is the sample size of each bootstrap sample? 50 1000

Bootstrap Distribution You have a sample of size n = 50. You sample with replacement 1000 times to get 1000 bootstrap samples. How many bootstrap statistics will you have? 50 1000

Bootstrap Distribution You have a sample of size n = 50. You sample with replacement 1000 times to get 1000 bootstrap samples. How many dots will be in a dotplot of the bootstrap distribution? 50 1000

Atlanta Commutes What’s the mean commute time for workers in metropolitan Atlanta? Data: The American Housing Survey (AHS) collected data from Atlanta in 2004

Random Sample of 500 Commutes   Where might the “true” μ be? WE CAN BOOTSTRAP TO FIND OUT!!!

Original Sample

“Population” = many copies of sample Sample from this “population”

Bootstrap Distribution lock5stat.com/statkey/ 95% confidence interval for the average commute time for Atlantans: (a) (28.2, 30.0) (b) (27.3, 30.9) (c) 26.6, 31.8 (d) No idea

The Magic of Bootstrapping We can use bootstrapping to assess the uncertainty surrounding ANY sample statistic! If we have sample data, we can use bootstrapping to create a 95% confidence interval for any parameter! (well, almost…)

“Is there solid evidence of global warming?” What percentage of Americans believe in global warming? A survey on 2,251 randomly selected individuals conducted in October 2010 found that 1328 answered “Yes” to the question “Is there solid evidence of global warming?” www.lock5stat.com/statkey Source: “Wide Partisan Divide Over Global Warming”, Pew Research Center, 10/27/10. http://pewresearch.org/pubs/1780/poll-global-warming-scientists-energy-policies-offshore-drilling-tea-party

Global Warming www.lock5stat.com/statkey We are 95% sure that the true percentage of all Americans that believe there is solid evidence of global warming is between 57% and 61%

“Is there solid evidence of global warming?” Does belief in global warming differ by political party? “Is there solid evidence of global warming?” The sample proportion answering “yes” was 79% among Democrats and 38% among Republicans. (exact numbers for each party not given, but assume n=1000 for each group) Give a 95% CI for the difference in proportions. www.lock5stat.com/statkey Source: “Wide Partisan Divide Over Global Warming”, Pew Research Center, 10/27/10. http://pewresearch.org/pubs/1780/poll-global-warming-scientists-energy-policies-offshore-drilling-tea-party

Global Warming www.lock5stat.com/statkey We are 95% sure that the difference in the proportion of Democrats and Republicans who believe in global warming is between 0.37 and 0.45.

Global Warming Based on the data just analyzed, can you conclude that the proportion of people believing in global warming differs by political party? (a) Yes (b) No

Body Temperature What is the average body temperature of humans? www.lock5stat.com/statkey We are 95% sure that the average body temperature for humans is between 98.05 and 98.47 98.6??? Shoemaker, What's Normal: Temperature, Gender and Heartrate, Journal of Statistics Education, Vol. 4, No. 2 (1996)

Other Levels of Confidence What if we want to be more than 95% confident? How might you produce a 99% confidence interval for the average body temperature?

(0.5th percentile, 99.5th percentile) Percentile Method For a P% confidence interval, keep the middle P% of bootstrap statistics For a 99% confidence interval, keep the middle 99%, leaving 0.5% in each tail. The 99% confidence interval would be (0.5th percentile, 99.5th percentile) where the percentiles refer to the bootstrap distribution.

Body Temperature www.lock5stat.com/statkey We are 99% sure that the average body temperature is between 98.00 and 98.58

Level of Confidence Which is wider, a 90% confidence interval or a 95% confidence interval? (a) 90% CI (b) 95% CI

Two Methods for 95%

Two Methods For a symmetric, bell-shaped bootstrap distribution, using either the standard error method or the percentile method will given similar 95% confidence intervals If the bootstrap distribution is not bell-shaped or if a level of confidence other than 95% is desired, use the percentile method

Mercury and pH in Lakes: Correlation www.lock5stat.com/statkey We are 90% confident that the true correlation between average mercury level and pH of Florida lakes is between -0.702 and -0.433. Lange, Royals, and Connor, Transactions of the American Fisheries Society (1993)

Summary The standard error of a statistic is the standard deviation of the sample statistic, which can be estimated from a bootstrap distribution Confidence intervals can be created using the standard error or the percentiles of a bootstrap distribution Confidence intervals can be created this way for any parameter, as long as the bootstrap distribution is approximately symmetric and continuous

To Do Homework 3 (due Monday) Research question and data for Project 1 (proposal due 2/15) As soon as you come up with a question and find data, you already know how to do the first half of Project 1! If you haven’t yet registered your clicker, email me with the number on the back