The Right Questions about Statistics: How hypothesis testing works Maths Learning Centre The University of Adelaide A hypothesis test is designed to DECIDE.

Slides:



Advertisements
Similar presentations
Numbers Treasure Hunt Following each question, click on the answer. If correct, the next page will load with a graphic first – these can be used to check.
Advertisements

You have been given a mission and a code. Use the code to complete the mission and you will save the world from obliteration…
Chapter 4 Sampling Distributions and Data Descriptions.
AP STUDY SESSION 2.
1
Feichter_DPG-SYKL03_Bild-01. Feichter_DPG-SYKL03_Bild-02.
& dding ubtracting ractions.
© 2008 Pearson Addison Wesley. All rights reserved Chapter Seven Costs.
Copyright © 2003 Pearson Education, Inc. Slide 1 Computer Systems Organization & Architecture Chapters 8-12 John D. Carpinelli.
Chapter 1 The Study of Body Function Image PowerPoint
Copyright © 2011, Elsevier Inc. All rights reserved. Chapter 6 Author: Julia Richards and R. Scott Hawley.
Author: Julia Richards and R. Scott Hawley
1 Copyright © 2013 Elsevier Inc. All rights reserved. Appendix 01.
Properties Use, share, or modify this drill on mathematic properties. There is too much material for a single class, so you’ll have to select for your.
UNITED NATIONS Shipment Details Report – January 2006.
We need a common denominator to add these fractions.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Title Subtitle.
CALENDAR.
My Alphabet Book abcdefghijklm nopqrstuvwxyz.
2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt 2 pt 3 pt 4 pt 5 pt 1 pt ShapesPatterns Counting Number.
DIVIDING INTEGERS 1. IF THE SIGNS ARE THE SAME THE ANSWER IS POSITIVE 2. IF THE SIGNS ARE DIFFERENT THE ANSWER IS NEGATIVE.
FACTORING ax2 + bx + c Think “unfoil” Work down, Show all steps.
Year 6 mental test 10 second questions
Break Time Remaining 10:00.
The basics for simulations
PP Test Review Sections 6-1 to 6-6
Chapter 16 Goodness-of-Fit Tests and Contingency Tables
VOORBLAD.
15. Oktober Oktober Oktober 2012.
Copyright © 2012, Elsevier Inc. All rights Reserved. 1 Chapter 7 Modeling Structure with Blocks.
Factor P 16 8(8-5ab) 4(d² + 4) 3rs(2r – s) 15cd(1 + 2cd) 8(4a² + 3b²)
Basel-ICU-Journal Challenge18/20/ Basel-ICU-Journal Challenge8/20/2014.
1..
© 2012 National Heart Foundation of Australia. Slide 2.
Adding Up In Chunks.
Lets play bingo!!. Calculate: MEAN Calculate: MEDIAN
MaK_Full ahead loaded 1 Alarm Page Directory (F11)
Understanding Generalist Practice, 5e, Kirst-Ashman/Hull
1 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt 10 pt 15 pt 20 pt 25 pt 5 pt Synthetic.
Before Between After.
Model and Relationships 6 M 1 M M M M M M M M M M M M M M M M
25 seconds left…...
: 3 00.
5 minutes.
Januar MDMDFSSMDMDFSSS
1 hi at no doifpi me be go we of at be do go hi if me no of pi we Inorder Traversal Inorder traversal. n Visit the left subtree. n Visit the node. n Visit.
Statistical Inferences Based on Two Samples
Analyzing Genes and Genomes
We will resume in: 25 Minutes.
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
Essential Cell Biology
Clock will move after 1 minute
Intracellular Compartments and Transport
PSSA Preparation.
The Right Questions about Statistics: How confidence intervals work Maths Learning Centre The University of Adelaide A confidence interval is designed.
& dding ubtracting ractions.
Copyright © 2013 Pearson Education, Inc. All rights reserved Chapter 11 Simple Linear Regression.
Essential Cell Biology
Physics for Scientists & Engineers, 3rd Edition
Energy Generation in Mitochondria and Chlorplasts
Select a time to count down from the clock above
Murach’s OS/390 and z/OS JCLChapter 16, Slide 1 © 2002, Mike Murach & Associates, Inc.
How hypothesis testing works
Presentation transcript:

The Right Questions about Statistics: How hypothesis testing works Maths Learning Centre The University of Adelaide A hypothesis test is designed to DECIDE the answer to a YES OR NO question using DATA. You calculate whether your data is likely or unlikely given a particular answer.

Is the median number of chapters in a novel = 20? Randomly choose 12 books

That’s too hard. So let’s turn all this data into just one number... To answer this, I need to know what all the other possibilities are and compare... Book# Chapters c = How likely is this to happen if the median for all books really is 20? “TEST STATISTIC”

Suppose the median number of chapters for all books really is 20. And imagine what would happen if we took a different sample. “NULL HYPOTHESIS”

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters c =

Book# Chapters 1 ## ## 11 ## 12 ## c = c = 0.55c = 0.64c = 0.45 c = 0.18c = 0.82c = 0.55

This describes all the possibilities for what the test statistic could have been and how likely they all are. We can usually go straight to this distribution if we use some statistical theory “DISTRIBUTION OF TEST STATISTIC”

“P VALUE” p = 0.01 NOW: How likely is my test statistic if the median for all books really is 20? That is, what percentage of the possible test statistics are just as bad as mine? I need to chose a cut-off for when I declare this to be unlikely. Let’s choose p = 0.01 is less than 0.05 So our test statistic unlikely. So conclude the median is not 20.

Book# Chapters Is the median number of chapters = 20? Figure out the distribution if the median really is 20. p = 0.01 Take a random sample of books. Calculate a test statistic. Calculate a P-value. c = 0.91 Decide the answer.The median for all books is not 20. “HYPOTHESIS TEST” Let’s go over that again… “SIGN TEST” B(11,0.5)

BookWeight (g) Is the mean weight equal to 300 g? Figure out the distribution if the mean really is 300g. p = 0.65 Take a random sample of books. Calculate a test statistic. Calculate a P-value. t = 0.46 Decide the answer.The mean for all books could be 300g. “ONE-SAMPLE T-TEST” Another hypothesis test t (11)

BookTitle has “the” 1 No 2 Yes 3 No Yes 7 No No 11 Yes 12 No Is the percentage of books with “the” in the title 50% ? Figure out the distribution if the percentage really is 50%. p = 0.09 Take a random sample of books. Calculate a test statistic. Calculate a P-value. x = 3 Decide the answer.The percentage with “the” could be 50%. “EXACT TEST FOR ONE PROPORTION” Another hypothesis test B(12,0.5)

BookWeight (g) Is the standard deviation of weights equal to 40g? Figure out the distribution if the standard deviation really is 40g. p = 0.03 Take a random sample of books. Calculate a test statistic. Calculate a P-value. χ 2 = 22.9 Decide the answer. The standard deviation of weights is not 40g. “CHI-SQUARED TEST FOR ONE STANDARD DEVIATION” Another hypothesis test χ 2 (11)

Are SciFi books the same thickness as other books? Take a random sample of books. BookGenreThickness (cm) 1 SciFi Other SciFi Other SciFi Other SciFi Other SciFi Other SciFi Other 2.8 “TWO-SAMPLE T-TEST” Figure out the distribution if the average thickness really is the same. p = Calculate a test statistic. Calculate a P-value. t = 6.62 Decide the answer.SciFi books are not the same thickness as other books. Another hypothesis test t(20)

Are SciFi books more likely to be written by men? Take a random sample of books. BookGenreAuthor Gender 1 SciFi Male 2 Other Female 3 SciFi Male 4 Other Male 5 SciFi Female 6 Other Male 7 SciFi Male 8 Other Female 9 SciFi Male 10 Other Female 11 SciFi Male 12 Other Female “CHI-SQUARED TEST FOR ASSOCIATION” Figure out the distribution if the average thickness really is the same. p = 0.24 Calculate a test statistic. Calculate a P-value. χ 2 = 1.37 Decide the answer.SciFi books are not more likely to be written by men. Another hypothesis test χ 2 (1)

So this is how you do a hypothesis test: Have a yes-or-no question. Collect data. Calculate a test statistic. Figure out the distribution if you assume a particular answer. Calculate a p-value. Decide the answer based on the p-value.

And this is what a hypothesis test means: It tells you if your data is likely or unlikely given a particular situation (“null hypothesis”). A low p-value means your data is unlikely and you don’t believe you’re in that situation. A high p-value means your data is likely and you do believe you could be in that situation.