3.2.a
1 - Z < -1.13
## [1] 0.8708

3.2.b
## [1] 0.5714

3.2.c
## [1] 0.9998

3.2.d
## [1] 0.617

3.4
a. 

Men: \(N(\mu = 4313,\sigma = 583)\)
Women: \(N(\mu = 5261,\sigma = 807)\)

b. 

\(\sf{Z_{Leo}}\) =

(4948 - 4313) / 583 
## [1] 1.089194

\(\sf{Z_{Mary}}\) =

(5513 - 5261) / 807 
## [1] 0.3122677
Leo scored 1.09 SD above the mean on the Men group and Mary scored 0.31 SD above
the mean on the women group
c.
The lesser Z score a preson gets, faster he is. Leo's Z score is above 1.09 SD 
from mean while   Mary's score is 0.31 SD above mean. So Mary performed better 
than Leo comparing with their group.
d.
1 - .8621
## [1] 0.1379
e.
1 - .6217
## [1] 0.3783
f
Answer to part (b) would not change as Z-scores can be calculated for 
distributions that are not normal. However, we could not answer parts (c)-(e) 
since we cannot use the normal probability table to calculate probabilities and 
percentiles without a normal model.
3.17
a. 17/25 -> 68% of the data are within 1 SD of the mean, 24/25 -> 96% of the 
data are within 2 SD and 100% are within 3 SD of the mean.
b. The distribution is unimodal and symmetric. The superimposed normal curve 
seems to approximate the distribution pretty well. The points on the normal 
probability plot also seem to follow a straight line. There are possible 
outliers on the lower and higer end that are apparent in both graphs, but it is 
not too extreme. We can say that the distribution is nearly normal.
3.22
#a.
(1 - 0.02)^9 * 0.02
## [1] 0.01667496
#b.
(1 - 0.02)^100
## [1] 0.1326196
#c.
#average
1 / .02
## [1] 50
#SD
sqrt((1 - 0.02) / 0.02^2)
## [1] 49.49747
#d.
#average
1 / .05
## [1] 20
#SD
sqrt((1 - 0.05) / 0.05^2)
## [1] 19.49359
e.
When p is smaller, the event is rarer, meaning the expected number of trials 
before a success (finding a defective transistor) and the standard deviation of 
the waiting time are higher.
3.38
a. C(3,2) * (0.51)^2 * (1 - 0.51) = 0.3823
b. GBB, BGB, BBG
P(GBB) = (1 - 0.51) * 0.51 * 0.51 = 0.1274
P(BGB) = 0.51 * (1 - 0.51) * 0.51 = 0.1274
P(BBG) = 0.51 * 0.51 * (1 - 0.51) = 0.1274
Total probability = P(GBB) + P(BGB) + P(BBG) = 0.3823 = solution of (a)
Possible ways 3 boys are born out of 8 kids will be C(8, 3) = 56.
It would be tedious to find the probability of 56 cases individually and add.
With binomial model, it's just an application of formula
 => C(8, 3) * 0.51^3 * (1 - 0.51)^5 = 0.21
3.42
a. C(9, 2) * (0.15)^3 * (1 - 0.15)^7
36 * (0.15)^3 * (1 - 0.15)^7
## [1] 0.03895012
b. Since the serves are independent, probability of successful 10th serve = 15%
c. In (a) since we are using negative binomial model, we are considering the 
probability of two successful serves in the first 9 attempts. But in (b) we are 
concerned about the last serve only.
This is making the difference.