python
1. A career 40% three point shooter spends time with Steph Curry in the off-season. The next season the player makes 96 out of 200 three pointers to start the season.
Viewing the 200 shots as one observation of a binomial variable, create a 95% confidence interval.
If our null hypothesis is that the player has not gotten better, can we reject our null with 95% confidence?
2. Now Steph starts a shooting academy. 100 players attend the academy.
Before the academy, the players have been career 35% three point shooters.
After the players have taken 300 shots the next season, the 100 players have made:
MADE=np.random.binomial(300,0.39,size=100)
Can we say the academy makes you a better shooter? Justify your answer.
Problems C2, C4, C6, and C11 on page 62-65 in Wooldridge (7th edition). In the pdf