In: Statistics and Probability
A sociology class contains 10 Bernie fans and 8 Hilary fans. What is the probability of choosing 5 at random and having 2 Hilary fans?
B.How big of sample is need to estimate the mean time with a 95% confidence interval and a maximum error of 1? The time has a variance equal to 20.
C, The probability that a student likes statistics is .1. What is the probability that 5 or less students like stats in a class of 16?
(A) P(Event) = Number of favourable outcomes/Total Number of outcomes
Please note nCx = n! / [(n-x)!*x!]
Total fans = 10 + 8 = 18. Therefore Total outcomes = choosing 5 fans out of 15 = 18C5 = 8568
Favourable outcomes: Choosing 2 Hilary fans out of 8 and choosing 3 bernie fans out of 10
= 8C2 * 10C3 = 28 * 120 = 3360
Therefore the required probability = 3360/8568 = 20/51 = 0.3922
____________________________________________________________________________
(B)
Given ME = 1, = 20, = 0.05
The Zcritical at = 0.05 is 1.96
The ME is given by :
ME = Zcritical * \frac{\sigma}{\sqrt{n}}
Squaring both sides we get: (ME)2 = (Z critical)2 * /n
Therefore n = (Zcritical /ME)2 * = (1.96*/1)2 * 20 = 76.832
Therefore n = 77 (Taking it to the next whole number)
__________________________________________________________________________
Binomial Probability = nCx * (p)x * (q)n-x, where n = number of trials and x is the number of successes.
Here n = 16, p = 0.1, q = 1 – p = 0.9.
To Find P( X 5) = P(5) + P(4) + P(3) + P(2) + P(1) + P(0)
P(X = 5) = 16C5 * (0.1)5 * (0.9)16-5 = 11 = 0.0137
P(X = 4) = 16C4 * (0.1)4 * (0.9)16-4 = 12 = 0.0514
P(X = 3) = 16C3 * (0.1)3 * (0.9)16-3 = 13 = 0.1423
P(X = 2) = 16C2 * (0.1)2 * (0.9)16-2 = 14 = 0.2745
P(X = 1) = 16C1 * (0.1)1 * (0.9)16-1 = 15 = 0.3294
P(X = 0) = 16C0 * (0.1)0 * (0.9)16-0 = 16 = 0.1853
Therefore P( X 5) = 0.0137 + 0.0514 + 0.1423 + 0.2745 + 0.3294 + 0.1853 = 0.9966
__________________________________________________________________