(i) Given that a student is female, what is the probability of having a GPA of at least 3.0?

Similar documents
Conditional Probability

What is Probability? Probability. Sample Spaces and Events. Simple Event

Mathematics. ( : Focus on free Education) (Chapter 16) (Probability) (Class XI) Exercise 16.2

STAT 430/510 Probability

Lecture 1 : The Mathematical Theory of Probability

First Digit Tally Marks Final Count

Lecture Lecture 5

SDS 321: Introduction to Probability and Statistics

Deep Learning for Computer Vision

The Geometric Distribution


2. Conditional Probability

(a) Fill in the missing probabilities in the table. (b) Calculate P(F G). (c) Calculate P(E c ). (d) Is this a uniform sample space?

4/17/2012. NE ( ) # of ways an event can happen NS ( ) # of events in the sample space

Independence. P(A) = P(B) = 3 6 = 1 2, and P(C) = 4 6 = 2 3.

The enumeration of all possible outcomes of an experiment is called the sample space, denoted S. E.g.: S={head, tail}

CS4705. Probability Review and Naïve Bayes. Slides from Dragomir Radev

Events A and B are said to be independent if the occurrence of A does not affect the probability of B.

LECTURE NOTES by DR. J.S.V.R. KRISHNA PRASAD

UNIT 5 ~ Probability: What Are the Chances? 1

Quantitative Methods for Decision Making

Lecture Notes 1 Basic Probability. Elements of Probability. Conditional probability. Sequential Calculation of Probability

324 Stat Lecture Notes (1) Probability

Lecture 2: Probability. Readings: Sections Statistical Inference: drawing conclusions about the population based on a sample

Probabilistic models

Statistical methods in recognition. Why is classification a problem?

Chapter 3 : Conditional Probability and Independence

Lecture 3 - Axioms of Probability

Probability Year 9. Terminology

Probability Distributions for Discrete RV

Expected Value. Lecture A Tiefenbruck MWF 9-9:50am Center 212 Lecture B Jones MWF 2-2:50pm Center 214 Lecture C Tiefenbruck MWF 11-11:50am Center 212

3.2 Probability Rules

Conditional Probability

= A. Example 2. Let U = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, A = {4, 6, 7, 9, 10}, and B = {2, 6, 8, 9}. Draw the sets on a Venn diagram.

Chapter 2 PROBABILITY SAMPLE SPACE

Mean, Median and Mode. Lecture 3 - Axioms of Probability. Where do they come from? Graphically. We start with a set of 21 numbers, Sta102 / BME102

Probability Year 10. Terminology

General Info. Grading

CS 361: Probability & Statistics

Outline Conditional Probability The Law of Total Probability and Bayes Theorem Independent Events. Week 4 Classical Probability, Part II

Intermediate Math Circles November 8, 2017 Probability II

MODULE 2 RANDOM VARIABLE AND ITS DISTRIBUTION LECTURES DISTRIBUTION FUNCTION AND ITS PROPERTIES

9/6/2016. Section 5.1 Probability. Equally Likely Model. The Division Rule: P(A)=#(A)/#(S) Some Popular Randomizers.

Introduction Probability. Math 141. Introduction to Probability and Statistics. Albyn Jones

Key Concepts. Key Concepts. Event Relations. Event Relations

Law of Total Probability and Bayes Rule

Business Statistics MBA Pokhara University

CSC Discrete Math I, Spring Discrete Probability

Applied Statistics I

CISC 1100/1400 Structures of Comp. Sci./Discrete Structures Chapter 7 Probability. Outline. Terminology and background. Arthur G.

Conditional Probability and Bayes Theorem (2.4) Independence (2.5)

Probability deals with modeling of random phenomena (phenomena or experiments whose outcomes may vary)

Example. What is the sample space for flipping a fair coin? Rolling a 6-sided die? Find the event E where E = {x x has exactly one head}

Discrete random variables and probability distributions

Chapter 6: Probability The Study of Randomness

STAT 516: Basic Probability and its Applications

Event A: at least one tail observed A:

Probability Pearson Education, Inc. Slide

