Early Inference: Using Bootstraps to Introduce Confidence Intervals Robin H. Lock, Burry Professor of Statistics Patti Frazer Lock, Cummings Professor.

Slides:



Advertisements
Similar presentations
SADC Course in Statistics Confidence intervals using CAST (Session 07)
Advertisements

Panel at 2013 Joint Mathematics Meetings
StatKey Online Tools for Teaching a Modern Introductory Statistics Course Robin Lock St. Lawrence University USCOTS Breakout – May 2013 Patti Frazer Lock.
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
Statistical Inference Using Scrambles and Bootstraps Robin Lock Burry Professor of Statistics St. Lawrence University MAA Allegheny Mountain 2014 Section.
Bootstraps and Scrambles: Letting Data Speak for Themselves Robin H. Lock Burry Professor of Statistics St. Lawrence University Science.
Using Randomization Methods to Build Conceptual Understanding in Statistical Inference: Day 1 Lock, Lock, Lock Morgan, Lock, and Lock MAA Minicourse –
Using Randomization Methods to Build Conceptual Understanding in Statistical Inference: Day 1 Lock, Lock, Lock, Lock, and Lock MAA Minicourse – Joint Mathematics.
Bootstrap Distributions Or: How do we get a sense of a sampling distribution when we only have ONE sample?
Hypothesis Testing I 2/8/12 More on bootstrapping Random chance
Intuitive Introduction to the Important Ideas of Inference Robin Lock – St. Lawrence University Patti Frazer Lock – St. Lawrence University Kari Lock Morgan.
HUDM4122 Probability and Statistical Inference March 30, 2015.
Models and Modeling in Introductory Statistics Robin H. Lock Burry Professor of Statistics St. Lawrence University 2012 Joint Statistics Meetings San Diego,
Section 3.4 Bootstrap Confidence Intervals using Percentiles.
A Fiddler on the Roof: Tradition vs. Modern Methods in Teaching Inference Patti Frazer Lock Robin H. Lock St. Lawrence University Joint Mathematics Meetings.
Intro stat should not be like drinking water through a fire hose Kirk Steinhorst Professor of Statistics University of Idaho.
Connecting Simulation- Based Inference with Traditional Methods Kari Lock Morgan, Penn State Robin Lock, St. Lawrence University Patti Frazer Lock, St.
Let sample from N(μ, σ), μ unknown, σ known.
Starting Inference with Bootstraps and Randomizations Robin H. Lock, Burry Professor of Statistics St. Lawrence University Stat Chat Macalester College,
Using Simulation Methods to Introduce Statistical Inference Patti Frazer Lock Kari Lock Morgan Cummings Professor of Mathematics Assistant Professor of.
Building Conceptual Understanding of Statistical Inference with Lock 5 Dr. Kari Lock Morgan Department of Statistical Science Duke University Wake Forest.
Bootstrapping: Let Your Data Be Your Guide Robin H. Lock Burry Professor of Statistics St. Lawrence University MAA Seaway Section Meeting Hamilton College,
Bootstrapping applied to t-tests
Introducing Inference with Simulation Methods; Implementation at Duke University Kari Lock Morgan Department of Statistical Science, Duke University
Using Bootstrap Intervals and Randomization Tests to Enhance Conceptual Understanding in Introductory Statistics Kari Lock Morgan Department of Statistical.
Statistics: Unlocking the Power of Data Lock 5 Inference for Proportions STAT 250 Dr. Kari Lock Morgan Chapter 6.1, 6.2, 6.3, 6.7, 6.8, 6.9 Formulas for.
Introducing Inference with Bootstrap and Randomization Procedures Dennis Lock Statistics Education Meeting October 30,
Confidence Intervals: Bootstrap Distribution
Statistics: Unlocking the Power of Data Lock 5 Normal Distribution STAT 250 Dr. Kari Lock Morgan Chapter 5 Normal distribution Central limit theorem Normal.
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.
How to Handle Intervals in a Simulation-Based Curriculum? Robin Lock Burry Professor of Statistics St. Lawrence University 2015 Joint Statistics Meetings.
Statistics: Unlocking the Power of Data Lock 5 Afternoon Session Using Lock5 Statistics: Unlocking the Power of Data Patti Frazer Lock University of Kentucky.
Building Conceptual Understanding of Statistical Inference Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University
Statistics: Unlocking the Power of Data Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University University of Kentucky.
Sampling Distribution ● Tells what values a sample statistic (such as sample proportion) takes and how often it takes those values in repeated sampling.
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: 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.
Using Randomization Methods to Build Conceptual Understanding of Statistical Inference: Day 2 Lock, Lock, Lock Morgan, Lock, and Lock MAA Minicourse- Joint.
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Lesson Inference for Regression. Knowledge Objectives Identify the conditions necessary to do inference for regression. Explain what is meant by.
Chapter 14: Inference about the Model. Confidence Intervals for the Regression Slope (p. 788) If we repeated our sampling and computed another model,
Confidence Intervals: Bootstrap Distribution
Introducing Inference with Bootstrapping and Randomization Kari Lock Morgan Department of Statistical Science, Duke University with.
Implementing a Randomization-Based Curriculum for Introductory Statistics Robin H. Lock, Burry Professor of Statistics St. Lawrence University Breakout.
Statistics: Unlocking the Power of Data Lock 5 Bootstrap Intervals Dr. Kari Lock Morgan PSU /12/14.
Building Conceptual Understanding of Statistical Inference Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University Canton, New York.
Bayesian Inference, Review 4/25/12 Frequentist inference Bayesian inference Review The Bayesian Heresy (pdf)pdf Professor Kari Lock Morgan Duke University.
Statistics: Unlocking the Power of Data Lock 5 Exam 2 Review STAT 101 Dr. Kari Lock Morgan 11/13/12 Review of Chapters 5-9.
Using Bootstrapping and Randomization to Introduce Statistical Inference Robin H. Lock, Burry Professor of Statistics Patti Frazer Lock, Cummings Professor.
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.
Statistics: Unlocking the Power of Data Lock 5 STAT 101 Dr. Kari Lock Morgan 12/6/12 Synthesis Big Picture Essential Synthesis Bayesian Inference (continued)
Course Outline Presentation Reference Course Outline for MTS-202 (Statistical Inference) Fall-2009 Dated: 27 th August 2009 Course Supervisor(s): Mr. Ahmed.
Statistics for Business and Economics 8 th Edition Chapter 7 Estimation: Single Population Copyright © 2013 Pearson Education, Inc. Publishing as Prentice.
Constructing Bootstrap 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.
StatKey Online Tools for Teaching a Modern Introductory Statistics Course Robin Lock Burry Professor of Statistics St. Lawrence University
Bootstraps and Scrambles: Letting a Dataset Speak for Itself Robin H. Lock Patti Frazer Lock ‘75 Burry Professor of Statistics Cummings Professor of MathematicsSt.
The Practice of Statistics Third Edition Chapter 15: Inference for Regression Copyright © 2008 by W. H. Freeman & Company.
Statistics: Unlocking the Power of Data Lock 5 STAT 250 Dr. Kari Lock Morgan Synthesis and Review for Exam 1.
Using Randomization Methods to Build Conceptual Understanding in Statistical Inference: Day 1 Lock, Lock, Lock, Lock, and Lock Minicourse – Joint Mathematics.
When we free ourselves of desire,
Connecting Intuitive Simulation-Based Inference to Traditional Methods
‘The’ Second Course in Statistics
Teaching with Simulation-Based Inference, for Beginners
Presentation transcript:

Early Inference: Using Bootstraps to Introduce Confidence Intervals Robin H. Lock, Burry Professor of Statistics Patti Frazer Lock, Cummings Professor of Mathematics St. Lawrence University Joint Mathematics Meetings New Orleans, January 2011

Intro Stat at St. Lawrence Four statistics faculty (3 FTE) 5/6 sections per semester students per section Only 100-level (intro) stat course on campus Students from a wide variety of majors Meet full time in a computer classroom Software: Minitab and Fathom

Stat Traditional Topics Descriptive Statistics – one and two samples Normal distributions Data production (samples/experiments) Sampling distributions (mean/proportion) Confidence intervals (means/proportions) Hypothesis tests (means/proportions) ANOVA for several means, Inference for regression, Chi-square tests

When do current texts first discuss confidence intervals and hypothesis tests? Confidence Interval Significance Test Moorepg. 359pg. 373 Agresti/Franklinpg. 329pg. 400 DeVeaux/Velleman/Bockpg. 486pg. 511 Devore/Peckpg. 319pg. 365

Stat Revised Topics Descriptive Statistics – one and two samples Normal distributions Data production (samples/experiments) Sampling distributions (mean/proportion) Confidence intervals (means/proportions) Hypothesis tests (means/proportions) ANOVA for several means, Inference for regression, Chi-square tests Data production (samples/experiments) Bootstrap confidence intervals Randomization-based hypothesis tests Normal distributions Bootstrap confidence intervals

Prerequisites for Bootstrap CI’s Students should know about: Parameters / sample statistics Random sampling Dotplot (or histogram) Standard deviation and/or percentiles

