Problem 2
## (a)
1 - (0.25 + 0.15 + 0.28)
## [1] 0.32
## (b)
0.32 + 0.25
## [1] 0.57
## (c)
0.25 + 0.15 + 0.28
## [1] 0.68
## (d)
0.32 * 0.32 ### Assuming independence
## [1] 0.1024
## (e)
0.68 * 0.68 ### Assuming independence
## [1] 0.4624
## (f)
### The assumption of independence is almost certainly not robust. There is very likely some dependence between two family members missing school. (i.e., more likely to get sick at the same time, more likely to go on vacation at the same time, etc.) To correct for this we'd need to know the conditional probability P(one kid misses school | sibling misses school)
Problem 3
## (a)
### No, a person could be both.
## (b)
0.2099 + 0.0230
## [1] 0.2329
## (c)
0.2099 / (0.2099 + 0.3123 + 0.2410 + 0.0817 + 0.0289)
## [1] 0.2402152
## (d)
0.0230 / (0.0230 + 0.0364 + 0.0427 + 0.0192 + 0.0050)
## [1] 0.1821061
## (e)
### No, we can see from the previous three answers that the probability of being in excellent health changes when conditioned on having (or not having) health insurance.
Problem 4
0.53 * 0.37 / ( (1 - 0.53) * 0.44 + 0.53 * 0.37 )
## [1] 0.4867213
Problem 5
## (a)
(13 + 15) / (13 + 15 + 59 + 8) * 59 / (27 + 59 + 8)
## [1] 0.1849944
## (b)
(13 + 59) / (13 + 15 + 59 + 8) * (12 + 15) / (12 + 15 + 59 + 8)
## [1] 0.2176932
## (c)
(13 + 59) / (13 + 15 + 59 + 8) * (13 + 15) / (13 + 15 + 59 + 8)
## [1] 0.2233795
## (d)
### Because 27 books out of 94 is not substantially different than 28 books out of 95.
Problem 6
## (a)
(36 / 52 * -2) + (12 / 52 * 1) + (3 / 52 * 3) + (1 / 52 * 23)
## [1] -0.5384615
## (b)
### No, his expected value is negative. In the long run he stands to lose about $0.54 per game.
Problem 7
## (a)
48 + 2 * 3 ### mean
## [1] 54
sqrt(1 + 0.0625 * 3) ### sd
## [1] 1.089725
## (b)
48 - 2 ### mean
## [1] 46
sqrt(1 + 0.0625) ### sd
## [1] 1.030776
## (c)
### Because X - Y can also be thought of as X + Y * -1. In other words, "flipping" Y's distribution does not change its spread.