Math Exam 1 Review. NOTE: For reviews of the other sections on Exam 1, refer to the first page of WIR #1 and #2.

Probability (10A) Young Won Lim 6/12/17

Bayes Rule for probability

Probability: Terminology and Examples Class 2, Jeremy Orloff and Jonathan Bloom

Why should you care?? Intellectual curiosity. Gambling. Mathematically the same as the ESP decision problem we discussed in Week 4.

Sec$on Summary. Assigning Probabilities Probabilities of Complements and Unions of Events Conditional Probability

What is a random variable

PERMUTATIONS, COMBINATIONS AND DISCRETE PROBABILITY

Thus, P(F or L) = P(F) + P(L) - P(F & L) = = 0.553

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Notes for Math 324, Part 12

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

I - Probability. What is Probability? the chance of an event occuring. 1classical probability. 2empirical probability. 3subjective probability

6.2 Introduction to Probability. The Deal. Possible outcomes: STAT1010 Intro to probability. Definitions. Terms: What are the chances of?

Chapter 13, Probability from Applied Finite Mathematics by Rupinder Sekhon was developed by OpenStax College, licensed by Rice University, and is

Homework 4 Solution, due July 23

STA 2023 EXAM-2 Practice Problems. Ven Mudunuru. From Chapters 4, 5, & Partly 6. With SOLUTIONS

Probability. VCE Maths Methods - Unit 2 - Probability

Term Definition Example Random Phenomena

Random Variables. Statistics 110. Summer Copyright c 2006 by Mark E. Irwin

Determining Probabilities. Product Rule for Ordered Pairs/k-Tuples:

Chapter 2. Conditional Probability and Independence. 2.1 Conditional Probability

V. RANDOM VARIABLES, PROBABILITY DISTRIBUTIONS, EXPECTED VALUE

STA 2023 EXAM-2 Practice Problems From Chapters 4, 5, & Partly 6. With SOLUTIONS

Math 243 Section 3.1 Introduction to Probability Lab

TA Qinru Shi: Based on poll result, the first Programming Boot Camp will be: this Sunday 5 Feb, 7-8pm Gates 114.

4. Suppose that we roll two die and let X be equal to the maximum of the two rolls. Find P (X {1, 3, 5}) and draw the PMF for X.

Chapter 2.5 Random Variables and Probability The Modern View (cont.)

If S = {O 1, O 2,, O n }, where O i is the i th elementary outcome, and p i is the probability of the i th elementary outcome, then

CS206 Review Sheet 3 October 24, 2018

Conditional Probability. CS231 Dianna Xu

AP Statistics Ch 6 Probability: The Study of Randomness

NLP: Probability. 1 Basics. Dan Garrette December 27, E : event space (sample space)

Chapter 7: Section 7-1 Probability Theory and Counting Principles

Conditional probability

Chapter 1 Probability Models

Name: Exam 2 Solutions. March 13, 2017

Compound Events. The event E = E c (the complement of E) is the event consisting of those outcomes which are not in E.

Announcements. Topics: To Do:

Statistical Theory 1

EE 178 Lecture Notes 0 Course Introduction. About EE178. About Probability. Course Goals. Course Topics. Lecture Notes EE 178

Outline. 1. Define likelihood 2. Interpretations of likelihoods 3. Likelihood plots 4. Maximum likelihood 5. Likelihood ratio benchmarks

Transcription:

