Top Banner
CONDITIONAL PROBABILITY
31

Conditional Probability

Mar 23, 2016

Download

Documents

Andrea Modesto

Conditional Probability. Conditional Probability. Knowledge that one event has occurred changes the likelihood that another event will occur . Denoted: P(A|B) The probability of A given than B has already occurred. - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Conditional Probability

CONDITIONAL PROBABILITY

Page 2: Conditional Probability

Conditional Probability•Knowledge that one event has occurred changes the likelihood that another event will occur.

•Denoted: P(A|B) • The probability of A given than B has already occurred.

Page 3: Conditional Probability

Ex: Population has .1% of all individuals having a certain disease. A test is available and 80% of those who test positive actually have the disease.

E = the individual has the diseaseF = the individual’s diagnostic test is positive

P(E) = P(E | F) =

Before the test, the occurrence of E was highly unlikely, after the test turns out positive it’s highly likely.

Page 4: Conditional Probability

Example: Titanic

1st Class2nd Class

3rd Class

Survived 203 118 178 499Died 122 167 528 817

325 285 706 1316

P(3rd class) P(3rd class | survived)

P(1st class | survived) P(died | 2nd class)

Page 5: Conditional Probability

Students at the University of New Harmony received 10,000 course grades last semester

• Find P(lower than B)

• Find P(E|Low) and P (Low|E).

• Which of the above tells you whether this college’s engineering students tend to earn lower grades than students in liberal arts.

Total 3392 2952 3656 10000

Total630016002100

Page 6: Conditional Probability

Find the probability of drawing a 3 of diamonds if you already know that it’s a red card.

Page 7: Conditional Probability

Find probability of a family having 2 girls given that they have at least 1 girl.

Page 8: Conditional Probability

A consumer organization estimates that over a 1-year period 17% of cars will need to be repaired once, 7% will need repairs twice, and 4% will require 3 or more repairs.

• Probability that a car chosen at random will need

a. No repairs

b. No more than one repair

c. Some repairs

Page 9: Conditional Probability

You randomly draw a card at random from a standard deck of 52 cards. • P(heart | red)

• P(red | heart)

• P(ace | red)

• P(queen | face card)

Page 10: Conditional Probability

70% of kids who visit a doctor have a fever, and 30% of kids with a fever have sore throats. What’s the probability that a kid who goes to the doctor has a fever and a sore throat?

Page 11: Conditional Probability

In a class of 45 students 18 like apples and 32 like bananas and 5 dislike both fruits. If a students is randomly selected, find the probability that the student:

• likes both fruit

• Likes at least one fruit

• Likes Bananas given that they like apples

• Dislikes apples given that they like bananas.

Page 12: Conditional Probability

Independent Events• Two events A and B are independent if the occurrence of one event has no effect of the chance that the other event will happen.

• In other words, events A and B are if

Page 13: Conditional Probability

Using the blocks:• What’s the probability of drawing a green?

• If I replace the block and draw again what is the probability that the second block is green?

Page 14: Conditional Probability

Using the blocks:• What’s the probability of drawing a green?

• If I do not replace the block and draw again what is the probability that the second block is green?

Page 15: Conditional Probability

So….• Sampling with replacement is ____________

• Sampling without replacement is________________

Page 16: Conditional Probability

If I roll 2 dice, what’s the probability that I get a three on both? Independent or Dependent?

Page 17: Conditional Probability

Is there a relationship between gender and handedness? To find out, we used CensusAtSchool’s Random Data Selector to choose a SRS of 50 Australian high school students who completed a survey.

Dominant hand

Gender Right Left Total

Male 20 3 23

Female 23 4 27

Total 43 7 50

Page 18: Conditional Probability

If two events are not independent, does that mean than there actually is a relationship between the two variables?

• No…not necessarily

Page 19: Conditional Probability

Independent or not independent?• Shuffle a standard deck of cards, and turn over the top card. Put it back in the deck, shuffle again, and turn over the top card. Define events

• A: first card is a heart• B: second card is a heart

Page 20: Conditional Probability

Independent or not independent?• Shuffle a standard deck of cards, and turn over the top two cards, one at a time. Define the events

• A: first card is a heart• B: second card is a heart

Page 21: Conditional Probability

Independent or not independent?• The 28 students in a class completed a brief survey. One of the questions asked whether each student was right- or left-handed. Choose a student from the class at random. The events of interest are “female” and “right-handed.”

GenderHandedness Female MaleLeft 3 1Right 18 6

Page 22: Conditional Probability

Multiplication Rule • Dependent:

• Independent:

Page 23: Conditional Probability

P(King and then King) with replacement.

Page 24: Conditional Probability

P(king & King) without replacement.

Page 25: Conditional Probability

P(king and 4) without replacement

Page 26: Conditional Probability

P(E)=.2 P(F)=.3

• Find P(E and F) if they are independent.

Page 27: Conditional Probability

If P(A) = 0.2 and P(B) = .4 and P(A B) = p. Find p if

• A and B are mutually exclusive

• A and B are independent

Page 28: Conditional Probability

Using a tree diagram, what’s the probability of getting two heads when you toss a fair coin?

Page 29: Conditional Probability

Suppose that 60% of all customers of a large insurance agency have automobile policies with the agency, 40% have homeowner’s policies, and 25% have both types of policies. If a customer is randomly selected, what is the probability that he or she has at least one of these two types of policies with the agency? (Look at Venn Diagram)

Page 30: Conditional Probability

The probability of purchasing a Soni DVD player is 0.70. The probability of an extended warranty being purchased when a Soni DVD player is bought is 0.20. Find the probability that a person buys a soni DVD and the extended warrranty.

Page 31: Conditional Probability

Homework• Page 329 (63, 65, 67, 69, 71, 73, 75, 79, 106)