What is a bootstrap? and How does it give an interval?

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

Sample of n=500 Atlanta Commutes Where might the “true” μ be?

“Bootstrap” Samples Key idea: Sample with replacement from the original sample using the same n. Assumes the “population” is many, many copies of the original sample.

Atlanta Commutes – Original Sample

Atlanta Commutes: Simulated Population

Creating a Bootstrap Distribution 1. Compute a statistic of interest (original sample). 2. Create a new sample with replacement (same n). 3. Compute the same statistic for the new sample. 4. Repeat 2 & 3 many times, storing the results. 5. Analyze the distribution of collected statistics. Important point: The basic process is the same for ANY parameter/statistic. Bootstrap sample Bootstrap statistic Bootstrap distribution

Bootstrap Distribution of 1000 Atlanta Commute Means

Using the Bootstrap Distribution to Get a Confidence Interval – Version #1 The standard deviation of the bootstrap statistics estimates the standard error of the sample statistic. Quick interval estimate : For the mean Atlanta commute time:

Quick Assessment HW assignment (after one class on Sept. 29): Use data from a sample of NHL players to find a confidence interval for the standard deviation of number of penalty minutes.

Example: Find a confidence interval for the standard deviation, σ, of Atlanta commute times. Original sample: s=20.72 Bootstrap distribution of sample std. dev’s SE=1.76

Quick Assessment HW assignment (after one class on Sept. 29): Use data from a sample of NHL players to find a confidence interval for the standard deviation of number of penalty minutes. Results: 9/26 did everything fine 6/26 got a reasonable bootstrap distribution, but messed up the interval, e.g. StdError( ) 5/26 had errors in the bootstraps, e.g. n=1000 6/26 had trouble getting started, e.g. defining s( )

Using the Bootstrap Distribution to Get a Confidence Interval – Version # Keep 95% in middle Chop 2.5% in each tail

Using the Bootstrap Distribution to Get a Confidence Interval – Version # Keep 95% in middle Chop 2.5% in each tail For a 95% CI, find the 2.5%-tile and 97.5%-tile in the bootstrap distribution 95% CI=(27.33,31.00)

90% CI for Mean Atlanta Commute Keep 90% in middle Chop 5% in each tail For a 90% CI, find the 5%-tile and 95%-tile in the bootstrap distribution 90% CI=(27.52,30.68)

99% CI for Mean Atlanta Commute Keep 99% in middle Chop 0.5% in each tail For a 99% CI, find the 0.5%-tile and 99.5%-tile in the bootstrap distribution 99% CI=(27.02,31.82)

Intermediate Assessment Exam #2: (Oct. 26) Students were asked to find a 95% confidence interval for the correlation between water pH and mercury levels in fish for a sample of Florida lakes – using both SE and percentiles from a bootstrap distribution.

Example: Find a 95% confidence interval for the correlation between time and distance of Atlanta commutes. Original sample: r =0.807 (0.72, 0.87)

Intermediate Assessment Exam #2: (Oct. 26) Students were asked to find a 95% confidence interval for the correlation between water pH and mercury levels in fish for a sample of Florida lakes – using both SE and percentiles from a bootstrap distribution. Results: 17/26 did everything fine 4/26 had errors finding/using SE 2/26 had minor arithmetic errors 3/26 had errors in the bootstrap distribution

Transitioning to Traditional Intervals AFTER students have seen lots of bootstrap distributions (and randomization distributions)… Introduce the normal distribution (and later t) Introduce “shortcuts” for estimating SE for proportions, means, differences, slope…

Advantages: Bootstrap CI’s Requires minimal prerequisite machinery Requires minimal conditions Same process works for lots of parameters Helps illustrate the concept of an interval Explicitly shows variability for different samples Possible disadvantages: Requires good technology It’s not the way we’ve always done it

What About Technology? Possible options? Fathom R Minitab (macro) JMP (script) Web apps Others? xbar=function(x,i) mean(x[i]) b=boot(Margin,xbar,1000)

Miscellaneous Observations We were able to get to CI’s (and tests) sooner More issues using technology than expected Students had fewer difficulties using normals Interpretations of intervals improved Students were able to apply the ideas later in the course, e.g. a regression project at the end that asked for a bootstrap CI for slope Had to trim a couple of topics, e.g. multiple regression

Final Assessment Final exam: (Dec. 15) Find a 98% confidence interval using a bootstrap distribution for the mean amount of study time during final exams Results: 26/26 had a reasonable bootstrap distribution 24/26 had an appropriate interval 23/26 had a correct interpretation

Support Materials? or We’re working on them… Interested in class testing?