MATH 382 Conditional Probability Dr. Neal, WKU We now shall consider probabilities of events that are restricted within a subset that is smaller than the entire sample space Ω. For example, let Ω be the space of all students, with F being female students, and consider the event G of having a GPA of at least 3.0. Then P(G) represents the probability that a student (from all of Ω ) has a GPA of at least 3.0. But suppose we want to consider just female students. Then we use P(G F) to denote the probability that a female student has a GPA of at least 3.0. This conditional probability can be stated in several ways, such as (i) Given that a student is female, what is the probability of having a GPA of at least 3.0? (ii) What is the probability, among just females, of having a GPA of at least 3.0? We formally define this concept in the following way: Definition. Let D be an event with 0 and let C be another event. The conditional probability of C given D is defined by P(C D) P(C D) / P( D). (The second (given) set is the reduced sample space.) Example 1. Among all students, 60% are female (event F ), 70% have a GPA of at least 3.0 (event G ), and 48% are females with a GPA of at least 3.0. Let M F c be the males. Compute and explain P(G F), P(F G), P(M G), P(G c M), and P(M G c ). Solution. We first show all information on a Block diagram: G G c G G c F 48% 60% F 48% 12% 60% M M 22% 18% 40% 70% 100% 70% 30% 100% P(G F) P(G F) P(F ) 48 0.80 80% of females have a GPA of at least 3.0. 60 P( F G) P(F G) 48 P( M G) 0.6857 and P(M G) 22 0.3143 Among P(G) 70 P(G) 70 just those with a GPA of at least 3.0, 68.57% are female and 31.43% are male. P(G c M) P(Gc M) P(M) P(M G c ) P( M Gc ) P(G c ) 18 0.45 45% of males have a GPA under 3.0. 40 18 30 0. 60 Among those with a GPA under 3.0, 60% are male.

Example 2. Flip a fair coin three times. What is the probability of (a) All Heads given that there is at least one Head? (b) Exactly 2 heads given that the first is a Head? Solution. Let X count the number of Heads. Then consider the sample space of all 8 outcomes, and just look at the reduced sample space. HHH HHT HTH THH HTT THT TTH TTT (a) Given that there is at least one Head, then we are reduced to 7 possibilities. Out of these 7, only 1 has all heads; thus, P(X 3 X 1) 1. Or, because {X 3} {X 1}, 7 we also could compute the value as P(X 3 X 1) P( X 3 X 1) P( X 1) P( X 3 ) P( X 1) 1 / 8 7 / 8 1 7. (b) Let X 1 be the outcome of the first roll. Given that X 1 H, we are reduced to 4 possibilities: HHH HHT HTH HTT. Of these 4 outcomes, 2 of them have exactly 2 Heads. Thus, P(X 2 X 1 H) 2 4. Alternately, {X 2 X 1 H} {HHT, HTH}, so P(X 2 X 1 H) P( X 2 X 1 H) P( X 1 H) 2 / 8 1 / 2 2 4. Multiplication Rule Given events A, B, with P(A) 0 and P(B) 0,we have P(B A) P( A B) P( A) and P(A B) P( A B). P( B) So we can write P(A B) as P(A B) P( A) P(B A) or P(A B) P( B) P( A B) In other words, what is the chance of both A and B happening? First we need A, then we need B given that A has happened: P(A) P(B A). (Or we need B and then we need A given that B has happened: P(B) P(A B). ) Note: When A and B are known to be independent, then P(A B) P( A) P(B). But iwhen there is dependence, then A affects B so that P(B) P(B A). So when we have dependent events, we need P(A B) P( A) P(B A).

P(A 1 A 2 A 3... A n ) More generally, we can write P( A 1 ) P( A 2 A 1 ) P( A 3 A 1 A 2 )... P(A n A 1 A 2... A n 1 ). Example 3. If drawing 5 cards in sequence, what is the probability of drawing a Heart, then a Spade, then a Spade, then a Club, then a Heart if drawing (a) with replacement and reshuffling? (b) without replacement? Solution. (a) With replacement and reshuffling, then each draw is independent and the probability of each suit on each draw is 1/4. Thus, P(H S S C H) P(H) P(S) P(S) P(C) P( H) (1 / 4) 5. (b) Without replacing cards, we have dependent draws, so we now must use the general multiplication rule: To start, there are 52 cards and 13 in each suit. But these numbers reduce by one as each card/suit is drawn. Thus, P(H S S C H) P(H) P(S H) P(S H S) P(C H S S) P( H H S S C) 13 52 13 51 12 50 13 49 12 0. 001 48 Sometimes information is given in terms of conditional probabilities: Example 4. Among WKU students, 40% smoke (event S ) and 65% drink (event D). But among smokers, 80% drink. Find the probabilities of (a) Smoking among just drinkers (b) Not smoking given that one doesn't drink (c) Doing both given that one does one or the other (d) Not doing either given that one doesn't do both. Solution. The information given is P(S) 0. 40, 0.65, and P(D S) 0.80. To complete a Block diagram, we need P(S D) P(S) P(D S) 0.40 0.80 0.32 which is really just taking 80% of the 40% of students who smoke: D D c D D c S 0.4 0.8 0.40 S 0.32 0.08 0.40 S c S c 0.33 0.27 0.60 0.65 1 0.65 0.35 1

