Download presentation
Presentation is loading. Please wait.
Published byLorin Skinner Modified over 8 years ago
1
STAT 240 PROBLEM SOLVING SESSION #2
2
Conditional Probability
3
Example: Statistical Independence Suppose that women obtain 54% of all bachelor’s degrees in a particular country and that 20% of all bachelor’s degrees are in engineering. Also, 8% of all bachelor’s degrees go to women majoring in engineering. Are the events “the bachelor’s degree holder is a woman” and “the bachelor’s degree is in engineering” statistically independent?
4
Conditional Probability The question, "Do you smoke?" was asked of 100 people. Results are shown in the table. Yes NoTotal Male194160 Female122840 Total3169100
5
Example : Conditional Probability You are off to soccer, and want to be the Goalkeeper, but that depends who is the Coach today: with Coach Sam the probability of being Goalkeeper is 0,5 with Coach Alex the probability of being Goalkeeper is 0,3 Sam is Coach more often... about 6 out of every 10 games. So, what is the probability you will be a Goalkeeper today?
6
Example : Conditional Probability Let's build a tree diagram. First we show the two possible coaches: Sam Alex
7
Example : Conditional Probability Now, if you get Sam, there is 0,5 probability of being Goalie: Sam Yes No ??
8
Example : Conditional Probability If you get Alex, there is 0.3 probability of being Goalie: Sam Alex No Yes ?? No Yes 0.6 X 0.5 =0.3
9
Example : Conditional Probability If you get Alex, there is 0.3 probability of being Goalie: Sam Alex No Yes 0.4 X 0.3 = 0.12 No Yes 0.6 X 0.5 =0.3
10
Example : Conditional Probability If you get Alex, there is 0.3 probability of being Goalie: Sam Alex No Yes 0.4 X 0.3 = 0.12 No Yes 0.6 X 0.5 =0.3 0.3 + 0.12 = 0.42
11
Example : Conditional Probability
12
Conditioning and Bayes' Theorem A
13
Example : Bayes' Theorem Three jars contain colored balls as described in the table below. One jar is chosen at random and a ball is selected. If the ball is red, what is the probability that it came from the 2 nd jar?
14
Example : Bayes' Theorem We will define the following: J 1 is the event that first jar is chosen J 2 is the event that second jar is chosen J 3 is the event that third jar is chosen R is the event that a red ball is selected
15
Example : Bayes' Theorem Let’s look at the Venn Diagram
16
Example : Bayes' Theorem All of the red balls are in the first, second, and third jar so their set overlaps all three sets of our partition
17
Example : Bayes' Theorem
18
Updating our Venn Diagram with these probabilities:
19
Example : Bayes' Theorem
20
Example: QUIZ QUESTION Consider a medical test for a disease. The test has a probability of 0.95 of currently (or positively) detecting an infected person (sensitivity). It has a probability of 0.90 of identifying a healthy person (specificity). In the population 3% have the disease. a)What is the probability that a person testing positive is actually infected. b)What is the probability that a person testing negative is actually infected.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.