Building Conceptual Understanding of Statistical Inference Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University Canton, New York.

Slides:



Advertisements
Similar presentations
Panel at 2013 Joint Mathematics Meetings
Advertisements

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.
Statistical Inference Using Scrambles and Bootstraps Robin Lock Burry Professor of Statistics St. Lawrence University MAA Allegheny Mountain 2014 Section.
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.
Simulating with StatKey Kari Lock Morgan Department of Statistical Science Duke University Joint Mathematical Meetings, San Diego 1/11/13.
StatKey Online Tools for Teaching a Modern Introductory Statistics Course Robin Lock Burry Professor of Statistics St. Lawrence University
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
Intuitive Introduction to the Important Ideas of Inference Robin Lock – St. Lawrence University Patti Frazer Lock – St. Lawrence University Kari Lock Morgan.
Models and Modeling in Introductory Statistics Robin H. Lock Burry Professor of Statistics St. Lawrence University 2012 Joint Statistics Meetings San Diego,
A Fiddler on the Roof: Tradition vs. Modern Methods in Teaching Inference Patti Frazer Lock Robin H. Lock St. Lawrence University Joint Mathematics Meetings.
Fall 2006 – Fundamentals of Business Statistics 1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter 7 Estimating Population Values.
STAT 101 Dr. Kari Lock Morgan Exam 2 Review.
Connecting Simulation- Based Inference with Traditional Methods Kari Lock Morgan, Penn State Robin Lock, St. Lawrence University Patti Frazer Lock, St.
StatKey: Online Tools for Bootstrap Intervals and Randomization Tests Kari Lock Morgan Department of Statistical Science Duke University Joint work with.
Dr. Kari Lock Morgan Department of Statistics Penn State University Teaching the Common Core: Making Inferences and Justifying Conclusions ASA Webinar.
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.
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
StatKey Online Tools for Teaching a Modern Introductory Statistics Course Robin Lock Burry Professor of Statistics St. Lawrence 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,
Building Conceptual Understanding of Statistical Inference Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University
Understanding the P-value… Really! Kari Lock Morgan Department of Statistical Science, Duke University with Robin Lock, Patti Frazer.
Using Simulation Methods to Introduce Inference Kari Lock Morgan Duke University In collaboration with Robin Lock, Patti Frazer Lock, Eric Lock, Dennis.
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.
AP Statistics Chap 10-1 Confidence Intervals. AP Statistics Chap 10-2 Confidence Intervals Population Mean σ Unknown (Lock 6.5) Confidence Intervals Population.
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.
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.
Significance Tests: THE BASICS Could it happen by chance alone?
Introducing Inference with Simulation Methods; Implementation at Duke University Kari Lock Morgan Department of Statistical Science, Duke University
Using Randomization Methods to Build Conceptual Understanding of Statistical Inference: Day 2 Lock, Lock, Lock Morgan, Lock, and Lock MAA Minicourse- Joint.
Robin Lock St. Lawrence University USCOTS Opening Session.
StatKey Online Tools for Teaching a Modern Introductory Statistics Course Robin Lock Burry Professor of Statistics St. Lawrence University
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.
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.
+ DO NOW. + Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population.
Early Inference: Using Randomization to Introduce Hypothesis Tests Kari Lock, Harvard University Eric Lock, UNC Chapel Hill Dennis Lock, Iowa State Joint.
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 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.
Simulation-based inference beyond the introductory course Beth Chance Department of Statistics Cal Poly – San Luis Obispo
Using Randomization Methods to Build Conceptual Understanding in Statistical Inference: Day 1 Lock, Lock, Lock, Lock, and Lock Minicourse – Joint Mathematics.
Making computing skills part of learning introductory stats
Patti Frazer Lock Cummings Professor of Mathematics
Introducing Statistical Inference with Resampling Methods (Part 1)
Connecting Intuitive Simulation-Based Inference to Traditional Methods
Using Simulation Methods to Introduce Inference
Improving Conceptual Understanding in Intro Stats
Using Simulation Methods to Introduce Inference
Improving Conceptual Understanding in Intro Stats
Teaching with Simulation-Based Inference, for Beginners
Presentation transcript:

Building Conceptual Understanding of Statistical Inference Patti Frazer Lock Cummings Professor of Mathematics St. Lawrence University Canton, New York AMATYC November, 2013

The Lock 5 Team Dennis Iowa State Kari Harvard/Duke Eric UNC/Duke Robin & Patti St. Lawrence

New Simulation Methods “The Next Big Thing” United States Conference on Teaching Statistics, May 2011 Common Core State Standards in Mathematics Increasingly used in the disciplines

New Simulation Methods Increasingly important in DOING statistics Outstanding for use in TEACHING statistics Help students understand the key ideas of statistical inference

“New” Simulation Methods? "Actually, the statistician does not carry out this very simple and very tedious process, but his conclusions have no justification beyond the fact that they agree with those which could have been arrived at by this elementary method." -- Sir R. A. Fisher, 1936

Bootstrap Confidence Intervals and Randomization Hypothesis Tests

First: Bootstrap Confidence Intervals

Example 1: What is the average price of a used Mustang car? Select a random sample of n=25 Mustangs from a website (autotrader.com) and record the price (in $1,000’s) for each car.

Sample of Mustangs: Our best estimate for the average price of used Mustangs is $15,980, but how accurate is that estimate?

We would like some kind of margin of error or a confidence interval. Key concept: How much can we expect the sample means to vary just by random chance?

Traditional Inference 2. Which formula? 3. Calculate summary stats 6. Plug and chug 4. Find t * 5. df? OR t * = Interpret in context CI for a mean 1. Check conditions

“We are 95% confident that the mean price of all used Mustang cars is between $11,390 and $20,570.” Answer is good, but the process is not very helpful at building understanding. Our students are often great visual learners but get nervous about formulas and algebra. Can we find a way to use their visual intuition?

Bootstrapping Brad Efron Stanford University Key Idea: Assume the “population” is many, many copies of the original sample. “Let your data be your guide.”

Suppose we have a random sample of 6 people:

Original Sample A simulated “population” to sample from

Bootstrap Sample: Sample with replacement from the original sample, using the same sample size. Original SampleBootstrap Sample

Original Sample Bootstrap Sample

Original Sample Bootstrap Sample ●●●●●● Bootstrap Statistic Sample Statistic Bootstrap Statistic ●●●●●● Bootstrap Distribution

We need technology! StatKey (Free, easy-to-use, works on all platforms)

StatKey Standard Error

Using the Bootstrap Distribution to Get a Confidence Interval Keep 95% in middle Chop 2.5% in each tail We are 95% sure that the mean price for Mustangs is between $11,930 and $20,238

Example 2: What yes/no question do you want to ask the sample of people in this audience? MAYBE: Did you/are you going to dress up in any kind of costume this week? OR: Is this your first time at AMATYC? OR: Do you live in California?

Raise your hand if your answer to the question is YES. Example #2 : Find a 90% confidence interval for the proportion of people attending AMATYC interested in introductory statistics who would answer “yes” to this question.

Why does the bootstrap work?

Sampling Distribution Population µ BUT, in practice we don’t see the “tree” or all of the “seeds” – we only have ONE seed

Bootstrap Distribution Bootstrap “Population” What can we do with just one seed? Grow a NEW tree! µ

Example 3: Diet Cola and Calcium What is the difference in mean amount of calcium excreted between people who drink diet cola and people who drink water? Find a 95% confidence interval for the difference in means.

What About Hypothesis Tests?

P-value: The probability of seeing results as extreme as, or more extreme than, the sample results, if the null hypothesis is true. Say what????

Example 1: Beer and Mosquitoes Does consuming beer attract mosquitoes? Experiment: 25 volunteers drank a liter of beer, 18 volunteers drank a liter of water Randomly assigned! Mosquitoes were caught in traps as they approached the volunteers. 1 1 Lefvre, T., et. al., “Beer Consumption Increases Human Attractiveness to Malaria Mosquitoes, ” PLoS ONE, 2010; 5(3): e9546.

