Bbs14ege ch04 Basic Probability
Bbs14ege ch04 Basic Probability
Basic Probability
Objectives
To understand basic probability concepts.
Joint event:
An event described by two or more characteristics.
A = Weekday; B = Weekend;
C = January; D = Spring;
3. subjective probability
based on a combination of an individual’s past experience,
personal opinion, and analysis of a particular situation.
Example of a priori probability
X 31 days in January 31
T 365 days in 2018 365
Example of empirical probability
Find the probability of selecting a male taking statistics from
the population described in the following table:
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Total Number
Of Sample
Space Outcomes.
Summarizing Sample Spaces
Venn Diagram -- M&R Survey Results.
A = Planned to Purchase
A’ = Did not Plan To Purchase
B = Actually Purchased
B’ = Did not Purchase
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Simple Probability: Definition & Computing
Simple Probability refers to the probability of a
simple event.
P(Planned to purchase)
P(Actually purchased)
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Marginal & Joint Probabilities In A
Contingency Table
Event
Event B1 B2 Total
A1 P(A1 and B1) P(A1 and B2) P(A1)
A2 P(A2 and B1) P(A2 and B2) P(A2)
P(Planned or Purchased) =
P(Planned) + P(Purchased) – P(Planned and Purchased) =
250 / 1000 + 300 / 1000 – 200 / 1000 = 350 / 1000
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Computing Conditional Probabilities
A conditional probability is the probability of one
event, given that another event has occurred:
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
P(A | B) P(A)
Actually Purchased TV
Planned To Purchase TV Yes No Total
Yes 200 50 250
No 100 650 750
Total 300 700 1,000
Multiplication Rules For Two Events
The General Multiplication Rule
P(A | B i )P(B i )
P(B i | A)
P(A | B 1 )P(B 1 ) P(A | B 2 )P(B 2 ) P(A | B k )P(B k )
where:
Bi = ith event of k mutually exclusive and collectively
exhaustive events
A = new event that might impact P(Bi)
Bayes’ Theorem Example
A drilling company has estimated a 40% chance of
striking oil for their new well.
A detailed test has been scheduled for more
information. Historically, 60% of successful wells
have had detailed tests, and 20% of unsuccessful
wells have had detailed tests.
Given that this well has been scheduled for a
detailed test, what is the probability that the well
will be successful?
Bayes’ Theorem Example (continued)
P(D | S)P(S)
P(S | D)
P(D | S)P(S) P(D | U)P(U)
(0.6)(0.4)
(0.6)(0.4) (0.2)(0.6)
0.24
0.667
0.24 0.12
Sum = 0.36
Bayes' Theorem | Hate it or Love it, can't ignore it!
k n
Example
If you roll a fair die 3 times then there are 63 =
216 possible outcomes
Counting Rule 2:
If there are k events on the first trial, k events
1 2
on the second trial, … and kn events on the nth
trial, the number of possible outcomes is
(k1)(k2)…(kn)
Example:
You want to go to a park, eat at a restaurant, and
see a movie. There are 3 parks, 4 restaurants, and
6 movie choices. How many different possible
combinations are there?
Answer: (3)(4)(6) = 72 different possibilities
Counting Rule 3:
The number of ways that n items can be
arranged in order is
n! = (n)(n – 1)…(1)
Example:
You have 5 books to put on a bookshelf.
https://www.youtube.com/watch?
v=oT64b5euTfs&ab_channel=MathandScience
Counting Rule 4:
Permutations: The number of ways of arranging X
n!
n Px
(n X)!
Example:
You have 5 books and are going to put 3 on a
nPr
No. of permutations of “n” elements taken “r”
at a time
nPn=n!
n!
n Px
Counting Rule 5:
(n X)!
Combinations: The number of ways of selecting
X objects from n objects, irrespective of order, is
n!
C
n x
X!(n X)!
Counting Rules (continued)
Example:
You have 5 books and are going to select three
Answer:
n! 5! 120
n Cx 10
X!(n X)! 3! (5 3)! (6)(2)
different possibilities
Chapter Summary