Ans: np.
Ans: sqrt(np(1 - p))
Ans: 10C3 = 10! / (3! (10-3)! = (10*9*8) / (3*2*1) = 5*3*8 = 120.
Ans: See the 2/24 Notes.
Ans: That S / n will get closer and closer to E(S)/n with high probability as n gets large.
Ans: Bernoulli in Switzerlans.
Ans: That even if S/n is not very close to E(S)/n, if enough extra outcomes are obtained, they will swamp the outcomes previously obtained, so S/n will then be close to E(S)/n, with high probability.
Ans: That even if x is not normally distributed, S will be approximately normally distributed if n is large.
Ans: DeMoivre from France.
Ans: Lyapunov, from Russia.
By the CLT, the sum S of independent random variables is approximately normally distributed, even if the original random variables are not. Therefore, if z = (S - E(S)) / σS is standard normal and a 95% confidence interval for z is [-2, 2]. (A more accurate confidence interval is [-1.96, 1.96].)
Ans: n = 1000, S = 540, p^ = S / n = SE(S) = sqrt(1000 * p^ * (1-p^)) = sqrt(1000 * 0.54 * (1-0.54)) = 15.76. Then the confidence interval for the true value of p is obtained by solving for p in the following:
Ans: SES = √np(1-p) = √25(0.5)(1-0.5) = 2.5. Then z1 = (S - np) / SES = (12.5 - 25(0.5)) / 2.5 = 0, z2 = (S - np) / SES = (16.5 - 25(0.5)) / 2.5 = 1.6; the area under the normal curve for the bin [0,1.6] is 0.9452 - 0.5000 - 0.4452 = 44.5%.
Ans: SES = √np(1-p) = √100(0.5)(1-0.5) = 5. Then z1 = (S - np) / SES = (59.5 - 100(0.5)) / 5 = 1.9, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9, 1.9, z2 = (S - np) / SES = (75.5 - 100(0.5)) / 5 = 5.1; the area under the normal curve for the bin [1.9,5.1] is 1 - 0.9713 = 0.0287
Ans: SES = √np(1-p) = √60(0.5)(1-0.5) = 3.87. Then z1 = (S - np) / SES = (29.5 - 60(0.5)) / 3.87 = -0.129, z2 = (S - np) / SES = (30.5 - 60(0.5)) / 3.87 = 0.129; the area under the normal curve for the bin [-0.129, 0.129] is 0.5517 - 0.4880 = 0.0637 = 6%
Here are the steps to perform the test of hypothesis: