StatIdea Slides 1
StatIdea Slides 1
StatIdea Slides 1
Probability
experiment.
Sample point (or "state of the nature"): An outcome of a
random experiment, w 2 W.
Example 1: Random experiment: Roll a dice. W1 = f1, 2, 3, 4, 5, 6g .
Example 2: Random experiment: Flip a coin. W2 = fH, T g .
Example 3: Random experiment: Roll a dice and áip a coin.
W3 = W1 $ W2 = f(1, H ) , (2, H ) , (3, H ) , (4, H ) , (5, H ) , (6, H ) ,
(1, T ) , (2, T ) , (3, T ) , (4, T ) , (5, T ) , (6, T )g .
Pn = n! " n ! (n # 1) ! (n # 2) ! ... ! 3 ! 2 ! 1,
Here only r objects are taken from the set of n di§erent objects (with
n $ r ) and, thus, two variations may di§er because their objects are
di§erent or because they are arranged in a di§erent order.
0
n! n!
= . the same color
n1 !n2 !...nK ! K
’ nj !
j =1
品
1!3!2!1!2!2! 48
di§erent words.
pick); or
— ←
(we do not care here about the order but only about the objects we
γ ) } =γ .
2.
0! = 1.
Proof: ' (
n n! 1
=1= = =) 0! = 1.
n n!0! 0!
Moreover, Cxxxs , .
txr + + …
"
!n
K
 xj =
j =1
n n n ' ( K
n
  ...  r1, r2 , ..., rK
