Professional Documents
Culture Documents
Question and Answers Lec 4 Stats
Question and Answers Lec 4 Stats
Question and Answers Lec 4 Stats
SOLUTIONS
The following are a number of practice problems that may
be helpful for completing the homework, and will likely
be very useful for studying for exams.
1 – 2. When Stéphane plays chess against his favorite computer program, he wins
with probability 0.60, loses with probability 0.10, and 30% of the games result
is a draw. Assume independence.
1. a) Find the probability that Stéphane’s first win happens when he plays his third
game.
b) Find the probability that Stéphane’s fifth win happens when he plays his
eighth game.
c) Find the probability that he wins 5 games, loses 3 games, and draws 4 games.
Multinomial.
12 !
⋅ 0.60 5 ⋅ 0.10 3 ⋅ 0.30 4 ≈ 0.017460.
5 ! ⋅ 3! ⋅ 4 !
Multinomial.
12 !
⋅ 0.60 7 ⋅ 0.10 0 ⋅ 0.30 5 ≈ 0.053875.
7 !⋅ 0 !⋅ 5 !
b) Alex takes a quiz in his Anthropology 100 class. The quiz consists of 10
questions, the first 4 are True-False, the last 6 are multiple choice questions
with 4 possible answers each, only one of which is correct. Alex did not
study for the quiz, so he guesses independently on each question. Find the
probability that he answers exactly 2 questions correctly.
P( X + Y = 2 ) = P( X = 0 ∩ Y = 2 ) + P( X = 1 ∩ Y = 1 ) + P( X = 2 ∩ Y = 0 )
= P( X = 0 ) × P( Y = 2 ) + P( X = 1 ) × P( Y = 1 ) + P( X = 2 ) × P( Y = 0 )
a) Suppose that a widget made by this machine is selected at random and is found to be
defective. What is the probability that the machine had been kicked?
b) A random sample of 20 widgets was examined, 4 widgets out of these 20 are found to
be defective. What is the probability that the machine had been kicked?
Hint: What is the probability of finding 4 defective widgets in a sample of 20, if (given)
the machine has been kicked?
What is the probability of finding 4 defective widgets in a sample of 20, if (given)
the machine has not been kicked?
20
P ( X = 4 | K' ) = (0.05) 4 (0.95) 16 = 0.0133,
4
20
P ( X = 4 | K ) = (0.30 ) 4 (0.70 ) 16 = 0.1304.
4
1
a) … a Binomial distribution with n = 15 and p = .
3
1 10
Binomial, n = 15, p = µ = n p = 5, σ2 = n p (1 – p) = ,
3 3
10
σ= ≈ 1.82574.
3
4 11 5 10 6 9
1 2 1 2 1 2
= 15 C 4 + 15 C 5 + 15 C 6
3 3 3 3 3 3
1
b) … a Geometric distribution with p = .
5
1 1 1− p
Geometric, p = µ= = 5, σ2 = = 20,
5 p p2
σ= 20 ≈ 4.472.
1 2
1 4 1 4 1
P(1 ≤ X ≤ 9) = + +
5 5 5 5 5
3 4 5
4 1 4 1 4 1
+ + +
5 5 5 5 5 5
6 7 8
4 1 4 1 4 1
+ + + ≈ 0.86578.
5 5 5 5 5 5
Poisson, λ = 5 ⇒ µ = λ = 5, σ 2 = λ = 5, σ= 5 ≈ 2.236.
5 3 e −5 5 4 e −5 5 5 e −5 5 6 e −5 5 7 e −5
= + + + +
3! 4! 5! 6! 7!
OR
a) What is the probability that Milhouse goes longer than a month without a smile
from Lisa?
OR
b) What is the probability that Milhouse waits no more than two months to see a
smile from Lisa?
OR
c) What is the probability that Lisa smiles at Milhouse on exactly three days in a
month?
a) If the members of the team are selected at random, what is the probability that
3 men and 2 women will be selected?
12 8
⋅
3 2 220 ⋅ 28
= ≈ 0.3973.
20 15504
5
b) What is the probability that men will constitute a majority in the team?
k −1
364 1
f ( k ) =
1
Geometric, p= . , k = 1, 2, 3, … .
365 365 365
1 1− p
µ= = 365, σ2 = = 364 ⋅ 365 = 132,860.
p p2
400
364
⇒ P ( X > 400 ) = = 0.33374.
365
299
364
⇒ P ( X < 300 ) = P ( X ≤ 299 ) = 1 – P ( X > 299 ) = 1 – = 0.5597.
365
9. Alex makes mistakes in class according to Poisson process with an average rate of 1.2
mistakes per class.
a) What is the probability that Alex makes at least 3 mistakes during one class?
1 class ⇒ λ = 1.2.
λ x ⋅ e −λ
Need P( X ≥ 3 ) = ? Poisson distribution: P( X = x ) =
x!
P( X ≥ 3 ) = 1 – [ P( X = 0 ) + P( X = 1 ) + P( X = 2 ) ]
b) What is the probability that Alex makes exactly 10 mistakes during two weeks of classes
(that is, during 6 classes, since Alex teaches a MWF lecture)?
7.2 10 ⋅ e −7.2
6 classes ⇒ λ = 1.2 ⋅ 6 = 7.2. P ( X = 10 ) = = 0.0770.
10 !
c) What is the probability that Alex has exactly two mistake-free classes in two weeks (that
is, during 6 classes)?
1.2 0 ⋅ e −1.2
Then Y has Binomial distribution, n = 6, p = = 0.3012.
0!
0 3
f ( – 1 ) = P ( no fives ) = 3 C 0 ⋅ ⋅
1 5 125
= .
6 6 216
1 2
f ( 1 ) = P ( one five ) = 3 C 1 ⋅ ⋅
1 5 75
= .
6 6 216
2 1
f ( 2 ) = P ( two fives ) = 3 C 2 ⋅ ⋅
1 5 15
= .
6 6 216
3 0
f ( 3 ) = P ( three fives ) = 3 C 3 ⋅ ⋅
1 5 1
= .
6 6 216
b) Calculate µ and σ 2.
x f(x) x× f(x) x2 × f (x )
125 125 125
–1 −
216 216 216
75 75 75
1
216 216 216
15 30 60
2
216 216 216
1 3 9
3
216 216 216
17 269
−
216 216
17
µ = E(X) = − ≈ – 0.0787037.
216
2
269 17
σ = Var ( X ) = E ( X ) – [ E ( X ) ]
2 2 2
= −− ≈ 1.239176.
216 216