LAB 4.2
Statistics 200: Lab Activity for Section 4.2
Measuring Evidence with P-values - Learning objectives:
Recognize that a randomization distribution shows what is likely to happen by random chance if the
null hypothesis is true
Use technology to create a randomization distribution
Interpret a p-value as the proportion of samples that would give a statistic as extreme as the observed sample, if the null hypothesis is true
Distinguish between one-tailed and two-tailed tests in finding p-values
Find a p-value from a randomization distribution
Activity 1: Create a Randomization Distribution
This activity is meant to have you participate in the creation of a randomization distribution to understand that it shows a distribution of sample statistics that were created assuming the null hypothesis is true.
Every year in Punxsutawney, Pennsylvania, a famous groundhog, Phil, makes a prediction about the end of winter. If he comes out of his burrow and sees his shadow, he predicts six more weeks of winter. If he does not see his shadow, his prediction is early spring.
In the ten years from 2011 to 2020, Phil made the following predictions:
Year
Prediction
February temperature
Prediction accuracy
2020
End of winter
Above normal
Correct
2019
End of winter
Below normal
Incorrect
2018
More winter
Above normal
Incorrect
2017
More winter
Above normal
Incorrect
2016
End of winter Above Normal Correct 2015
More winter Below normal Correct 2014
More winter Below normal Correct 2013
End of winter Above normal Correct 2012
More winter Below normal Correct 2011
End of winter Below normal Incorrect Are his predictions better than a random 50-50 chance?
1.
What are the correct null and alternative hypotheses? Hint – what is p if his predictions are random?
H
0
:p=0.5, 50% correct
H
a
:p>0.5, more than 50%
2.
What is p-hat when considering this example (round your answer to 4 decimal places, 0.xxxx)
?
Sample proportion, phat=# of events/number of trials, 6/10=0.60
3.
To create a randomization distribution, we must determine what the distribution of p-hat is if his prediction is random. We will use virtual coins, which have a true 50% chance of being heads. Go to justflipacoin.com
a.
2/19/20
© - Pennsylvania State University