Professional Documents
Culture Documents
Chapter 2
Chapter 2
2 Basic Probability
2.1 Sample space and events
Probability theory focuses on experiments whose
outcome is not predictable with certainty (random
experiments).
1
Sample space and events
Event: Any subset of the sample space. If the outcome
of the experiment belongs to the event, we say that
the event occurs (otherwise it does not occur).
2
ManipulaHon of events
RelaHons between events
Let A and B be any two events defined over the sample
space S.
3
https://www.youtube.com/watch?v=B1v9OeCTlu0
ManipulaHon of events
Complement: The complement of an event A, denoted
by , is the event consisHng of all the outcomes in
the sample space S which are not elements of A.
5
ManipulaHon of events
If are events, the union of these events,
denoted by , is defined to be the event
consisHng of all outcomes which are in for at least
one n.
Similarly, the intersecHon of the events, denoted by
, is defined to be the event consisHng of those
outcomes which are in all of the events .
6
ManipulaHon of events
ManipulaHng events:
CommutaJve laws:
AssociaJve laws:
DistribuJve laws:
8
ManipulaHon of events
De Morgan’s laws:
(a)
(b)
(a’)
(b’)
Probability measures
2.2 Basic Probability Concepts
Frequency interpretaHon of probability: P(E), the
probability of the event E, is defined as the limiHng
frequency of E when an experiment is performed
repeatedly , i.e. .
Example: Experiment: toss a fair coin. Sample space is
S={Heads, Tails}. If the experiment is repeated many
Hmes, the relaHve frequency of heads will usually be
close to 1/2. So we define P({Heads})=1/2.
Relative frequency or experimental probability
10
Probability measures
AxiomaHc approach to Probability
A probability funcJon (or probability measure) on the
events in a sample space is a funcHon on the events
that saHsfies the following three axioms:
Axiom 1:
Axiom 2:
Axiom 3: For any sequence of mutually exclusive events
(that is, events for which ),
11
Probability measures
ProperHes of probability funcHon
1. .
Proof: Consider the sequence of events ,
Then, as the events are mutually exclusive and
, we have from Axiom 3 that
implying that .
12
Probability measures
2. (finite addiHvity) For any finite sequence of mutually
exclusive events ,
if they are mutually exclusive
Proof: Let . The results follows from
Axiom 3 combined with the fact .
13
Probability measures
Example (ApplicaHon of finite addiHvity): If a die is rolled
and we suppose that all six sides are equally likely to
appear, then we have
The probability of rolling an even number is equal to
14
Probability measures
3.
Proof:
4
Proof:
15
Probability measures
5.
Proof:
I II III
16
Probability measures
6. Boole’s inequality
17
Probability measures
Extension of Property 5. (inclusion-exclusion idenJty)
18
Probability measures
1.
2.
3.
4.
5.
6. Inclusion-exclusion
19
Probability measures
Sample spaces having equally likely outcomes
For many experiments, it is natural to assume that all
outcomes in the sample space are equally likely to
occur. Consider an experiment whose sample space S
is a finite set, say . Then it is ojen
natural to assume that
Then by addiHvity, for any event E,
20
Probability measures
Example: If two dice are rolled, what is the probability
that the sum of the upturned faces will equal 7?
SoluHon: There are 36 outcomes in the sample space, all
outcomes equally likely.
21
Probability measures
Example: If 3 balls are “randomly drawn” from a bowl
containing 6 white and 5 black balls, what is the
probability that one of the selected balls is white and
the other two black?
SoluHon:
22
Probability measures
Example: A commiTee of 5 persons is to be selected
from a group of 6 men and 9 women. If the selecHon
is made randomly, what is the probability that the
commiTee consists of 3 men and 2 women?
23
Probability measures
Example: An urn contains n balls, of which one is special.
If k of these balls are withdrawn one at a Hme, with
each selecHon being equally likely to be any of the
balls that remain at the Hme, what is the probability
that the special ball is chosen?
24
Probability measures
Example: k students can choose (randomly) for
themselves which one of the n tutorial groups they
want to aTend: what is the probability that all tutorial
groups have at least one student? tutorial 3B similar
25
Probability measures
Example: An enHre deck of 52 cards is dealt out to 4
players (so that each player has 13 cards). What is the
probability that:
(a) One of the players (any one of the 4) receives all 13
spades?
(b) Each player receives 1 ace?
26
Probability measures
Example (difficult): A football team consists of 20
offensive and 20 defensive players. The players are to
be paired in groups of 2 for the purpose of
determining roommates. If the pairing is done at
random, what is the probability that there are no
offensive-defensive roommate pairs? What is the
probability that there are 2i offensive-defensive
roommate pairs, i=1,2,...,10?
27
Probability measures
28
CondiHonal probabiliHes
2.3 CondiHonal Probability
Example: Which stocks are cheap? Probability that a
company will outperform the industry index given
that its P/E raHo is the same as industry average?
Let A={P/E average}, B={outperform},
then P(B|A)=0.15/0.45, but P(B)=0.40.
29
CondiHonal probabiliHes
If we know that an event F occurs, and we want to know
the probability of E given this informaHon (since
occurrence of F may influence the occurrence of E).
DefiniHon: The condiHonal probability of E given F is
defined as (we assume P(F )>0):
30
CondiHonal probabiliHes
Example: A student is taking a one-hour-Hme limit makeup
examinaHon. Suppose the probability that the student will
finish the exam in less than x hours is x/2, for all .
Given that the student is sHll working ajer .75 hours,
what is the condiHonal probability that the full hour is
used?
SoluHon: Let E be the event that the student did not finish
the exam within one hour, and F be the event that the
student did not finish within .75 hour.
31
CondiHonal probabiliHes
MulHplicaHon Rule: From the definiHon of condiHonal
probability , we have that
This is a useful formula for compuHng P(EF) when it is
easy to compute the condiHonal probability P(E|F).
For n events, we have the mulHplicaHon rule:
32
CondiHonal probabiliHes
The Law of Total Probability: Suppose are
mutually exclusive events such that .
Then, for any event E,
One-line proof:
33
CondiHonal probabiliHes
Bayes’ formula:
Suppose are mutually exclusive events such
that . Then, for any event E,
34
CondiHonal probabiliHes
Example: Celine is undecided as to whether to take a
French course or a chemistry course. She esHmates
that her probability of receiving an A grade would be
1/2 in a French course, and 2/3 in a chemistry course.
She decides to base her decision on the toss of a fair
coin.
She gets an A in the end: what is the probability that
she took chemistry?
35
CondiHonal probabiliHes
Example: A coin is flipped twice. Assuming that all four
points in the sample space S={(H,H), (H,T), (T,H), (T,T)}
are equally likely, what is the condiHonal probability
that both flips land on Heads, given that:
(a) the first flip lands on Heads?
(b) at least one flip lands on Heads?
36
CondiHonal probabiliHes
Example: Suppose that an urn contains 8 red balls and 4
white balls. We draw 2 balls from the urn without
replacement. We assume that at each draw, each ball
in the urn is equally likely to be chosen. What is the
probability that both balls drawn are red?
37
CondiHonal probabiliHes
Example: 1000 corporate names, at Hme of issuance,
335 were assigned speculaHve-grade raHngs, 665
assigned investment-grade raHngs. What is the
probability that a company defaults within a five-year
period?
38
CondiHonal probabiliHes
Example: A hedge fund manager gathers the following data about
companies:
- The probability that a company becomes an acquisiHon target during
the course of an year is 40%.
- 75% of the companies that became acquisiHon targets had values of
PFCF more than three Hmes the industry average.
- Only 35% of the companies that were not targeted for acquisiHon
had PFCF higher than three Hmes the industry average.
Suppose that a given company has a PFCF higher than three Hmes the
industry average. What is the chance that this company becomes a
target for acquisiHon during the course of the year?
39
CondiHonal probabiliHes
41
CondiHonal probabiliHes
SoluHon for Example (part 2):
P({prone}|{accident})
=P({accident}|{prone})P({prone})/P({accident})
42
CondiHonal probabiliHes
Example: Suppose that we have 3 cards idenHcal in
form except that both sides of the first card are
colored red, both sides of the second colored black,
and one side of the third card is colored red and the
other side is black.
The 3 cards are mixed up in a hat, and 1 card is
randomly selected, and put down on the ground. If
the upper side of the chosen card is colored red, what
is the probability that the other side is colored black?
43
Independence
Independent Events
DefiniHon: E and F are said to be independent if
P(EF)=P(E)P(F)
44
Independence
Example : Suppose that we toss two fair dice (green and
red). Let E be the event that the sum of the two dice is
6 and F be the event that the green die equals 4. Are E
and F independent?
SoluHon:
Hence, they are dependent.
Let E be the event that the sum of the two dice is 7 and
F be the event that the green die equals 4. Then E and
F are independent.
45
Independence
ProposiHon Suppose E is independent of F. We will now
show that E is also independent of .
Proof:
46
Independence
Exam
47
Independence
Example . An infinite sequence of independent trials is
to be performed. Each trial results in a success with
probability p and a failure with probability 1-p. What
is the probability that
a) At least 1 success occurs in the first n trials?
b) Exactly k successes occur in the first n trials?
c) All trials result in successes?
a)
b)
c)
48
CondiHonal probabiliHes
P(.|F) is a Probability FuncHon
The condiHonal probability P(.|F) is a probability
funcHon on the events in the sample space S, and
saHsfies the usual axioms of probability:
(a)
(b)
(c) If are mutually exclusive events, then
Thus, all the formulas we have derived for manipulaHng
probabiliHes apply to condiHonal probabiliHes.
For example, 49
CondiHonal independence
CondiHonal independence:
Events E and F are condiJonally independent given G if,
given that G occurs, the condiHonal probability that E
occurs is unchanged by informaHon about whether or
not F occurs.
More formally, if P(E|FG)=P(E|G) or, equivalently,
P(EF|G)=P(E|G) P(F|G).
50
CondiHonal independence
Example: An insurance company believes that people can be
divided into two classes: those who are accident-prone and
those who are not. Their staHsHcs show that an accident-prone
person will have an accident at some Hme within a fixed 1-year
period with probability .4, whereas this probability decreases
to .2 for a non-accident prone person. 30 percent of the
populaHon is accident-prone. Consider a two-year period.
Assume that the event that a person has an accident in the first
year is condiJonally independent of the event that a person has
an accident in the second year given whether or not the person
is accident prone. What is the condiHonal probability that a
randomly selected person will have an accident in the second
given that the person had an accident in the first year?
51
Independence
52
Independence
53
Independence
54