9.3 Beta Model - Inference About Proportions
Example 4 Will it rain on the 4 of July?
Show solution
In the United States, the 4 of July is Independence Day, and is known for parades. The oldest continuously running parade is in Bristol, RI, and it runs rain or shine. Is it likely to rain on the parade? Climate data from nearby Providence is here from wunderground.com:
We can estimate the the Beta distribution median and credible intervals with a Normal distribution, by using the “assuming 2 successes and 2 failures” method.
around 40%, less than an even chance (50%) of rain, but
So the approximate 95% credible interval is
which is between 0.268 and 0.540. This is not strong evidence against a purely fair and random “coin flip” for rain on the 4 of July.
Try it in XYZ Crunch
Is a rained-on parade better than even money?
The estimate is Normal(0.404, 0.068). The panel's exact 2.5% and 97.5% points are 0.2707 and 0.5373, matching the book's [0.268, 0.540]. The interesting lookup is the third one: the probability that the true rain rate is above one half is 0.0790, so an even-money bet is unlikely but not excluded - exactly what 'not strong evidence against a coin flip' means.
Example 5 Hot Hand Reexamined
In Tversky and Gilovich2 we have the following data for Larry Bird free throws in basketball:
- Given each of 53 missed shots, Larry Bird successfully shot 48 of the next attempt.
- Given each of 285 successful shots, Larry Bird successfully shot 251 of the next attempt.
This data alone almost suggests an anti-hot-hand (where you're less likely to make a successful attempt following a successful shot). However, we can demonstrate that these numbers are not in fact statistically different. Given the relatively large number of attempts (greater than 30) we can use the Normal approximation to estimate the two probabilities of success:
and the uncertainty,
making the 95% credible intervals for probability of a Larry Bird successful attempt
Notice that the intervals overlap, so there is no significant evidence for a difference in Larry Bird's success following another success or following a miss. Thus, there is no significant evidence for a hot hand, or an anti-hot hand.
Try it in XYZ Crunch
Both of Bird's intervals, and the difference the book leaves implicit
After a miss the estimate is Normal(0.877, 0.044), giving [0.7908, 0.9632]; after a success it is Normal(0.875, 0.019), giving [0.8378, 0.9122] - the book's two intervals, and the second sits inside the first. Going one step past the book: the difference is 0.002 plus or minus sqrt(0.044^2 + 0.019^2) = 0.0479, and the panel puts 0.4834 of it below zero. A coin flip. That is as close to no evidence as this kind of comparison gets.
Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.