Top Banner
1 Probability Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules
34

1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

Dec 18, 2015

Download

Documents

Ruth Jennings
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: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

1

Probability

ProbabilityProbability

Part 1 – Definitions* Event* Probability* Union* Intersection* Complement

Part 2 – Rules

Part 1 – Definitions* Event* Probability* Union* Intersection* Complement

Part 2 – Rules

Page 2: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

2

Probability

Definitions - EventDefinitions - Event

* An event is a specific collection of possible outcomes.* For example, the event ‘A’ could be the event that one Head occurs in two tosses of a coin.

* An event is a specific collection of possible outcomes.* For example, the event ‘A’ could be the event that one Head occurs in two tosses of a coin.

HH HT TH TT

A

Page 3: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

3

Probability

Definitions - ProbabilityDefinitions - Probability

The probability of an event is the ratio of the number of outcomes matching the event description to the number of possible outcomes.

P(1 head in 2 tosses) = 2/4 = .5

Probabilities are ALWAYS between 0 and 1.

The probability of an event is the ratio of the number of outcomes matching the event description to the number of possible outcomes.

P(1 head in 2 tosses) = 2/4 = .5

Probabilities are ALWAYS between 0 and 1.

Page 4: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

4

Probability

Definitions - UnionDefinitions - Union

The union of two events A and B is the event that occurs if either A or B or both occur on a single measurement.

* For example, suppose:* A = a car has two doors* B = a car is red

* Then, if we randomly select a car from a large parking lot, P(A U B) is the probability that the car is either a two-door model or red or both two-door and red.

The union of two events A and B is the event that occurs if either A or B or both occur on a single measurement.

* For example, suppose:* A = a car has two doors* B = a car is red

* Then, if we randomly select a car from a large parking lot, P(A U B) is the probability that the car is either a two-door model or red or both two-door and red.

Page 5: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

5

Probability

Definitions – UnionDefinitions – Union

Define:

C = being female

D = being nineteen years old

What is P(C U D) for a randomly selected person from among the set of people currently in this room?

Define:

C = being female

D = being nineteen years old

What is P(C U D) for a randomly selected person from among the set of people currently in this room?

Page 6: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

6

Probability

Definitions – UnionDefinitions – Union

# of women = ________

plus

# of 19 year olds = ________

minus

# of 19 year old women = ________

equals

# either 19 or a woman or both = ________

# of women = ________

plus

# of 19 year olds = ________

minus

# of 19 year old women = ________

equals

# either 19 or a woman or both = ________

Page 7: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

7

Probability

Definition – UnionDefinition – Union

Total # of people in this room = _________

Therefore, P(C U D) = __________ =

Total # of people in this room = _________

Therefore, P(C U D) = __________ =

Page 8: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

8

Probability

Definitions – IntersectionDefinitions – Intersection

The intersection of two events A and B is the event that occurs if and only if both A and B occur on a single measurement.

* Suppose we randomly select a person from the set of people currently in this room. With A and B defined as before, the probability that a randomly-selected person is a 19 year old woman is:

P(A ∩ B) =

The intersection of two events A and B is the event that occurs if and only if both A and B occur on a single measurement.

* Suppose we randomly select a person from the set of people currently in this room. With A and B defined as before, the probability that a randomly-selected person is a 19 year old woman is:

P(A ∩ B) =

Page 9: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

9

Probability

Definitions – ComplementDefinitions – Complement

The complement of an event A is the event that A does not occur.The complement of an event A is the event that A does not occur.

HH TT

HT TH

A’

A

Page 10: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

10

Probability

Definitions – ComplementDefinitions – Complement

P(A’) = 1 – P(A)

P(A) + P(A’) = 1

The second equation says, “Either A happens or A doesn’t happen. There are no other possibilities.” That may seem obvious, but keep it in mind on exams.

P(A’) = 1 – P(A)

P(A) + P(A’) = 1

The second equation says, “Either A happens or A doesn’t happen. There are no other possibilities.” That may seem obvious, but keep it in mind on exams.

Page 11: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

11

Probability

Part 2 – RulesPart 2 – Rules

* Additive Rule* Mutually Exclusive Events* Conditional Probability* Multiplicative Rule* Independence

* Additive Rule* Mutually Exclusive Events* Conditional Probability* Multiplicative Rule* Independence

Page 12: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

12

Probability

Rules – Additive RuleRules – Additive Rule

P(A U B) = P(A) + P(B) – P(A ∩ B)

* Recall 19 year old women example.

* When you add # of 19 year olds to # of women, you count the 19 year old women in both groups – so you count them twice. Subtract that number once as a correction.

P(A U B) = P(A) + P(B) – P(A ∩ B)

* Recall 19 year old women example.

* When you add # of 19 year olds to # of women, you count the 19 year old women in both groups – so you count them twice. Subtract that number once as a correction.

Page 13: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

13

Probability

Rules – Mutually Exclusive EventsRules – Mutually Exclusive Events

Two events are mutually exclusive when

P(A ∩ B) = 0

and

P(A U B) = P(A) + P(B)

Be careful! Note that the first equation uses ∩ while the second one uses U.

Two events are mutually exclusive when

P(A ∩ B) = 0

and

P(A U B) = P(A) + P(B)

Be careful! Note that the first equation uses ∩ while the second one uses U.

Page 14: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

14

Probability

Rules – Conditional ProbabilityRules – Conditional Probability

When you have information that reduces the set of possible outcomes, you work with new probabilities that are conditional on that new information.

*Remember that the # of possible outcomes is the denominator of the ratio that gives probability of an event.*The probability changes on the basis of new information because the numerator stays the same but the denominator decreases.

When you have information that reduces the set of possible outcomes, you work with new probabilities that are conditional on that new information.

*Remember that the # of possible outcomes is the denominator of the ratio that gives probability of an event.*The probability changes on the basis of new information because the numerator stays the same but the denominator decreases.

Page 15: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

15

Probability

Rules – Conditional ProbabilityRules – Conditional Probability

Example: Suppose before class I picked a card at random from a standard deck of cards. What is P(E) if:

E = Card I picked is a Club?

* Note that this is a question about the ordinary (non-conditional) probability.

Example: Suppose before class I picked a card at random from a standard deck of cards. What is P(E) if:

E = Card I picked is a Club?

* Note that this is a question about the ordinary (non-conditional) probability.

Page 16: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

16

Probability

Rules – Conditional ProbabilityRules – Conditional Probability

P(E) = 13/52 = .25 (Do you see why?)

Now, suppose I tell you that the card I picked is black. What is the conditional probability that the card is a club given that it is black?

P(E │black) = 13/26 = .5

* Only 26 cards in a normal deck are black.

P(E) = 13/52 = .25 (Do you see why?)

Now, suppose I tell you that the card I picked is black. What is the conditional probability that the card is a club given that it is black?

P(E │black) = 13/26 = .5

* Only 26 cards in a normal deck are black.

Page 17: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

17

Probability

Rules – Conditional ProbabilityRules – Conditional Probability

We write:

P(A │B) = P(A ∩ B)

P(B)

We write:

P(A │B) = P(A ∩ B)

P(B)

Page 18: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

18

Probability

A

B

A ∩ B

P(A │B) = P(A ∩ B) P(B)

Page 19: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

19

Probability

Rules – Multiplicative ProbabilityRules – Multiplicative Probability

P(A ∩ B) = P(A) * P(B│A)

P(A ∩ B) = P(B) * P(A│B)

P(A ∩ B) = P(A) * P(B│A)

P(A ∩ B) = P(B) * P(A│B)

Page 20: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

20

Probability

Rules – Multiplicative ProbabilityRules – Multiplicative Probability

To see why, begin with the conditional probability formula, and multiply both sides by either P(A) or P(B):

P(A │B) = P(A ∩ B)

P(B)

P(B │A) = P(A ∩ B)

P(A)

To see why, begin with the conditional probability formula, and multiply both sides by either P(A) or P(B):

P(A │B) = P(A ∩ B)

P(B)

P(B │A) = P(A ∩ B)

P(A)

Page 21: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

21

Probability

Rules - IndependenceRules - Independence

Events A and B are independent if the occurrence of one does not alter the probability of the other.

P(A│B) = P(A)

P(B│A) = P(B)

Events A and B are independent if the occurrence of one does not alter the probability of the other.

P(A│B) = P(A)

P(B│A) = P(B)

Page 22: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

22

Probability

Rules – IndependenceRules – Independence

We can now re-write the multiplicative rule for the special case of independent events:

P(A ∩ B) = P(A) * P(B)

* This is because P(B│A) = P(B) for independent events.

We can now re-write the multiplicative rule for the special case of independent events:

P(A ∩ B) = P(A) * P(B)

* This is because P(B│A) = P(B) for independent events.

Page 23: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

23

Probability

Probability – ExamplesProbability – Examples

60% of Western students are female. 60% of female students have a B average or better. 80% of male students have less than a B average.

a. What is the probability that a randomly selected student will have less than a B average?

60% of Western students are female. 60% of female students have a B average or better. 80% of male students have less than a B average.

a. What is the probability that a randomly selected student will have less than a B average?

Page 24: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

24

Probability

A = Being femaleB = Having a B average or better

A

A’

.6

.4

B

B’

B

B’.8

.2

.6

.4

.6 x .6 = .36

.6 x .4 = .24

.4 x .2 = .08

.4 x .8 = .32

Page 25: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

25

Probability

Probability – ExamplesProbability – Examples

a. What is the probability that a randomly selected student will have less than a B average?

P(B’) = P(B’ ∩ A) + P(B’ ∩ A’)

* Either we get (B’ and A) or we get (B’ and A’).* That is, either our randomly selected student who has less than a B average is a female or he is a male.

a. What is the probability that a randomly selected student will have less than a B average?

P(B’) = P(B’ ∩ A) + P(B’ ∩ A’)

* Either we get (B’ and A) or we get (B’ and A’).* That is, either our randomly selected student who has less than a B average is a female or he is a male.

Page 26: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

26

Probability

Probability – ExamplesProbability – Examples

P(B’) = P(B’ ∩ A) + P(B’ ∩ A’)

By Multiplicative Rule:

P(B’) = P(B’│A)*P(A) + P(B’│A’)*P(A’)

= (.4*.6) + (.8*.4)

= .56

P(B’) = P(B’ ∩ A) + P(B’ ∩ A’)

By Multiplicative Rule:

P(B’) = P(B’│A)*P(A) + P(B’│A’)*P(A’)

= (.4*.6) + (.8*.4)

= .56

Page 27: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

27

Probability

Reminder – Multiplicative ProbabilityReminder – Multiplicative Probability

P(A ∩ B) = P(A) * P(B│A)

P(A ∩ B) = P(B) * P(A│B)

P(A ∩ B) = P(A) * P(B│A)

P(A ∩ B) = P(B) * P(A│B)

Page 28: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

28

Probability

Probability – ExamplesProbability – Examples

b. If we randomly select a student at Western and note that this student has a B or better average, what is the probability that the student is male?

b. If we randomly select a student at Western and note that this student has a B or better average, what is the probability that the student is male?

Page 29: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

29

Probability

A = Being femaleB = Having a B average or better

A

A’

.6

.4

B

B’

B

B’.8

.2

.6

.4

.6 x .6 = .36

.6 x .4 = .24

.4 x .2 = .08

.4 x .8 = .32

Page 30: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

30

Probability

Probability – ExamplesProbability – Examples

We know that overall, 40% of students (A’) are male. But among the students who get a B or better average, what proportion are male?

The probability of getting a B or better average is .44 (from .36 for women and .08 for men). Thus,

P(A’│B) = P(A’ ∩ B) = .08 = .1818

P(B) .44

We know that overall, 40% of students (A’) are male. But among the students who get a B or better average, what proportion are male?

The probability of getting a B or better average is .44 (from .36 for women and .08 for men). Thus,

P(A’│B) = P(A’ ∩ B) = .08 = .1818

P(B) .44

Page 31: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

31

Probability

Probability – ExamplesProbability – Examples

You’re on a game show. You’re given a choice of 3 doors you can open. Behind one door is a car. Behind each of the other two doors is a goat. You win what is behind the door you open. You pick a door, but don’t get to open it yet. The host opens another door, behind which is a goat. The host then says to you, “Do you want to stick with the door you chose or switch to the other remaining door?”

Is it to your advantage to switch?

You’re on a game show. You’re given a choice of 3 doors you can open. Behind one door is a car. Behind each of the other two doors is a goat. You win what is behind the door you open. You pick a door, but don’t get to open it yet. The host opens another door, behind which is a goat. The host then says to you, “Do you want to stick with the door you chose or switch to the other remaining door?”

Is it to your advantage to switch?

Page 32: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

32

Probability

Probability – ExamplesProbability – Examples

Yes – you should switch to the other door. The door you originally chose has a 1/3rd chance of winning the car. The other remaining door has a 2/3rd chance of winning the car.

Yes – you should switch to the other door. The door you originally chose has a 1/3rd chance of winning the car. The other remaining door has a 2/3rd chance of winning the car.

Page 33: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

33

Probability

Probability – ExamplesProbability – Examples

Suppose you originally pick Door #1. The door the host opens is indicated by the boldface type below. What you win if you switch is underlined.

Door #1 Door #2 Door #3

Goat Goat Car

Goat Car Goat

Car Goat Goat

Suppose you originally pick Door #1. The door the host opens is indicated by the boldface type below. What you win if you switch is underlined.

Door #1 Door #2 Door #3

Goat Goat Car

Goat Car Goat

Car Goat Goat

Page 34: 1 Probability Part 1 – Definitions * Event * Probability * Union * Intersection * Complement Part 2 – Rules Part 1 – Definitions * Event * Probability.

34

Probability

Probability - ExamplesProbability - Examples

When you picked Door #1, there was a 2/3rd probability that the car was behind one of the other doors.* That is still true after the host opens one of those other doors.* But since the host knows where the car is, he opens a door that has a goat behind it. So now the 2/3rd probability is all associated with the one remaining door.* The critical point is that the host has information – so we are dealing with the conditional probability of the car being behind Door #3 GIVEN THAT the host opened Door #2 (after you picked Door #1).

When you picked Door #1, there was a 2/3rd probability that the car was behind one of the other doors.* That is still true after the host opens one of those other doors.* But since the host knows where the car is, he opens a door that has a goat behind it. So now the 2/3rd probability is all associated with the one remaining door.* The critical point is that the host has information – so we are dealing with the conditional probability of the car being behind Door #3 GIVEN THAT the host opened Door #2 (after you picked Door #1).