probability (2) conditional probability. for these 6 balls, if 2 are chosen randomly …. what is...

10
Probability (2) Probability (2) Conditional Conditional Probability Probability

Upload: darlene-richard

Post on 24-Dec-2015

217 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

Probability (2)Probability (2)

Conditional ProbabilityConditional Probability

Page 2: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

For these 6 balls, if 2 are chosen randomly ….

What is the probability they are a green and a red?

P(G) = 2/6

P(R) = 1/6

First ball (from 6)

Second ball (from 5)

P(G) = 2/5

P(R) = 1/5then ->

then ->

P(G n R) = 2/6 x 1/5 = 1/15

P(R n G) = 1/6 x 2/5 = 1/15

Either way there is a 1/15 chance of Green and Red

The 2 events are not independent

Page 3: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

For these 6 balls, if 2 are chosen randomly ….

If the first one is Green, what is the probability of the second being Red?

Second ball (from 5)P(R) = 1/5

This probability is CONDITIONAL on the first ball being green.

CONDITIONAL PROBABILITIES are written:- P(R|G) = 1/5

Meaning “the probability of event R given event G has already happened”

Page 4: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

For these 6 balls, if 2 are chosen randomly ….

If the first one is Blue, what is the probability of the second being Red?

If the first one is Red, what is the probability of the second being Red?

P(R|B) = 1/5

P(R|R) = 0

Page 5: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

For these 6 balls, if 2 are chosen randomly ….

What is the probability the 2nd is Red if the 1st is Green?

P(G) = 2/6

First ball (from 6)

Second ball (from 5)

P(R|G) = 1/5

P(G n R) = P(G) x P(R|G) = 2/6 x 1/5 = 1/15

Then ...= P(R G)

P(G)

P(R|G)

P(G R) = P(G) x P(R|G) = P(R G) Since ...

Page 6: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

“The probability that event B occurs, given event A has occurred is :- the probability they both occur divided by the probability event A occurs”

P(B|A) = P(A B)

P(A)

Conditional Probability Rule

Page 7: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

Problem: A math teacher gave her class two tests.

25% of the class passed both tests and 42% of the class passed the first test.

What percent of those who passed the first test also passed the second test?

Define: F the event a pupil passed the first testS the event a pupil passes the second test

P(F n S) = 25% = 0.25

P(F) = 42% = 0.42

P(S|F) = P(F S)

P(F) P(S|F) = 0.25 / 0.42 = 0.60 = 60%

Page 8: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

Example 1:

A jar contains black and white marbles. Two marbles are chosen without replacement.

The probability of selecting a black marble and a white marble is 0.34,

and the probability of selecting a black marble on the first draw is 0.47.

What is the probability of selecting a white marble on the second draw,

given that the first marble drawn was black?

Solution: P(White|Black) = P(Black and White) = 0.34 = 0.72 = 72%

P(Black) 0.47

P(B|A) = P(A B)

P(A)

Page 9: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

Example 2:

The probability that it is Friday and that a student is absent is 0.03.

Since there are 5 school days in a week, the probability that it is Friday is 0.2.

What is the probability that a student is absent given that today is Friday?

Solution:

P(Absent|Friday) = P(Friday and Absent) = 0.03 = 0.15 = 15%

P(Friday) 0.2

P(B|A) = P(A B)

P(A)

Page 10: Probability (2) Conditional Probability. For these 6 balls, if 2 are chosen randomly …. What is the probability they are a green and a red? P(G) = 2/6

Example 3:

At Kennedy Middle School, the probability that a student takes Technology and Spanish is 0.087.

The probability that a student takes Technology is 0.68.

What is the probability that a student takes Spanish given that the student is taking Technology?

Solution:

P(Spanish|Technology) = P(Technology and Spanish) = 0.087 = 0.13 = 13%

P(Technology) 0.68

P(B|A) = P(A B)

P(A)