(x1r1 !x2r2 !...!xKrK ) , with  rj = n.
r 1 =0 r 2 =0 r K =0 j =1
A [ B = fw 2 W jw 2 A, or w 2 B, or both g .
A \ B = fw 2 W jw 2 A and w 2 B g .
AnB = fw 2 W jw 2 A and w 2
/ B g . Therefore, B c = WnB.
and in (?). Λ
i i
J. CaballÈ (UAB - MOVE - BSE) Probability and Statistics IDEA 13 / 48
In the deÖnition of algebra on W we replace the word "countable" in
(3) by "Önite".
Events
lHow mamy subsels
in 2 .
「
The smallest s-algebra on W is f∆, Wg , whereas the largest is the
collection of all subsets of W (the power set, denoted by 2W ).
0
Let the number of elements (or cardinality) of W be #W = n. The
number of elements of the power set 2W is 、
所有⼦集数 ,
←… cnbn
xnoy
”
别
J. CaballÈ (UAB - MOVE - BSE) Probability and Statistics IDEA 15 / 48
Example: We roll a dice and áip a coin. This random experiment has
12 sample points (or outcomes):
De
s(S ) = fW, ∆, f1g, f1, 3, 4g, f2, 3, 4, 5, 6g, f2, 5, 6g, f1, 2, 5, 6g, f3, 4gg.
~~
s(S ) = fW, ∆, f1, 2g, f3, 4g, f5, 6g, f1, 2, 3, 4g, f1, 2, 5, 6g, f3, 4, 5, 6gg.
0
[
µ Bi = Â µ (Bi ) (countable additivity).
i i
algebramake
1
must be the t -
poperty of
2. µ (∆) = 0. sense of
o
0
Therefore, a measure is a signed measure that takes values on R + .
µ
Measume
Space
-
P H2 + P( ∞
) = 1
Probabitey Space
-
/ 0
Proposition. Consider the probability space W, 2W , P , where
W = fw 1 , w 2 , ...g is a discrete sample space, then
P (B ) = Â P fw i g .
w i 2B
P fX 2 B g = Â fX ( x ) ,
x 2B
Notation:
P (A \ B ) = P (A, B ).
2 If A / B, then P (A) 2 P (B ).
←
3 0 2 P (A) 2 1. ⇒ d ←
Aca .
4 P (A [ B ) = P (A) + P (B ) # P (A \ B ).
「
5 ⼀
P (A [ B [ C ) = P (A) + P (B ) + P (C ) # P (A \ B ) # P (A \ C )
D #P (B \ C ) + P (A \ B \ C ).
Prof
.
∞
AVB =
Note that
4 3 2 1 4
P (A [ B ) = = P (A) + P (B ) # P (A \ B ) = + # = .
6 6 6 6 6
P (A \ B )
P (B jA ) = .
P (A)
Eg P (x 51 x )= (x 7) 0
1
> 0
0
.
P :0 .
=
.
7
. .
P (A \ B ) = P (A) ! P (B jA ) .
P (A1 \ A2 \ ... \ An ) =
Proof.
P fX 2 B, Y 2 C g = Â Â fX ,Y (x, y ) =)
x 2B y 2C
P fX = x, Y = y g = fX ,Y (x, y ) ,
P fX 2 B g = Â fX ( x ) =) P fX = x g = fX (x ) ,
x 2B
P fY 2 C g = Â fY ( y ) =) P fY = y g = fY (y ) ,
y 2C
and
  fX ,Y (x, y )
P fX 2 B, Y 2 C g x 2B y 2C
P fY 2 C jX 2 B g = =
P fX 2 B g  fX ( x )
x 2B
=)
P f X 2 B j Y = y g = Â fX j Y ( x j y ) , P f Y 2 C j X = x g = Â fY j X ( y j x )
x 2B y 2C
and
P f X = x j Y = y g = fX j Y ( x j y ) , P f Y = y j X = x g = fY j X ( y j x ) ,
where fX 2 B g is the event where the variable X of the object we pick
takes a value belonging to the set B and fY 2 C g is the event where the
variable Y of the object we pick takes a value belonging to the set C .
J. CaballÈ (UAB - MOVE - BSE) Probability and Statistics IDEA 33 / 48
Example. We extract two cards with "no replacement" from a deck
of poker cards. The probability that the two cards will be aces is
4 3
P (A1 \ A2 ) = P (A1 ) ! P (A2 jA1 ) = ! = 0.0045.
52 51
Assume now that the extractions are made "with replacement", that
is, the cards are introduced back in the deck after each extraction.
The probability that the two cards so extracted will be aces is
4 4
P (A1 \ A2 ) = P (A1 ) ! P (A2 jA1 ) = ! = 0.0059.
52 52
P (A \ B ) = P (A) ! P (B ) .
fd ,
it
and only if
P (B ) = P (B jA ) .
B = W \ B = (A [ Ac ) \ B = (A \ B ) [ (Ac \ B ) .
which is equivalent to
P (Ac \ B ) = P (B ) # P (A \ B ) .
P (Ac \ B ) = P (B ) # P (A \ B ) = P (B ) # P (A) ! P (B )
= P (B ) [1 # P (A)] = P (B ) ! P (Ac ),
Proof. Since
!
[ [
A = A\W = A\ Bi = (A \ Bi )
i i
and the events in the countable collection fA \ B1 , A \ B2 , ...g are
0disjoint, we get
!
→
[
P (A) = P (A \ Bi ) = Â P (A \ Bi ) = Â P (Bi ) ! P (A jBi ) ,
i i i
Assume now that the extractions are made "with replacement", that
is, the cards are introduced back in the deck after each extraction.
The probability that the second card is an ace is, obviously,
P (Bj ) ! P (A jBj )
P (Bj jA ) = , for all j = 1, 2, ...
 P (Bi ) ! P (A jBi )
i
fp, f g " fcandidate has passed a test, candidate has failed a testg .
Prior probabilities: P (g ) = 0.25 so that P (b ) = 0.75.
0.2475
z }| {
0.25 ! 0.99
= = 0.66.
(0.25 ! 0.99) + (0.75 ! 0.17)
| {z }
=0.375
1. Prove that, for any positive integer (or natural number) n larger or equal than
2 and r = 1; 2; :::; n ! 1;
! " ! " ! "
n n!1 n!1
= + :
r r r!1
「
2. Prove that
Xk ! "! " ! "
m n m+n
= :
r=0
r k!r k
Hint: Use the fact that
⼝
3. Suppose that we are concerned with the completion of a highway construction
job, which may be delayed because of a strike. Suppose, furthermore, that
the probabilities are 0:60 that there will be a strike, 0:85 that the job will be
completed on time if there is no strike, and 0:35 that the job will be completed on
time if there is a strike. What is the probability that the job will be completed
D
on time?
scisD
035 =
=! "n
1
4. A strictly positive integer I is selected, with P fI = ng = , n = 1; 2; ::: If
2
I takes the value n, a coin with probability e!n of heads is tossed once.
-
n
(a) Find the probability that the resulting toss is a head. e
(b) Find the conditional probability of fI = 5g given that we know that the
resulting toss has been a tail.
⼝
5. The members of a consulting Örm rent cars from three rental agencies: 60%
from agency 1, 30% from agency 2, and 10% from agency 3. If 9% of the cars
from agency 1 need a tune-up, 20% of the cars from agency 2 need a tune-up,
and 6% of the cars from agency 3 need a tune-up,
(a) what is the probability that a rental car delivered to the Örm will need a
tune-up?
(b) if a rental car delivered to the Örm needs a tune-up, what is the probability
that it came from the rental agency 2?
6. Let us deÖne a generalized combinatorial number as
Q
州
x!1
+
r ) ( re )
…
! " (r ! i)
r i=0
= ; x 1
x x! ,
for any real number r and any natural number x: Moreover, by deÖnition, we
have ! "
r
= 1;
0
for any real number r:
Prove that,
10
C 10 下 30 -
8. Ten individuals are randomly ordered and all possible orderings are equally
likely. Find the probability that two given individuals be contiguous if the 10
individuals are ordered: a) in a row, b) in a circle.
□
9. We have 11 urns, which are numbered from 2 to 12. The composition of the
urns is the following:
⼝
10. There are n balls in a box. Each ball is either black or red and we assume that
the n + 1 di§erent possible compositions of the box are equally likely.
(a) We randomly pick one ball and it turns out to be red. What is the
probability that k out of the n balls in the box were red? N
Assume now that there are 7 balls in the box, n = 7; and that we extract two
balls with no replacement from the box.
(b) What is the probability that both balls will be black?
(c) What is the probability that the Örst extracted ball will be black and the
second red?
11. We have two decks of Spanish cards (with 48 cards where 12 of them are Ögures).
We randomly extract a card from the Örst deck and we insert it in the second
deck. Then, we roll a die. If we get one dot, we randomly extract a card from
the Örst deck; if we get two dots, we randomly extract a card from the second
deck; otherwise, we extract a card from one of the two decks, which is chosen
randomly. Find the probability of extracting a Ögure in this second extraction.
12. The Chicago Bulls and the Golden State Warriors are playing each other in the
NBA (National Basketball Association) Önal playo§s. In this set of games, the
Örst team to have won four games is declared to be the (world) champion.
(a) Assume that the Bulls are slightly better than the Warriors, such that
前 Pr 1
R
B -
-
nk
k
0
0
幽
, 。
⑩ ⼀
, α
「 ⼀
n
and that the outcome of a game a§ects slightly the probability of the outcome
⼯ on the following game so that
⼀ ⼀
n
P fBulls win a game if they have won the previous gameg = 0:7
i but
P fBulls win a game if they have lost the previous gameg = 0:5:
先
(i) What is the probability that the Warriors will win a game if they have lost
the previous game?
(ii) What is the probability that the Bulls will win the playo§s in only four
games?
(iii) What is the probability that the Warriors will win the playo§s in only four
games?
(iv) What is the probability that the Warriors have won the Örst game if we
know that they have lost the second game?
(b) If the two teams were evenly matched, that is,
and the probability of winning a game did not depend upon the outcome of the
previous game, would it be more likely or less likely that the series would end
in just four games than under the conditions speciÖed in (a)?
13. In a group of 20 students of the IDEA program, 12 of them have passed the
Micro exam only, 6 have passed the Macro exam only, and the remaining two
students have passed both the Micro and the Macro exams. We pick randomly
three students from this group.
(a) Compute the probability that all three students have passed the same exam.
(b) If we know that the three students we have picked have passed the same
exam, what is the probability that the three have passed the Micro exam.
⼝14. Consider the events A; B; and C on the probability space (0; F; P ) : Assume
that P (A) = 1=2; P (B) = 1=2; P (C) = 1=2; P (A \ B) = 1=4; P (A \ C) = 1=4;
P (B \ C) = 1=4; and P (A \ B \ C) = 1=4:
(a) Show that A and B are independent, A and C are independent, and B and C
are independent, but A; B, and C are not independent. Note: this is an example
of three events that are pairwise independent without being independent.
(b) Prove that P (A [ B [ C) = 1:
(c) Find P ((A \ B) \ C c ) ; where C c is the complement of the event C: Note
that the event (A \ B) \ C c contains all the sample points belonging to both A
and B but not belonging to C: That is, (A \ B) \ C c = (A \ B) nC:
Consider now the events D; E; and F on the probability space (0; F; P ) :
Assume that P (D) = 0:6; P (E) = 0:8; P (F ) = 0:5; P (D \ E) = 0:48;
P (D \ F ) = 0:3; P (E \ F ) = 0:38; and P (D \ E \ F ) = 0:24:
(d) Are D and E are independent? Are D and F independent? Are E and
F independent? Are D; E, and F independent? Show that P (D \ E \ F ) =
P (D) * P (E) * P (F ): Note: this is an example of three events whose probability
of their intersection is equal to the product of their respective probabilities.
However, they are not independent since they are not all pairwise independent.
(e) Find P ((D \ E) \ F c ) ; where F c is the complement of the event F: Note
that (D \ E) \ F c = (D \ E) nF:
(f ) Find P ((D [ E [ F )c ), where (D [ E [ F )c is the complement of the event
D [ E [ F:
⇔
15. Prove the following generalization of the theorem of total probability:
Theorem of total conditional probability. If A and C are events of
the measurable space (0; F) and fB1 ; B2 ; :::g is a discrete collection of events
that constitutes a partition of the sample space 0, with P (Bi \ C) > 0 for
i = 1; 2; :::, then
X
P (A jC ) = P (Bi jC ) * P (A jBi \ C ) for all A 2 F and C 2 F.
i
16. Consider a group of n individuals and a task that has to be done. Nobody wants
to do this task. The "drawing straws" method is used to select the individual
who is going to do it. Thus, the group leader takes n straws and ensures that
one of them is shorter than the others. The leader then grabs all of the straws
in her Öst, such that all of them appear to be of the same length. The group
leader o§ers the clenched Öst to the group. Each member of the group draws
sequentially a straw from the Öst of the group leader. When an individual draws
-
-0
the shortest straw he must perform the task and the game Önishes. Obviously,
。
if nobody has picked the shortest straw, then this straw is the one left in the
leaderís Öst and, then, the leader has to do the task. Does the order in which
individuals pick the straw a§ect their probability of picking the shortest straw?
Hint: Use the theorem of Exercise 15.
恐
⼼ "
1
⽇