1 Intro To Prob - v2
1 Intro To Prob - v2
1 / 70
Table of contents
1 About This Course
2 Experiment, Outcomes and Events
3 Definitions of Probability
4 Some Applications of Probability
2 / 70
Textbook
3 / 70
Grade
4 / 70
3 parts of this course
• Probability
Theory of the randomness
• Statistics
the art of learning from data
• Random process
Probability with time line
5 / 70
Probability Part
Chapter 1, 2, 3, 4 in textbook (1)
• Elements of probability
• Probability space and event
• Rules to compute probability (addition rule,
conditional probability, multiple rule, total
rule, Bayes’s rule)
• Random variable
• Probability distribution and mathematical
expectation
• Special probability distributions 6 / 70
Statistics Part
Chapter 8, 9 in textbook (1)
• Descriptive statistics
• Inference statistics
• parameter estimation
• hypothesis testing
• Linear regression
• Least square estimators of coefficients
• Inference about the estimators.
7 / 70
Random process Part
Section 12.7 in textbook (1)
Markov chain
• Transition probability
• State classification
• Stationary distribution
8 / 70
PART 1: Probability
9 / 70
What is Probability?
• Probability is the mathematics of chance -
a discipline in mathematics which deals
with phenomena whose outcome is
affected by random events and therefore
they can not be predicted with certainty
• Probability is a numerical measure of the
likelihood that a specific event will occur -
Measure of belief
10 / 70
Example
What is the chance that head occur when tossing
a fair coin?
11 / 70
Example
What is the chance that head occur when tossing
a fair coin?
11 / 70
Example
What is the chance that head occur when tossing
a fair coin?
11 / 70
Session Objectives
• Understand and describe sample spaces
and events for random experiments with
graphs, tables, lists, or tree diagrams
• Interprete and use operations on events
such as unions, intersections, complement
• Interpret and use probabilities of
outcomes to calculate probabilities of
events in finite sample spaces
12 / 70
Table of contents
1 About This Course
2 Experiment, Outcomes and Events
3 Definitions of Probability
4 Some Applications of Probability
13 / 70
Random experiment
• An experiment is any process of trial and
observation
14 / 70
Sample space
15 / 70
Examples
Sample space of experiment
• Toss a coin
Ω = {Head, Tail}
• Roll a dice
Ω = {1, 2, 3, 4, 5, 6}
• Gender of a unborn baby
Ω = {male, female}
16 / 70
Example - Sequential model
Two tosses of a coin
Tree diagram of sample space
H T
H T H T
Sample space
Ω = {(H, H), (H, T ), (T, H), (T, T )}
17 / 70
Examples
• Sample space of rolling 2 dice
Ω = {(x, y) : x, y = 1, . . . , 6}
Finite sample space
• Sample space of measuring the thickness a
connector
Ω = (0, ∞)
Uncountable sample space
18 / 70
Examples
• Sample space of rolling 2 dice
Ω = {(x, y) : x, y = 1, . . . , 6}
Finite sample space
• Sample space of measuring the thickness a
connector
Ω = (0, ∞)
Uncountable sample space
18 / 70
Examples
• Sample space of rolling 2 dice
Ω = {(x, y) : x, y = 1, . . . , 6}
Finite sample space
• Sample space of measuring the thickness a
connector
Ω = (0, ∞)
Uncountable sample space
18 / 70
Examples
• Sample space of rolling 2 dice
Ω = {(x, y) : x, y = 1, . . . , 6}
Finite sample space
• Sample space of measuring the thickness a
connector
Ω = (0, ∞)
Uncountable sample space
18 / 70
Practice
19 / 70
Different sample spaces for the same experiment
20 / 70
• There are 2 cars available for sales
=⇒ i + j ≤ 2
• Arrive at the sample space
Ω1 = {(0, 0), (0, 1), (0, 2), (1, 0), (1, 1), (2, 0)}
21 / 70
• if the store owner is only interested in the
total number of cars sold during next week,
then we could use as a sample space the set
Ω2 = {0, 1, 2}
22 / 70
Events
• An event is the occurrence of either a
prescribed outcome or any one of a number
of possible outcomes of an experiment.
• An event is a subset of sample space
• Event A occurs or appears if the
elementary outcome is an element in A
23 / 70
Events
• An event is the occurrence of either a
prescribed outcome or any one of a number
of possible outcomes of an experiment.
• An event is a subset of sample space
• Event A occurs or appears if the
elementary outcome is an element in A
23 / 70
Example
• Toss a coin 3 times
• Observe the outcome HHT
• The event that there is exactly 1 tail
A = {HHT, HT H, T HH}
has occured
• But the
B = {HHH, T T T }
event has not occured
24 / 70
Examples
• Roll 1 dice. The sample space is
Ω = {1, 2, 3, 4, 5, 6}
• event = having an odd face
A = {1, 3, 5}
27 / 70
Practice - Go home
Bill wants to return hom at Place I from Place A
• Complement
• Intersection
• Mutual exclusive
• Union
30 / 70
Complement
The complement of event A, denoted by Ac or Ā
or A′ is the subset containing all the elements of
Ω that are not in A.
31 / 70
Example
32 / 70
Example
Measurements of the thickness of a plastic con-
nector might be modeled with the sample space
Ω = R+ the set of positive real numbers. Let
A = {x|x ≥ 10}
Then,
A′ = {x|x < 10}
33 / 70
Example
Measurements of the thickness of a plastic con-
nector might be modeled with the sample space
Ω = R+ the set of positive real numbers. Let
B = {x|8 < x < 15}.
be the event that the random selected connector
has thickness between 8 and 15
B ′ =?
34 / 70
Intersection
Intersection of A and B, denoted by AB or A ∩
B, is the subset of all elements that are in both
A and B
AB or A ∩ B : both A and B occurs
35 / 70
Example - thickness of plastic
connector
36 / 70
Mutually exclusive
Two events A and B are called mutually exclu-
sive or disjoint if
A∩B =∅
(A and B have no common element)
38 / 70
Union
Union of A and B, denoted byA ∪ B or A + B.
is the set of all elements that are in A or in B or
in both
A ∪ B= either A or B or both occurs.
39 / 70
Example
40 / 70
Example
Let
• P : the event that an employee selected at
random from an oil drilling company
smokes cigarettes.
• Q: the event that the employee selected
drinks alcoholic beverages.
Then the event P ∪ Q is the set of all employees
who either drink or smoke or do both
41 / 70
Example - thickness of plastic
connector
42 / 70
Example
• A = {1, 3, 5}, B = {1, 2, 3}
• AB = {1, 3} (in both A and B)
• A ∪ B = {1, 2, 3, 5} (in A or in B or in
both)
• A ∩ B ′ = {5} (in A but not in B)
• B ∩ A′ = {2} (in B but not in A)
43 / 70
Practice
Consider the sample space
Ω = {(x, y) : −5 ≤ x ≤ 5, −3 ≤ y ≤ 7}
and the events
1 B = AC
A = {(x, y) ∈ Ω : x = y}, 2 AC ⊂ B
B = {(x, y) ∈ Ω : x2 = y 2, 3 A and C are
C = {(x, y) ∈ Ω : x + y = 0}} disjoint
4 A = {(x, x) : 44 / 70
Properties for Operations
1 A ∪ B = B ∪ A, A ∩ B = B ∩ A
2 A ∪ Ac = Ω, A ∩ Ac = ∅
3 (A ∩ B) ∪ C = (A ∪ C) ∩ (B ∪ C)
4 (A ∪ B) ∩ C = (A ∩ C) ∪ (B ∩ C)
5 If A ⊂ B then B c ⊂ Ac and A ∩ B = A,
A∪B =B
45 / 70
De Morgan’s laws
′ ′ ′
1 (A ∪ B) =A
| ∩
{z B }
no event occurs
| {z }
complement of at least one event occurs
′ ′ ′
2 (A ∩ B) = A
| ∪
{z B }
at least one event not occurs
| {z }
complement of all events occur
46 / 70
Table of contents
1 About This Course
2 Experiment, Outcomes and Events
3 Definitions of Probability
4 Some Applications of Probability
47 / 70
Probability
• A probability is a numerical measure of the
likelihood that a specific event will occur
• Probability of an event, denoted by P(event),
is a number between 0 and 1
• The larger the probability, the more con-
fident we are that the event will occur.
• Probability of an event is equal to 0: we can
almost be sure that this event cannot occur
• Probability of an event is equal to 1: this48 / 70
Definitions of Probability
There are several ways to define probability
1 Axiomatic definition
2 Relative-frequency definition
3 Classical definition- based on counting tech-
nique
49 / 70
Axiom of Probability
P (A), called the probability of event A on a sam-
ple space Ω of a random experiment, is defined
such that the following hold:
1 0 ≤ P (A) ≤ 1
2 P (Ω) = 1 (Normalization)
3 If A1, A2 . . . are mutually exclusive then
P (A1 ∪ A2 ∪ . . . ) = P (A1) + P (A2) + . . .
50 / 70
Example
51 / 70
Solution
Because A and Ac are mutually exclusive and
Ω = A ∪ Ac, we have
1 = P (Ω) = P (A ∪ Ac) = P (A) + P (Ac)
Combining this condition with the assumption
P (A) = P (Ac) + 0.5, we obtain P (A) = 0.75
52 / 70
Practice
When a salesman visits a certain town, he stays
in one of three available hotels, H1, H2, H3. Let
Ai be the event that he stays in Hotel Hi. It is
known that
P (A3)
P (A1 ∪ A2) = 3P (A3) and 3P (A2) = 1 −
2
Find P (Ai) - the probability that he stays in Ho-
tel Hi , for i = 1, 2, 3.
53 / 70
Practice
54 / 70
Probability law on finite sample
space
• Sample space Ω = {s1, s2, . . . , sn}
• Assign each outcome si with a probability
p(si) which satisfies
• 0 ≤ p(si) ≤ 1
• p(s1) + p(s2) + · · · + p(sn) = 1
• Probability of an event
P (A) = p(si)
X
si ∈A
55 / 70
Example
Suppose there is a coin for which the chance to
show head is twice more likely than the chance
to show tail.
• Ω = {H, T } with P (H) = 2P (T )
• Normalization: P (H) + P (T ) = 1
• P ({H}) = 2/3, P ({T }) = 1/3
56 / 70
Example
Suppose there is a coin for which the chance to
show head is twice more likely than the chance
to show tail.
• Ω = {H, T } with P (H) = 2P (T )
• Normalization: P (H) + P (T ) = 1
• P ({H}) = 2/3, P ({T }) = 1/3
56 / 70
Example
Suppose there is a coin for which the chance to
show head is twice more likely than the chance
to show tail.
• Ω = {H, T } with P (H) = 2P (T )
• Normalization: P (H) + P (T ) = 1
• P ({H}) = 2/3, P ({T }) = 1/3
56 / 70
Example
Suppose there is a coin for which the chance to
show head is twice more likely than the chance
to show tail.
• Ω = {H, T } with P (H) = 2P (T )
• Normalization: P (H) + P (T ) = 1
• P ({H}) = 2/3, P ({T }) = 1/3
56 / 70
Example
Consider a sample space Ω = {a, b, c, d} with
p(a) = 0.1, p(b) = 0.5, p(c) = 0.3 and p(d) =
0.1. Let
A = {a, b, d}
then
P (A) = p(a)+p(b)+p(d) = 0.1+0.5+0.1 = 0.7
57 / 70
Equally likely outcomes
Classical Defintion
• If p(x) is the same for all x in Ω then we
say that Ω has equally likely outcomes.
• If Ω has equally likely outcomes then
number of elements in A
P (A) =
number of elements in Ω
58 / 70
Equally likely outcomes
Classical Defintion
• If p(x) is the same for all x in Ω then we
say that Ω has equally likely outcomes.
• If Ω has equally likely outcomes then
number of elements in A
P (A) =
number of elements in Ω
58 / 70
Example
• Toss a fair coin
1
P (H) = P (T ) =
2
• Flip a fair dice
1
P (i) =
6
for i = 1, 2, 3, 4, 5, 6
59 / 70
Example
• Toss a fair coin
1
P (H) = P (T ) =
2
• Flip a fair dice
1
P (i) =
6
for i = 1, 2, 3, 4, 5, 6
59 / 70
Example
Roll a fair dice, event = having an odd face
A = {1, 3, 5}
Then
3 1
P (A) = =
6 2
60 / 70
Example
Roll a fair dice, event = having an odd face
A = {1, 3, 5}
Then
3 1
P (A) = =
6 2
60 / 70
Example
61 / 70
Solution
• Each student is an elementary outcome
which is equally likely chosen
• Sample space
Ω = {I1, . . . , I25, M1, . . . , M10, E1, . . . , E10, C1, . . . , C8}
• Let I be the event that the student chosen is
an industrial engineering major then
I = {I1, . . . , I25}. So
n(I) 25 25
P (I) = = =
n(Ω) 25 + 10 + 10 + 8 53 62 / 70
Practice
63 / 70
Practice
64 / 70
A = emission is from supplier 1, B = emission
conforms to specifications
1 Determine the number of samples in
A′ ∩ B, B ′, and A ∪ B
2 Compute probability of the events in the
previous part 65 / 70
Practice
A large New York store that sells toys is going
to hold a draw and the winner will receive a free
one-week holiday. The store has 6000 tickets for
sale to its customers during a week in the pre-
Christmas season. If the tickets are numbered
from 1 to 6000, what is the probability that the
number on the winning ticket is a multiple of 2
or 5?
66 / 70
Table of contents
1 About This Course
2 Experiment, Outcomes and Events
3 Definitions of Probability
4 Some Applications of Probability
67 / 70
Channel Noise
70 / 70