Now we can compute the desired conditional probabilities: (a) P(S D) P(S D) P( D) 32 65 0.4923. (b) P(Sc D c ) P( Sc D c ) P(D c 27 ) 35 0.7714 (c) Because S D S D and P(S D) 0. 73, we have P(S D S D) P(S D) P(S D) 32 73 0.438. (d) Now S c D c (S D) c ; thus, P(S c D c (S D) c ) P(Sc D c ) P((S D) c ) 27 68 0.397. Special Cases (i) C and D are disjoint (ii) C is contained in D C D C D Ω Ω P(C D) P(C D) P( ) 0 P(C D) P(C D) P(C) Given D, there is then no chance of C. (iii) D is contained in C Ω P(C D) C D P(C D) 1 Given D, then C happens also. P(C D) P(D C) (iv) C and D are independent P(C D) P( D C) P(C) and P(C) P( D) P(C) P(C) P(C) C and D have no affect on each other.

Example 5. Among the population of senior citizens, 90% need glasses. Among those needing glasses, 75% need bifocals. (a) What percentage of senior citizens need bifocals? (b) If one doesn't need bifocals, what is the probability of not needing glasses? Solution. Let P(G) 0.90 be the probabilty of needing glasses and P(B G) 0.75 be the probabilty of needing bifocals given that one needs glasses. Because B G, we have P(B G) 0.75 P(B G) P(B) P(G) P(G) P(B) 0.90. Hence, P(B G) P( B) 0. 90 0.75 0.675. B B c G 0.675 0.225 0.90 G c 0 0.10 0.10 0.675 0.325 1 Because B G, then G c B c. Thus, P(G c B c ) P(Gc B c ) P(B c ) P(Gc ) P(B c ) 0.10 0. 325 4 13 0.3077. Example 6. Deal 5 cards. What is the probability of having at least 3 Hearts given that you have at least 2 hearts? Solution. Let X denote the number of Hearts. Then {X 3} {X 2}; hence, P(X 3 X 2) P(X 3 X 2) P(X 2) P(X 3) P( X 3) + P( X 4) + P( X 5) P( X 2) 1 P( X 0) P( X 1) C(13, 3)C(39,2) + C(13, 4)C(39,1) + C(13, 5)C(39, 0) C(52, 5) C(52, 5) C(13, 0)C(39,5) + C(13, 1)C(39, 4) C(52, 5) 241, 098 953, 940 0.25274.

Example 7. Suppose 60% of students are female. Among the females, the probability of having an automobile is 0.65. Among the males, the probability of not having an automobile is 0.25. Among all, 40% of the autos are trucks. If one has a truck, there is an 80% chance of being male. (a) Among all students, what is the probability of having an automobile? (b) If one has an auto, then what is the probability of being male? (c) If one does not have an auto, then what is the probability of being female? (d) What percentage of the students have a truck? (e) If one does not have a truck, what is the probability that one does not have an automobile? (f) Overall, what percentage are male and have a truck? (g) Is having a truck independent of sex? Explain. Solution. We first use the information given to complete a block diagram: Let F be the females, M be the males, A be those having an auto, and T be those having a truck. Then P(F A) P(F ) P( A F ) 0.60 0.65 0.39. P(M A c ) P(M) P( A c M) 0.40 0.25 0.10 A A c F 0.60 0.65 0.39 0.21 0.60 M 0.30 0.40 0.25 0.10 0.40 0.69 0.31 1.00 (a) From the Block diagram, we obtain P(A) 0.69, which also comes from P(A) P(F) P(A F) + P(M) P(A M) 0.60 0.65 + 0.40 0.75 0.69. (b) P(M A) P( M A) P( A) 0. 30 0. 69 10 23 0.43478. (c) P(F A c ) P(F Ac ) P( A c ) 0.21 0.31 21 31 0.6774 (d) Because 40% of the autos are trucks, we have P(T) 0.40 0.69 0.276, so 27.6% have a truck. This result also follows from 0.40 P(T A) P(T ) P( A) P(T) 0. 69. (e) Because T A, then A c T c. Thus, P(A c T c ) P( Ac ) P(T c ) 0.31 0. 724 0.428.