Beer and Mosquitoes Beer mean = 23.6 Water mean = Does drinking beer actually attract mosquitoes, or is the difference just due to random chance? Beer mean – Water mean = 4.38 Number of Mosquitoes BeerWater

Traditional Inference 2. Which formula? 3. Calculate numbers and plug into formula 4. Plug into calculator 5. Which theoretical distribution? 6. df? 7. find p-value < p-value < Check conditions

Simulation Approach Beer mean = 23.6 Water mean = Does drinking beer actually attract mosquitoes, or is the difference just due to random chance? Beer mean – Water mean = 4.38 Number of Mosquitoes BeerWater

Simulation Approach Number of Mosquitoes BeerWater Find out how extreme these results would be, if there were no difference between beer and water. What kinds of results would we see, just by random chance?

Simulation Approach Number of Mosquitoes BeerWater Find out how extreme these results would be, if there were no difference between beer and water. What kinds of results would we see, just by random chance? Number of Mosquitoes Beverage

Simulation Approach Beer Water Find out how extreme these results would be, if there were no difference between beer and water. What kinds of results would we see, just by random chance? Number of Mosquitoes Beverage

StatKey! P-value

Traditional Inference 1. Which formula? 2. Calculate numbers and plug into formula 3. Plug into calculator 4. Which theoretical distribution? 5. df? 6. find p- value < p-value < 0.001

Beer and Mosquitoes The Conclusion! The results seen in the experiment are very unlikely to happen just by random chance (just 1 out of 1000!) We have strong evidence that drinking beer does attract mosquitoes!

“Randomization” Samples Key idea: Generate samples that are (a)based on the original sample AND (a)consistent with some null hypothesis.

Example 2: Malevolent Uniforms Do sports teams with more “malevolent” uniforms get penalized more often?

Example 2: Malevolent Uniforms Sample Correlation = 0.43 Do teams with more malevolent uniforms commit more penalties, or is the relationship just due to random chance?

Simulation Approach Find out how extreme this correlation would be, if there is no relationship between uniform malevolence and penalties. What kinds of results would we see, just by random chance? Sample Correlation = 0.43

Randomization by Scrambling

StatKey P-value

Malevolent Uniforms The Conclusion! The results seen in the study are unlikely to happen just by random chance (just about 1 out of 100). We have some evidence that teams with more malevolent uniforms get more penalties.

P-value: The probability of seeing results as extreme as, or more extreme than, the sample results, if the null hypothesis is true. Yeah – that makes sense!

Example 3: Light at Night and Weight Gain Does leaving a light on at night affect weight gain? In particular, do mice with a light on at night gain more weight than mice with a normal light/dark cycle? Find the p-value and use it to make a conclusion.

Simulation Methods These randomization-based methods tie directly to the key ideas of statistical inference. They are ideal for building conceptual understanding of the key ideas. Not only are these methods great for teaching statistics, but they are increasingly being used for doing statistics.

How does everything fit together? We use these methods to build understanding of the key ideas. We then cover traditional normal and t- tests as “short-cut formulas”. Students continue to see all the standard methods but with a deeper understanding of the meaning.

It is the way of the past… "Actually, the statistician does not carry out this very simple and very tedious process, but his conclusions have no justification beyond the fact that they agree with those which could have been arrived at by this elementary method." -- Sir R. A. Fisher, 1936

… and the way of the future “... the consensus curriculum is still an unwitting prisoner of history. What we teach is largely the technical machinery of numerical approximations based on the normal distribution and its many subsidiary cogs. This machinery was once necessary, because the conceptually simpler alternative based on permutations was computationally beyond our reach. Before computers statisticians had no choice. These days we have no excuse. Randomization-based inference makes a direct connection between data production and the logic of inference that deserves to be at the core of every introductory course.” -- Professor George Cobb, 2007

Additional Resources Statkey Descriptive Statistics Sampling Distributions Normal and t-Distributions

Thanks for listening!