# A tibble: 6 × 6
vs game quarter time description shot
<fct> <int> <fct> <fct> <fct> <chr>
1 ORL 1 1 9:47 Kobe Bryant makes 4-foot two point shot H
2 ORL 1 1 9:07 Kobe Bryant misses jumper M
3 ORL 1 1 8:11 Kobe Bryant misses 7-foot jumper M
4 ORL 1 1 7:41 Kobe Bryant makes 16-foot jumper (Derek Fishe… H
5 ORL 1 1 7:03 Kobe Bryant makes driving layup H
6 ORL 1 1 6:01 Kobe Bryant misses jumper M
Exercise 1
What does a streak length of 1 mean, i.e. how many hits and misses are in a streak of 1? What about a streak length of 0?
# A streak length of 1 means achieving 1 hit before a miss. A streak length of 0 means not achieving a hit before a miss, or that a miss has occurred directly after a hit, or a miss followed a miss.
length
Min. :0.0000
1st Qu.:0.0000
Median :0.0000
Mean :0.7632
3rd Qu.:1.0000
Max. :4.0000
# From the data summary, Kobe's average streak length is 0.732. Given that the data is discrete and that a streak of 0 is considered a miss, his typical streak would be 1. His longest streak, the maximum, is 4. The bar graph is right-skewed and unimodal.
# For the simulated shooter, their typical streak length is 1 and their longest streak length is 4. In this case, the bar graph in unimodal and right-skewed.
Exercise 7
# Given that the probability and sample size would remain the same, I would expect the distribution to be similar. It would still be right-skewed and have similar spread. The sample size seems large enough and the shots are independent from one another, so I wouldn't expect any drastic differences due to random chance, but there will be some small amount of variability.
Exercise 8
# The distributions are similar to one another, and the longest streak lengths are are the same for the simulated shooter and Kobe. Given the similarities between the two and the fact that the shots by the simulated shooter are independent, the data does not suggest that the hot hands model fits Kobe's shooting pattern in the 2009 NBA Finals. Furthermore, this suggests that Kobe's shots are are independent from one another, meaning that making a shot did not increase the probability of him making the next.