(f) Overall, what percentage are male and have a truck? P(M T ) P(T) P( M T) 0. 276 0.80 0.2208, so 22.08% of the students are males with a truck. (g) Is having a truck independent of sex? No; we have P(M T ) 0. 2208, but P(M) P( T ) 0. 40 0.276 0.1104, so having a truck is dependent on the sex of the student. P(T M) Also note that P(T) 0.276 while P(T M) 0.2208 0.552. Thus, P(M) 0.40 males are more likely to have a truck than a generic student in the whole population. As shown in Part (g), conditional probabilities can be used to check for independence. The formal definition of A and B being independent is that P(A B) P( A) P(B). But intuitively, it should be the case that A and B are independent provided they have no affect on each other; that is, it should be the case that P(B A) P(B) and P(A B) P(A). We prove this next: Proposition 5. Suppose events A and B are independent with P(A) 0 and P(B) 0. Then: (a) P(A B) P(A) and P(B A) P(B). (b) If P(A B) P( A) or P(B A) P(B), then A and B must be dependent. Proof. (a) By independence, we know P(A B) P( A) P(B). Thus P(A B) P( A B) P( B) P(A) P(B) P(B) P( A), and P(B A) P(B A) P( A) P(B) P(A) P(A) P(B). Part (b) is simply the contrapositive of (a) whicj is logically equivalent. Note: We always have P(A) + P( A c ) 1. It is also true that P(A B) + P( A c B) 1; however, in general, P(A B) + P( A B c ) 1.

Exercises 1. Among adults in Kentucky, 40% smoke, 55% drink, and 59% smoke or drink. (a) Show all information on a block diagram. (b) Compute the probability of (i) Not smoking given that one doesn't drink (ii) Doing exactly one of smoking or drinking given that one either smokes or drinks. (c) Among drinkers, what percentage smoke? (d) Among non-smokers, what percentage don't drink? (e) Determine if drinking is independent of smoking among adults in KY. (f) Compared to the general population of adults in KY, determine if a smoker is more likely, less likely, or equally likely to be a drinker. (g) Compared to the general population of adults in KY, determine if a non-drinker is more likely, less likely, or equally likely to be a smoker. 2. A class of 20 students has 12 Females and 8 males. Six students are chosen at random all at once. (a) What is the probability that there are at least 4 females chosen? (b) Given that there are at least 4 females chosen, what is the probability that all are female? 3. In a large apartment complex, tenants are allowed to have one pet per apartment. Among all apartments, 75% have a pet. If one has a pet, there is a 60% chance that it is a dog. (a) What percentage of these apartments have a dog? (b) What is the probability of not having a pet given that one doesn't have a dog? (c) Show all information on a block diagram. 4. Let A and B be events with P(B) 0. Prove that P(A B) + P( A c B) 1. 5. Let A and B be events with 0 < P(A) < 1: (a) Suppose P(B A) P(B). Prove that A and B are independent. (b) Prove that A and B are independent if and only if P(B A) P(B A c ).

6. Draw two cards at random from a shuffled deck, in order, without replacement. Compute the probability of drawing (a) Two spades (b) A Spade, then a Club (c) A spade, then a Queen (d) No Spades (e) Exactly one Spade. (Hint: Consider two cases.) 7. Consider the numbers 1, 2, 3, 4, 5, 6 placed in a hat. You and an opponent draw a single number at random one at a time without replacement with you drawing first. The winner is the person who draws the 6. (a) What is the probability that you win? (b) If instead you roll a single die until one of you rolls the 6, then what is the probability that you win if you roll first?