chapter 15: probability rules

28
AP Statistics CHAPTER 15: PROBABILITY RULES Unit 4

Upload: harry

Post on 25-Feb-2016

61 views

Category:

Documents


2 download

DESCRIPTION

Unit 4. Chapter 15: Probability Rules. AP Statistics. The General Addition Rule. When two events A and B are disjoint, we can use the addition rule for disjoint events from Chapter 14: P (A  B) = P (A) + P (B) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Chapter  15:  Probability Rules

AP StatisticsCHAPTER 15: PROBABILITY RULES

Unit 4

Page 2: Chapter  15:  Probability Rules

When two events A and B are disjoint, we can use the addition rule for disjoint events from Chapter 14:

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

However, when our events are not disjoint (not mutually exclusive), this earlier addition rule will double count the probability of both A and B occurring. Thus, we need the General Addition Rule.

Let’s look at a picture…

THE GENERAL ADDITION RULE

Page 3: Chapter  15:  Probability Rules

General Addition Rule: For any two events A and B,

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

The following Venn diagram shows a situation in which we would use the general addition rule:

THE GENERAL ADDITION RULE

Page 4: Chapter  15:  Probability Rules

A random sample of 250 working adults found that 37% access the Internet at work. 44% access the Internet from home. And 21% Access the Internet at both work and home. What is the probability that a person in this sample will access the Internet from home or at work?

ADDITION RULE EXAMPLE:

Page 5: Chapter  15:  Probability Rules

Below i s a Venn Diagram of a sample o f 200 women who l i ke yoga to re l ieve s t ress and who l i ke runn ing to re l ieve s t ress .

What is the probability that a woman likes running?

What is the probability that a woman likes running, but doesn’t l ike yoga?

What is the probability that a woman doesn’t l ike yoga and doesn’t l ike running?

What is the probability that a woman will l ike running or yoga, but not both?

ADDITION RULE EXAMPLE 2:

Running

0.25

Yoga

0.480.12

Page 6: Chapter  15:  Probability Rules

Back in Chapter 3, we looked at contingency tables and talked about conditional distributions.

When we want the probability of an event from a conditional distribution, we write P(B|A) and pronounce it “the probability of B given A.”

A probability that takes into account a given condition is called a conditional probability.

CONDITIONAL PROBABILITIES

Page 7: Chapter  15:  Probability Rules

To find the probability of the event B given the event A, we restrict our attention to the total outcomes in A. We then find the fraction of those outcomes in B that also occurred.

Note: P(A) cannot equal 0, since we know that A has occurred.

CONDITIONAL PROBABILITIES (CONT.)

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

Page 8: Chapter  15:  Probability Rules

A random sample of 250 working adults found that 37% access the Internet at work. 44% access the Internet from home. And 21% Access the Internet at both work and home. What is the probability that an adult accesses the internet at home, given they access it at work?

Tell: ____% of adults who access the internet at work also access it at home.

CONDITIONAL PROBABILITY EXAMPLE:

Page 9: Chapter  15:  Probability Rules

When two events A and B are independent, we can use the multiplication rule for independent events from Chapter 14:

P(A B) = P(A) x P(B)

However, when our events are not independent, this earlier multiplication rule does not work. Thus, we need the General Multiplication Rule.

THE GENERAL MULTIPLICATION RULE

Page 10: Chapter  15:  Probability Rules

We encountered the general multiplication rule in the form of conditional probability.

Rearranging the equation in the definition for conditional probability, we get the General Multiplication Rule:

For any two events A and B, P(A B) = P(A) P(B|A)

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

THE GENERAL MULTIPLICATION RULE (CONT.)

Page 11: Chapter  15:  Probability Rules

Independence of two events means that the outcome of one event does not influence the probability of the other.

With our new notation for conditional probabilities, we can now formalize this definition:

Events A and B are independent whenever P(B|A) = P(B). (Equivalently, events A and B are independent whenever P(A|B) = P(A).)

INDEPENDENCE

Page 12: Chapter  15:  Probability Rules

Earlier it was mentioned that 37% of working adults access the Internet at work. 44% access the Internet from home. And 21% Access the Internet at both work and home. Are accessing the internet from work and accessing

the internet from work independent? Are they disjoint?

INDEPENDENCE EXAMPLE:

Page 13: Chapter  15:  Probability Rules

Disjoint events cannot be independent! Wel l , why not?

Since we know that disjoint events have no outcomes in common, knowing that one occurred means the other didn’t.

Thus, the probability of the second occurring changed based on our knowledge that the first occurred.

It follows, then, that the two events are not independent.

Consider 2 disjoint events: getting an A in this course and getting a B in this course. These are disjoint because they have nothing in common. However, if you did earn an A in the course, does the affect your probability of earning a B? YES! Your probability of earning a B in the course is now 0. It cannot happen.

A common error is to treat disjoint events as i f they were independent, and apply the Mult ipl icat ion Rule for independent events—don’t make that mistake.

INDEPENDENT ≠ DISJOINT

Page 14: Chapter  15:  Probability Rules

The AAPOR is an association of about 1600 individuals who share an interest in public opinion and survey research. They report that typically as few as 10% of random phone calls result in a completed interview. Reasons are varied, but some of the most common include no answer, refusal to cooperate, and failure to complete the call.

Which of the following events are disjoint, independent, or neither?

A = Your phone # is randomly selected. B = You’re not at home at dinnertime when they call.

A = As a selected subject, you complete the interview. B = As a selected subject, you refuse to cooperate.

A = You are not at home when they call at 11 AM. B = You are employed full time.

EXAMPLES: INDEPENDENCE VS. DISJOINT

Page 15: Chapter  15:  Probability Rules

It’s much easier to think about independent events than to deal with conditional probabilities.

It seems that most people’s natural intuition for probabilities breaks down when it comes to conditional probabilities.

Don’t fall into this trap: whenever you see probabilities multiplied together, stop and ask whether you think they are really independent.

DEPENDING ON INDEPENDENCE

Page 16: Chapter  15:  Probability Rules

I t i s much eas ier to see condi t iona l probabi l i t ies us ing cont ingency tab les :

•F ind the p robab i l i t y t ha t a s tuden t i s a ma le .

•F ind the p robab i l i t y t ha t a s tuden t i s no t a nu rs ing ma jo r.

•F ind the p robab i l i t y t ha t a s tuden t i s a fema le , g i ven t he s tudent i s a nu rs ing ma jo r.

•F ind the p robab i l i t y t he s tuden t i s ma le or a nu rs ing ma jo r.

•F ind the p robab i l i t y t he s tuden t i s fema le and no t a nu rs ing ma jo r.

TABLES AND CONDITIONAL PROBABILITIES

Nursing majors Non-Nursing Majors Total

Males 95 1015 1110

Females 700 1727 2427Total 795 2742 3537

Page 17: Chapter  15:  Probability Rules

Create a contingency table for the following samples of textbook pages: 48% of pages had a data display 27% of pages had an equation 7% had both a data display and an equation

CREATE A CONTINGENCY TABLE

Page 18: Chapter  15:  Probability Rules

What is the probability that a randomly selected sample page with an equation also had a data display?

Are having an equation and have a data display disjoint events?

Are having an equation and having a data display independent events?

USING THE TABLE DETERMINE THE FOLLOWING:

Page 19: Chapter  15:  Probability Rules

Sampling without replacement means that once one individual is drawn it doesn’t go back into the pool.

We often sample without replacement, which doesn’t matter too much when we are dealing with a large population.

However, when drawing from a small population, we need to take note and adjust probabilities accordingly.

Drawing without replacement is just another instance of working with conditional probabilities.

DRAWING WITHOUT REPLACEMENT

Page 20: Chapter  15:  Probability Rules

In a box of cupcakes, there are five cupcakes with red icing, 4 with yellow icing, and 3 with green icing. If 2 of the cupcakes are randomly selected from the box (no peeking to see which color ), what is the probability that the first cupcake has red icing and the second cupcake has green icing? What about the probability that the first has red icing and the second has red icing? (The first cupcake is not replaced before the second cupcake is selected).

DRAWING WITHOUT REPLACEMENT EXAMPLE

Page 21: Chapter  15:  Probability Rules

A tree diagram helps us think through conditional probabilities by showing sequences of events as paths that look like branches of a tree.

Making a tree diagram for situations with conditional probabilities is consistent with our “make a picture” mantra.

TREE DIAGRAMS

Page 22: Chapter  15:  Probability Rules

Figure 15.5 is a nice example of a tree diagram and shows how we multiply the probabilities of the branches together.

All the final outcomes are disjoint and must add up to one.

We can add the final probabilities to find probabilities of compound events.

TREE DIAGRAMS (CONT.)

Page 23: Chapter  15:  Probability Rules

What is the probability that a randomly selected student will be a binge drinker who has an alcohol related car accident?

What is the probability that a selected student has had an alcohol related car accident?

EXAMPLE USING TREE DIAGRAM

Page 24: Chapter  15:  Probability Rules

Reversing the conditioning of two events is rarely intuitive.

Suppose we want to know P(A|B), and we know

only P(A), P(B), and P(B|A).

We also know P(A B), since P(A B) = P(A) x P(B|A)

From this information, we can find P(A|B):

REVERSING THE CONDITIONING

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

Page 25: Chapter  15:  Probability Rules

Don’t use a simple probability rule where a general rule is appropriate: Don’t assume that two events are

independent or disjoint without checking that they are.

Don’t find probabilities for samples drawn without replacement as if they had been drawn with replacement.

Don’t reverse conditioning naively.

Don’t confuse “disjoint” with “independent.”

WHAT CAN GO WRONG?

Page 26: Chapter  15:  Probability Rules

The probability rules from Chapter 14 only work in special cases—when events are disjoint or independent.

We now know the General Addition Rule and General Multiplication Rule.

We also know about conditional probabilities and that reversing the conditioning can give surprising results.

RECAP

Page 27: Chapter  15:  Probability Rules

Venn diagrams, tables, and tree diagrams help organize our thinking about probabilities.

We now know more about independence—a sound understanding of independence will be important throughout the rest of this course.

RECAP (CONT.)

Page 28: Chapter  15:  Probability Rules

Day 1: # 1, 9, 13, 19, 31

Day 2: # 2, 6, 8, 12, 15, 23, 27, 33, 35

Day 3: # 4, 10, 16, 17, 21, 25, 29, 41

ASSIGNMENTS: PP. 361 – 365