Module 2 - Probability Concepts and Applications
Module 2 - Probability Concepts and Applications
Rule 2:
• The sum of the simple probabilities for all possible
outcomes of an activity must equal 1.
Types of Probability (1 of
3)
• Relative Frequency Approach
• Probabilities are based on empirical data
0 40 0.20(= 40÷200)
1 80 0.40(= 80÷200)
2 50 0.25(= 50÷200)
3 20 0.10(= 20÷200)
4 10 0.05(= 10÷200)
= P(A ∩ B)
= P(AB)
Unions and Intersections of Events (2 of
2)
• Union – the set of all outcomes that are contained in
either of two events
– Probability notation
= 16/52
Venn
FIGURE 2.1 VennDiagrams
FIGURE 2.2 Venn Diagram
Diagram for Events That for Events That Are Not
Are Mutually Mutually Exclusive
Exclusive
Conditional
Probability
• Conditional probability is the probability of
occurrence of one event A, given that another event
B is known to be true or has already occurred.
P( AB)
P(A | B) = P(B)
P(AB) = P(A |
B)P(B)
• Example: Probability of a 7 given a heart has been
drawn 1
P(AB)
P(A | B) = 52 = 113
P(B) 13
= 52
Example: Using the Conditional
Probability Formula
Joint Probability Table Brand 1 Brand 2 Brand 3 Grand Total
Female 0.09 0.06 0.22 0.37
Male 0.25 0.17 0.21 0.63
Grand Total 0.34 0.23 0.43 1
•
– Note:
P(B) = 0.30
2. The probability of two green balls drawn is:
P(Ai ) P(B|
P(Ai | B)
P(A ) P(B| A ) Ai ) 2 ) P(B| A2 ) ... P(An )
P(A
1 1
P(B| An )
Bayes' Theorem Examples (1of
4)
Example 1:
• Three machines A, B and C produce
respectively 50%, 30% and 20% of the total
number of items of a factory. The percentages
of defective output of these machines are
3%, 4% and 5%. If an item is selected at
random, find the probability that the item is
defective.
Bayes' Theorem Examples (2of
4)
Solution:
•Let X be the event that an item is defective.
Therefore;
D
Bayes' Theorem Examples (3of
4)
• Example 2:
• Consider the factory in the preceding example. Suppose
an item is selected at random and is found to be
defective. Find the probability that the item was produced
by machine A; that is, find P(A|X).
• Solution:
By Bayes‟ theorem,
P( A)P( X |
P( A | X )
P( A)P( X | A) A)
P(B)P( X | B) P(C)P( X |
C)
Bayes' Theorem Examples (4of
4)
• P(A|X) = . P(A) P(X|A)
• . P(A) P(X|A) + P(B) P(X|B) + P(C) P(X|C)
=. (0.50)(0.03) .
• (0.50)(0.03) + (0.30)(0.04) + (0.20)(0.05) 0.037
=. (0.50)(0.03) .
• (0.50)(0.03) + (0.30)(0.04) + (0.20)(0.05) 0.037
• =
• 0.015
• 0.037
=
0.405
Bayes' Theorem Examples (4of
4)
• Example 3:
• Three girls Aileen, Barbara, and Cathy pack
biscuits in a factory. From the batch allotted to
them Aileen packs 55%, Barbara 30% and
Cathy 15%. The probability that Aileen breaks
some biscuits in a packet is 0.7 and the
respective probabilities for Barbara and Cathy
are 0.2 and 0.1. What is the probability that a
packet with broken biscuits found by the
checker was broken by Aileen?
Bayes' Theorem Examples (4of
4)
Solution:
• Let A be the event „the packet was packed by
Aileen‟,
• B the event „the packet was packed by
Barbara‟,
• C the event „the packet was packed by
Cathy‟,
• D the event „the packet contains broken
biscuits‟.
Bayes' Theorem Examples (4of
4) We are given:
• P(A) = 0.55; P(B) = 0.30; P(C)
= 0.15; and
• P(D|A) = 0.70; P(D|B) = 0.20; P(D|C) =
0.10.
• We require P(A|D).
• So we use Bayes‟ theorem to reverse the conditions;
P(D | A) (0.70)(0.55)
P(A | D) = = 0.837
P(A)P(D) 0.46
P(D) is the „total probability‟ of D, i.e. the probability that a packet contains
broken biscuits.
P(D|A) = 0.70
P(D|A) ∙ P(A) = (0.70)(0.55)
P( |A) = 0.30
P(A) = 0.55
P(D|B) = 0.20
P(B) = 0.30 P(D|B) ∙ P(B) = (0.20)(0.30)
P( |B) = 0.80
Discrete Continuous
Probability Probability
Distributions Distributions
Binomial Normal
Poisson Uniform
Hypergeometric Exponential
Continuous Probability
Distributions
•A continuous random variable is a variable that can
assume any value on a continuum (can assume an
uncountable number of values)
• thickness of an item
• time required to complete a task
• temperature of a solution
• height
0.5
0.5
P( X )
1.0
Using the Standard Normal Table (1
of 4)
Step 1
• Convert the normal distribution into a standard normal
distribution
– Mean of 0 and a standard deviation of 1
– The new standard random variable is Z
X
Z=
where
X = value of the random variable we want to measure
μ = mean of the distribution
σ = standard deviation of the distribution
Z = number of standard deviations from X to the mean, μ
Using the Standard Normal Table (2
of 4)
• Example 1:
• For μ = 100, σ = 15, find the probability that X is less than
130
X 130
Z= =
15
100
30
= 15 = 2 std dev
For Z = 2.00
P(X < 130) = P(Z < 2.00) = 0.97725
P(X > 130) = 1 − P(X ≤ 130) = 1 − P(Z
≤ 2)
= 1 − 0.97725 = 0.02275
Standard Normal
TABLE Distribution
2.10 (partial) Standardized Normal Distribution Function
0.5 .69146 .69497 .69847 .70194 .70540 .70884 .71226 .71566 .71904 .72240
0.6 .72575 .72907 .73237 .73536 .73891 .74215 .74537 .74857 .75175 .75490
0.7 .75804 .76115 .76424 .76730 .77035 .77337 .77637 .77935 .78230 .78524
0.8 .78814 .79103 .79389 .79673 .79955 .80234 .80511 .80785 .81057 .81327
0.9 .81594 .81859 .82121 .82381 .82639 .82894 .83147 .83398 .83646 .83891
1.0 .84134 .84375 .84614 .84849 .85083 .85314 .85543 .85769 .85993 .86214
1.1 .86433 .86650 .86864 .87076 .87286 .87493 .87698 .87900 .88100 .88298
1.2 .88493 .88686 .88877 .89065 .89251 .89435 .89617 .89796 .89973 .90147
1.3 .90320 .90490 .90658 .90824 .90988 .91149 .91309 .91466 .91621 .91774
1.4 .91924 .92073 .92220 .92364 .92507 .92647 .92785 .92922 .93056 .93189
1.5 .93319 .93448 .93574 .93699 .93822 .93943 .94062 .94179 .94295 .94408
Finding Normal Probability (1 of
6)
Example 2:
• Let X represent the time it takes (in seconds) to download
an image file from the internet.
• Suppose X is normal with mean 8.0 and
standard deviation 5.0
• Find P(X < 8.6)
X
8.0
8.6
Finding Normal Probability (2 of
6)
Example 2:
Suppose X is normal with mean 8.0 and standard
deviation
5.0. Find P(X < 8.6).
Xμ 8.6 8.0
Z 0.12
σ 5.0 μ=0
σ=1
μ=8
σ = 10
8 X 0 0.12 Z
8.6
P(Z < 0.12)
P(X < 8.6)
Finding Normal Probability (3 of
6)
Z
0
0.12
Finding Normal Probability (6 of
6)
f(X)
P(a ≤ X ≤
b)
(Note that the probability
of any individual value
is zero)
a b
Finding Normal
Probability
Procedure
To find P(a < X < b) when
X is distributed normally:
Calculate Z-values:
Xμ 88
Z 0
8 8.6 X
σ 5
0 0.12 Z
.2000
? 8.0 X
? 0 Z
Given Normal
Probability, Find the
X Value
• First, find the (2 of 3)
Z value corresponds to the known
probability using the table.
X μ Zσ
8.0
(0.84)5.0
3.80
So 20% of the download times from the distribution with mean 8.0
and standard deviation 5.0 are less than 3.80 seconds.
The Empirical Rule (1 of
2)
• For a normally distributed random variable with
mean μ and standard deviation σ
• Approximately 68% of values will be within ±1σ of the
mean
• Approximately 95% of values will be within ±2σ of the
mean
• Almost all (99.7%) of values will be within ±3σ of the
mean
The Empirical Rule (2 of 2)
FIGURE 2.13 Approximate Probabilities from the Empirical
Rule
END OF
SESSION
Questions???