Professional Documents
Culture Documents
Prob Lecture 1
Prob Lecture 1
PROBABILITY (1)
Sample Spaces, Events, Set Theory & Properties of Probability
Probability Basics
Experiment – activity or process with uncertain
outcome
◦ Flip coins, throw dice, pick cards, …
◦ Drive to work tomorrow – Time? Accident?
◦ Operate a (real) call center – Number of calls?
Average customer hold time? Number of cars
arriving at a point?
Probability
of an event is the likelihood that it will
occur when you do the experiment
◦ A real number between 0 and 1
◦ Usually denoted by P(E), P(F), etc.
◦ Interpretation – proportion of time the event occurs in many
independent repetitions (replications) of the experiment
3
Probability Basics (cont’d.)
What is the chance that a given event will occur?
Equally likely to
happen or not to Certain to
Certain not
happen happen
to happen
Chance
50 %
0% 100%
5
Van Diagram
6
Probability Basics (cont’d.)
7
Probability: Example: Gas Stations
Two Gas Stations at a road intersection
Each one has Six gas pumps
What is the number of gas pumps in use at a
particular time of a day for each of the station?
S = 49
8
Probability: Example: Gas Stations
9
Probability: Example: Gas Stations
Compound Event:
A = the event that the number of pumps in use is the
same for both stations
A = {(0, 0), (1, 1), (2, 2), (3, 3), (4, 4), (5, 5), (6, 6)}
11
Non-independence/ Dependence
Suppose a bag with a red ball and a green ball
in it.
The probability of drawing out the red ball is
1/2, same as the chance of drawing a green ball.
However, once you draw the red ball out, the
chance of getting another red ball is 0 and the
chance of a green ball is 1.
12
The “OR” Rule of Probability
The probability that either one of 2
different events will occur is the sum of
their separate probabilities.
13
“NOT” Rule
The chance of an event not happening
is 1 minus the chance of its happening.
14
Combining the Rules
Morecomplicated situations involve combining the
AND and OR rules.
15
Combining the Rules
All possible outcomes of rolling a die twice or rolling two
dice.
Die A Possibilities
Die B Possibilities
S = 36
16
Combining the Rules
Morecomplicated situations involve combining the
AND and OR rules.
18
Getting a sum of 7 on Two Dice
There are 6 different ways of
getting two dice to sum to 7: die A die B prob
In each case, the probability of
1 6 1/36
getting the required number on a
single die is 1/6. 2 5 1/36
To get both numbers (so they
add to 7), the probability uses 3 4 1/36
the AND rule: 1/6 x 1/6 = 1/36.
4 3 1/36
To sum up the 6 possibilities,
use the OR rule: only 1 of the 6 5 2 1/36
events can occur, then
6 1 1/36
Prob = 6/36 = 1/6
total 6/36
19
Male/Female Ratio in a Family of 3 Children
Assume that the probability of a child #1 child #2 child #3
boy = 1/2 and the probability of
a girl = 1/2. B B B
B B G
Enumerate each child separately
for each of the 8 possible B G B
families.
B G G
Each family has a probability of G B B
1/8 of occurring ( 1/2 x 1/2 x
1/2) (AND Rule) G B G
G G B
Chance of 2 boys + 1 girl.
There are 3 families in which G G G
this occurs: BBG, BGB, and
GBB. Thus, the chance is 1/8 +
1/8 + 1/8 = 3/8. (OR Rule).
20
Mutually Exclusive Events
Van Diagram
21
Mutually Exclusive Events:
Example: Gas Stations
Two Gas Stations at an intersection
Each one has Six gas pumps
What is the number of gas pumps in use at a
particular time of a day for each of the station?
S = 49
22
Mutually Exclusive Events:
Example: Gas Stations
A = the event that the number of pumps in use is less
than 2 for each station
A = {(0, 0), (0, 1), (1, 0), (1, 1)}
23
Probability and Set Theory
Let A and B be events in a sample space S.
Union:
The union of A & B (AÈB) is the event consisting
of all outcomes in A or B.
It is the event consisting of all outcomes that are
either in A or in B or in both events
The union includes outcomes for which both A and
B occur as well as outcomes for which exactly one
occurs
This means that, all outcomes in at least one of the
events occurs.
24
Probability and Set Theory
Intersection
The intersection of two events A and B, denoted by
(AÇB) and read “A and B,” is the event consisting
of all outcomes that are in both A and B (common
to both A and B).
25
Probability and Set Theory
For Two Events A and B:
Union: “A or B” = A B
Intersection: “A and B” = A B
Complement: A´ Mutually Exclusive: No outcomes in common
26
Probability and Set Theory
For Two Events A and B:
Union: “A or B” = A B
Intersection: “A and B” = A B
Complement: A´ Mutually Exclusive: No outcomes in common
27
Probability Basics
Some properties of probabilities
If S is the sample space, then P(S) = 1
If Ø is the empty event (empty set), then
P(Ø) = 0
If E’ is the complement of E, then
P(E’) = 1 – P(E)
P(E F) = P(E) + P(F) – P(E F)
If E and F are mutually exclusive
(i.e., E F = Ø), then
P(E F) = P(E) + P(F)
If o1, o2, … are the individual outcomes in the
sample space, then
28
Probability and Set Theory: Axioms
B
A B A
B A B
S S S A S
Venn diagram of A&B AÇB: intersection of A&B AÈB: union of A&B A & B mutually exclusive
30
Probability and Set Theory Example:
Assume the probability of having pizza for lunch is 40%,
the probability of having pizza for dinner is 70%, and the
probability of having pizza for lunch and dinner is 30%.
We can recast this example using:
P(A)= probability of having pizza for lunch =40%
P(B)= probability of having pizza for dinner = 70%
P(A B)=30% (pizza for lunch and dinner)
31
Probability and Set Theory Example:
Assume the probability of having pizza for lunch is 40%,
the probability of having pizza for dinner is 70%, and the
probability of having pizza for lunch and dinner is 30%.
We can recast this example using:
P(A)= probability of having pizza for lunch =40%
P(B)= probability of having pizza for dinner = 70%
P(A B)=30% (pizza for lunch and dinner)
33