Professional Documents
Culture Documents
Chapter 7
An Khuong, Le Hong
Trang
Discrete Probability
Discrete Structures for Computing on September 30, 2021
Contents
Introduction
Probability
Randomness
Terminology
Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Huynh Tuong Nguyen, Tran Tuan Anh, Nguyen An Khuong, Le Probability Models
Binomial Model
7.1
Discrete Probability
We would like to thank Dr. Nguyen Van Minh Man from Mahidol Contents
Probability
Randomness
Terminology
Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.2
Discrete Probability
Contents
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Introduction
An Khuong, Le Hong
1 Trang
2 Probability
Randomness
Terminology
3 Probability Rules
Contents
Introduction
4 Conditional Probability
Probability
Dependent and Independent events Randomness
Probability Rules
events
Probability
Geometric Model
Random Variables
Geometric Model
PROBLEMS
Emerging Applications
7.3
Discrete Probability
Course outcomes
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
L.O.2 Represent and model practical problems with discrete structures Contents
Terminology
events
Concept of Conditional
Probability
PROBLEMS
SUMMARY III:
Emerging Applications
7.4
Discrete Probability
Motivations
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
• Gambling Trang
Contents
Introduction
Probability
Terminology
Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
PROBLEMS
Emerging Applications
7.5
Discrete Probability
Learning Objectives of Basic Probability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
probability Randomness
Terminology
3 Explain the concepts of random variable, and determine its Probability Rules
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.6
Discrete Probability
Learning Objectives of Basic Probability
Huynh Tuong Nguyen,
1) In Computing
• Estimate the average computing time of an algorithm
Introduction
Terminology
• Since the customer's businesses are risky, from the past Conditional Probability
Concept of Conditional
customers would get fatal trouble (e.g. fire, accident ...) and, Probability
as a result they will submit a claim in any given year. Random Variables
Probability Models
• We assume that the claim will always be $3000 for each Geometric Model
customer.
Binomial Model
PROBLEMS
Our problem: Compute how much average profit can the SUMMARY III:
7.7
Discrete Probability
Randomness
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Which of these are random phenomena? An Khuong, Le Hong
Trang
Probability
Terminology
In the long run, they are predictable and have relative frequency
Probability Rules
Conditional Probability
(fraction of times that the event occurs over and over and over). Dependent and Independent
events
Does randomness exist in the above problem? What is it? Concept of Conditional
Probability
1 Model the amount of money X that the insurance company Probability Models
Geometric Model
PROBLEMS
2 Find the expectation (Expected Value) of that amount,
SUMMARY III:
denoted by E[X]. Emerging Applications
7.8
Discrete Probability
Terminology
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Contents
Introduction
Probability
Randomness
Terminology
Probability Rules
Concept of Conditional
Random Variables
Binomial Model
Emerging Applications
7.9
Discrete Probability
Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example (1)
Answer: {1, 2, 3, 4, 5, 6}
Contents
Introduction
Example (2)
Probability
Terminology
Concept of Conditional
Probability
Geometric Model
PROBLEMS
The latter one, because they are equally likely outcomes
SUMMARY III:
Emerging Applications
7.10
Discrete Probability
The Law of Large Numbers
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Definition
The Law of Large Numbers (Luªt sè lîn) states that the long-run
relative frequency of repeated independent events gets closer and
Contents
increases. Probability
Randomness
Terminology
Example
Probability Rules
Do you believe that the true relative frequency of Head when you Conditional Probability
Concept of Conditional
Probability
Let's try!
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.11
Discrete Probability
Be Careful!
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example
Contents
I had 8 children, all of them are girls. Thanks to LLN (!?), there Introduction
are high possibility that the next one will be a boy. Probability
(Overpopulation!!!) Randomness
Terminology
Probability Rules
Conditional Probability
Example Dependent and Independent
events
I'm playing Oysters - Crap - Lobster - Fish game, the fish has not Concept of Conditional
Probability
appeared in recent 5 games, it will be more likely to be fish next Random Variables
game. Thus, I bet all my money in fish. (Sorry, you lose!) Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.12
Discrete Probability
Probability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Definition
Introduction
|E| Probability
P[E] = . Randomness
|S| Terminology
Probability Rules
Conditional Probability
events
Probability
Geometric Model
Binomial Model
PROBLEMS
People often say: It has a 20% probability of female students in
SUMMARY III:
class DS1007 if there are 20 women over a total of 100 students. Emerging Applications
7.13
Discrete Probability
Examples (We use both notation P[E] and p(E))
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Example (1) Trang
Answer:
• There are |S| = 2 possible outcomes
Probability
Randomness
Probability Rules
Answer: events
Concept of Conditional
Random Variables
outcomes
Probability Models
Binomial Model
Emerging Applications
7.14
Discrete Probability
Examples
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example (3)
Answer:
Contents
Probability
Terminology
events
Probability
Random Variables
Answer:
Probability Models
SUMMARY III:
Emerging Applications
7.15
Discrete Probability
Summary I: Conceptual terms of probability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Experiment is a specific trial/activity (of scientists, human being) An Khuong, Le Hong
Trang
whose outcomes possess randomness.
S
set or σ -algebra. So Q ⊂ 2 , the power set of S . Introduction
Probability
Randomness
Probability Rules
events
Probability
Random Variables
Remarks:
Probability Models
1 S can be a discrete set or continuous set. [DIY: could you Geometric Model
Binomial Model
Prob(E) equivalently
PROBLEMS
Emerging Applications
from now on.
7.16
Discrete Probability
Event combinations
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Introduction
Randomness
Terminology
Probability Rules
A B A B Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Probability Models
• c 0 Geometric Model
is the set of outcomes in the sample space that are not PROBLEMS
Emerging Applications
7.17
Discrete Probability
Formal Probability (Axioms, by A. Kolmogorov, 1933)
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Axiom A1: A probability is a number between 0 and 1. An Khuong, Le Hong
Trang
0 ≤ P[E] ≤ 1
Contents
The probability of S (all possible outcomes of a trial) must be 1.
Introduction
Probability
P[S] = 1 Randomness
Terminology
Probability Rules
Conditional Probability
Axiom A3: Probabilities of disjoint events A, B ⊂ Ω, and A ∩ B = ∅: Dependent and Independent
events
Concept of Conditional
Probability
Probability Models
Geometric Model
Binomial Model
Axiom A3b: Compliment Rule (obtained from Axioms A2 and A3)
PROBLEMS
7.18
Discrete Probability
Examples
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example
Answer: Introduction
Probability
Let E be the event of getting a heart from 52 deck cards. Randomness
Probability Rules
Conditional Probability
By the compliment rule, the probability of NOT getting a heart
Dependent and Independent
card is events
Concept of Conditional
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.19
Discrete Probability
Extensions of Axiom A3
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Introduction
Randomness
Terminology
Probability Rules
Conditional Probability
events
Probability
Probability Models
Geometric Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.20
Discrete Probability
Examples
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example (1)
50 20 10 3
Short Answer: 100 + 100 − 100 = 5 Contents
Introduction
Probability
Terminology
events
Probability
Random Variables
What is the probability that a blood donor has Type A or Type B? Probability Models
Geometric Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.21
Discrete Probability
Axiom A3. Probabilities of disjoint events
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Introduction
Probability
Terminology
probabilities is a generalization:
Probability Rules
Conditional Probability
∞ ∞
" #
[ X Dependent and Independent
P Ai = P(Ai ). events
Concept of Conditional
Random Variables
NOTE: Here events Ai ⊂ S , and the sample space S can be either Probability Models
Geometric Model
Binomial Model
SUMMARY III:
Emerging Applications
7.22
Discrete Probability
Partitioning sample space
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
A ∪ A0 = Ω, B = B ∩ Ω = B ∩ A ∪ A0 =?.
Observe that and An Khuong, Le Hong
Trang
Contents
Introduction
Probability
Randomness
Terminology
Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Binomial Model
PROBLEMS
Emerging Applications
7.23
Discrete Probability
General addition rule for n events
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Probability
n
Randomness
X
P[B] = P[B ∩ Ei ]. (1) Terminology
i Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.24
Discrete Probability
Homework (DIY)
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example (3)
Probability
Terminology
events
Concept of Conditional
Probability
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.25
Discrete Probability
Dependent events
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Contents
Introduction
Probability
Randomness
Terminology
Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
We next use event dependency to define Independence (ëc lªp ), Random Variables
then Conditional Probability (X¡c su§t câ i·u ki»n), given two Probability Models
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.26
Discrete Probability
Independent events
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Definition
Probability
Randomness
• We can say the outcome of one event does not influence the Terminology
Probability Rules
probability of the other.
Conditional Probability
events
Concept of Conditional
Probability
Probability Models
common, so knowing that one occurred means the other did not.
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.27
Discrete Probability
Conditional Probability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Probability
Terminology
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Geometric Model
Binomial Model
SUMMARY III:
7.28
Discrete Probability
General Multiplication Rule gives Conditional Probability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Introduction
Probability
Terminology
Probability Rules
p(A ∩ B)
p(A | B) = . (3)
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.29
Discrete Probability
Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
What is the probability of drawing a red card and then another red
card without replacement (khæng ho n l¤i )?
Contents
Solution: Let B be the event of drawing the first red card, and Introduction
Randomness
So the event of drawing a red card and then another red card is Probability Rules
Concept of Conditional
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.30
Discrete Probability
Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example (1)
Introduction
Find the probability that he will get a parking ticket.
Probability
Randomness
Terminology
T : get a ticket
Dependent and Independent
events
∩T ) Concept of Conditional
Geometric Model
Binomial Model
Emerging Applications
7.31
Discrete Probability
Bayes's Theorem
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Reminder: Trang
p(A ∩ B)
p(A | B) = .
p(B)
Note also that
Introduction
Probability
Randomness
Terminology
Concept of Conditional
Probability
p(A | B) = . (4)
p(B) Probability Models
Geometric Model
Binomial Model
PROBLEMS
Emerging Applications
7.32
Discrete Probability
Bayes's Theorem II
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Theorem (Bayes's Theorem- full version) An Khuong, Le Hong
Trang
Randomness
Example Terminology
Probability Rules
p(TB) = 0.0005, also know p(+| TB) = 0.999 and p(−| TB) = 0.99. Dependent and Independent
events
Probability
p(T B|+) =
p(+|T B)p(T B) + p(+|T B)p(T B) Probability Models
Geometric Model
= = 0.0476
0.999 × 0.0005 + (1 − 0.99) × (1 − 0.0005) PROBLEMS
SUMMARY III:
Emerging Applications
p(T B|−) = 0.99
7.33
Discrete Probability
Random Variable: Concepts
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
From now on, given a random experiment, we also write Ω for the An Khuong, Le Hong
Trang
sample space (previously denoted S) of that experiment. Then we
perform observation or measurement on elements of Ω.
Definition
Probability
Terminology
• The range of variable X is the set of all observed values Probability Rules
Conditional Probability
events
Concept of Conditional
Probability
Random Variables
For any value b ∈ R, the preimage
Probability Models
Geometric Model
−1
A := X (b) = {w ∈ Ω : X(w) = b} ⊂ Ω Binomial Model
PROBLEMS
Emerging Applications
7.34
Discrete Probability
Random Variable: Visualization of a random variable X
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Map X: Ω R The observed value set
The sample space Ω Range(X) Trang
ARIN
Contents
Introduction
Probability
Randomness
Terminology
Conditional Probability
observing certain students of HCMUT, to get a sample space Ω of Dependent and Independent
Concept of Conditional
Random Variables
to make a random variable fan of
Probability Models
Binomial Model
PROBLEMS
Here specifically X(w) = b means b is the observed value at w.
{X = b} is A := X −1 (b), the violet square...
SUMMARY III:
Then event Emerging Applications
7.35
Discrete Probability
Random Variable: the probability density function
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Now fix another singer with name ARIN, we then view the event An Khuong, Le Hong
Trang
Contents
Definition
Introduction
|A|
P[X = x] := Prob(A) =
Conditional Probability
|Ω| events
Concept of Conditional
Probability
Geometric Model
PROBLEMS
Emerging Applications
7.36
Discrete Probability
Random Variable: Example revisited with calculation
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Randomness
−1
A := X (`ARIN') = {w ∈ Ω : X(w) = `ARIN'} ⊂ Ω Terminology
Probability Rules
Conditional Probability
has cardinality (i.e. the number of students) 1500, and
Dependent and Independent
events
= = 1/20.
|Ω| 30000 Random Variables
Probability Models
Geometric Model
SUMMARY III:
Emerging Applications
7.37
Discrete Probability
Distinguish random variables and observed values
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Notation is used to distinguish between a random variable and the Trang
Terminology
Probability Rules
events
Concept of Conditional
Random Variables
x = 1.7 meter in Public Health,
Probability Models
Binomial Model
0
x = ‘f atal accident in Medical insurance...
PROBLEMS
SUMMARY III:
Emerging Applications
7.38
Discrete Probability
Discrete random variable and Expected Value
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Definition (Discrete random variable - bi¸n ng¨u nhi¶n ríi r¤c) Trang
In finite set case, |SX | < |N|, we usually write set of values
Introduction
Probability
Terminology
Conditional Probability
Concept of Conditional
Probability
Random Variables
Geometric Model
Binomial Model
P
E[X] = x∈SX x · p(X = x) PROBLEMS
SUMMARY III:
where p(X = x) := P[X = x] is the density (mass) at x. Emerging Applications
7.39
Discrete Probability
The probability distribution table of a discrete variable
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
The finiteSX = {x1 , x2 , x3 , · · · , xn } helps us to compute the
probability distribution table of X , structured by
X x1 ··· xn−1 xn
pk := P[X = xk ] p1 ··· pn−1 pn .
Contents
Of course X Introduction
pk ≥ 0 and pk = 1. Probability
Randomness
xk ∈SX Terminology
Conditional Probability
−1 events
Random Variables
−1
and C := X (c) is the yellow oval, with |C| = 7500 students, Probability Models
Geometric Model
SUMMARY III:
Emerging Applications
7.40
Discrete Probability
X x1 = ARIN x2 = b x3 = c
1 7 1
pi = P[X = xi ] p1 = p2 = p3 =
20 10 4 Contents
Introduction
Terminology
Probability Rules
ARIN
Conditional Probability
events
Concept of Conditional
Probability
b
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.41
Discrete Probability
Expectation (Expected Value) to Variability
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Generally, assume that random variable X is discrete, with the An Khuong, Le Hong
Trang
X
µ = E[X] = xk p k .
Contents
xk ∈SX
Introduction
Probability
Randomness
Definition
Terminology
The variability of the random variable X is expressed via two Probability Rules
events
• Variance of X is
Concept of Conditional
Probability
Random Variables
X
V[X] = σ 2 := E[(X − µ)2 ] = [xk − µ]2 pk . Probability Models
Geometric Model
p PROBLEMS
Emerging Applications
7.42
Discrete Probability
Expected Value for Central Tendency of X
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Example: An insurance company Lif eInsu charges $50 a year. Trang
1000 Randomness
Terminology
Conditional Probability
events
1 2 997 Probability
Geometric Model
pi = P[X = xi ] = P[M = mi ],
Besides, where m1 = 10, 000, PROBLEMS
Emerging Applications
7.43
Discrete Probability
Can company make a profit?
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
• X is discrete since customer's injury level has three values
(outcomes) Death, Disability and Good (nothing happen).
Introduction
1 2 997 Probability
Probability Rules
pi = P[M = mi ] p1 = p2 = p3 = Probability
Probability Models
Emerging Applications
7.44
Discrete Probability
Variance: capture the Spreading, Risk or Variability
Huynh Tuong Nguyen,
• Of course, the expected value $20 will not happen in reality Tran Tuan Anh, Nguyen
An Khuong, Le Hong
• Variance (ph÷ìng
sai )
(x − E[X])2 · p(X = x)
P
V[X] =
X
V[X] = (m − E[M ])2 · p(M = m) = V[M ] Contents
Introduction
Probability
√ events
Probability
Random Variables
Probability Models
Binomial Model
The company expects to pay out $20, and make $30. However, PROBLEMS
the standard deviation of $386.78 indicates that it's no sure thing. SUMMARY III:
Emerging Applications
That's pretty big spread (and risk) for an average profit of $30.
7.45
Discrete Probability
Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Example
Introduction
Randomness
Terminology
events
Concept of Conditional
Random Variables
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.46
Discrete Probability
SUMMARY II
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Probability
Terminology
2
5 Variance V[X] = σ of X , and the Standard deviation σ. Probability Rules
events
Concept of Conditional
The last section is spent for Probability Models, which play an Probability
Geometric Model
See SUMMARY III of emerging applications at the end for more. SUMMARY III:
Emerging Applications
7.47
Discrete Probability
Bernoulli Trials
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Bernoulli variable or trial describes a random variable B Trang
that can take only two possible values, i.e. SB = {0, 1}.
Its probability density function is given by probability of suc-
cess P(B = 1) = p, and
Probability
Randomness
Terminology
Conditional Probability
Some people madly drink Coca-Cola, hoping to find a ticket to see Dependent and Independent
Big Bang. Let's call tearing a bottle's label trial (ph²p thû ): events
Concept of Conditional
Probability
• The probability of success, p, is the same on every trial, say Probability Models
Geometric Model
0.06 So Binomial Model
PROBLEMS
Emerging Applications
7.48
Discrete Probability
Geometric Model (Mæ h¼nh h¼nh håc)
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Contents
Definition (Geometric probability model: Geom(p))
Introduction
Terminology
Probability Rules
1 events
Expected value: µ= p Concept of Conditional
q Probability
q
Standard deviation: σ= p2 Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.49
Discrete Probability
Geometric Model: Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Example
An Khuong, Le Hong
Trang
Contents
Solution
Introduction
Terminology
1
E(X) = 0.06 ≈ 16.7 Probability Rules
Conditional Probability
events
P (X ≤ 4) = P (X = 1) + P (X = 2) + P (X = 3) + P (X = 4) Concept of Conditional
Probability
2
= (0.06) + (0.94)(0.06) + (0.94) (0.06) Random Variables
Geometric Model
PROBLEMS
Emerging Applications
About 22% of time we'll find one within the first 4 bottles. 7.50
Discrete Probability
Binomial Model (Mæ h¼nh nhà thùc)
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Contents
Introduction
Definition (Binomial probability model: Binom(n, p))
Probability
Terminology
Probability
x Random Variables
Probability Models
Expected value: µ = np
√ Geometric Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.51
Discrete Probability
Binomial Model: Example
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Example
An Khuong, Le Hong
Trang
Suppose you buy 20 Coca-Cola bottles. What are the mean and
standard deviation of the number of winning bottles among them?
What is the probability that there are 2 or 3 tickets?
Solution
Contents
E(X) = np = 20(0.06)
p = 1.2
Randomness
√ Terminology
Conditional Probability
events
20 20 Concept of Conditional
2 3 Random Variables
Geometric Model
Binomial Model
tickets, with a sd of 1.06. About 31% of the time we'll find 2 or 3 SUMMARY III:
7.52
Discrete Probability
LECTURE 7's PROBLEMS
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Probability
Randomness
Conditional Probability
events
Probability
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.53
Discrete Probability
GROUP A: Experiment and sample space
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
We consider an experiment in information transmission in banking Trang
sector.
Probability
Terminology
Probability Rules
* This is a finite sample space containing 265 possible sequences Conditional Probability
of 5 letters, due to the multiplication rule in Equation ??. Dependent and Independent
events
* A sample point (sample unit or element) is any such sequence Concept of Conditional
Probability
Probability Models
Quiz: Let E be the event that all the 5 letters in the se-
Geometric Model
Binomial Model
SUMMARY III:
Emerging Applications
7.54
Discrete Probability
GROUP B: Compute probability of an event
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
We knew
Rule 1: P(A) + P(Ac ) = 1 or P(Ac ) = 1 − P(A)
Rule 2: If events A and B are mutually exclusive, then
Introduction
Probability
Terminology
events
Probability
Random Variables
Each has its special purpose that must be applied properly the Probability Models
Geometric Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.55
Discrete Probability
GROUP C: Independent events
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Probability
Terminology
Since these departments come from the same production process Probability Rules
events
Probability
5
is p . Random Variables
Probability Models
Geometric Model
What is the probability that one department is defective and Binomial Model
SUMMARY III:
Emerging Applications
7.56
Discrete Probability
Independent events - HINTS
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
What is the probability that one department is defective and
all the other four are non-defective?
Introduction
Probability
Terminology
Probability Rules
Concept of Conditional
Probability
Probability Models
Binomial Model
SUMMARY III:
Emerging Applications
7.57
Discrete Probability
GROUP D: Probability Models in Production Industry
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
An Khuong, Le Hong
Trang
Randomness
Conditional Probability
QUESTION events
Concept of Conditional
Probability
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.58
Discrete Probability
Determine the probability distribution
Huynh Tuong Nguyen,
Tran Tuan Anh, Nguyen
Let y denote a wafer in which a large particle is present & An Khuong, Le Hong
Trang
let n denote a wafer in which it is absent.
Probability
Terminology
events
Probability
Random Variables
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
1 Artificial intelligence
Randomness
Probability Rules
Conditional Probability
DISCLAIMER: this summary collects views of many generations of Dependent and Independent
Concept of Conditional
Random Variables
Probability Models
Geometric Model
Binomial Model
PROBLEMS
SUMMARY III:
Emerging Applications
7.60