36
Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule. I can determine whether two events are independent. 5.3a h.w: p 329: 57 – 60, 63, 77, 79, 87

Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Embed Size (px)

Citation preview

Page 1: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Conditional Probability and Independence

Target Goals:

I can use a tree diagram to describe chance behavior.I can use the general multiplication rule.I can determine whether two events are independent.

5.3ah.w: p 329: 57 – 60, 63, 77, 79, 87

Page 2: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Warm Up: Practice with Venn Diagrams

On the following four slides you will find Venn Diagrams representing the students at your school.Some students are enrolled in Statistics, some in Calculus, and some in Computer Science.

For the next four slides, indicate what relationships the shaded regions represent. (use complement, intersection, and union)

Page 3: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Calculus or Computer Science

Statistics Calculus

Computer Science

Page 4: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

(Statistics or Computer Science) and not Calculus

Statistics Calculus

Computer Science

Page 5: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Com Sci

Statistics and Computer Science and not Calculus

Statistics Calculus

Computer Science

Page 6: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Statistics and not (Computer Science or Calculus)

Statistics Calculus

Computer Science

Page 7: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example: Flip a Coin and Roll a Die (I can use a tree diagram to describe chance behavior)

What is the sample space of flipping a cointhen rolling a die? One technique is to draw a tree diagram

and count possible outcomes.

Page 8: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Suppose two coins are flipped. The sample space would be:

S = {HH, HT, TH, TT}Where H = heads and T = tails

H

T

H

T

H

T

We can also use a tree diagram to represent a sample space.

HTWe follow the branches out to show an

outcome.

Page 9: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example: Picking Two LeftiesThe two way table showing the gender and

handedness of the students in Mr. Tabors AP Statistics class is represented below.

Page 10: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Suppose we choose 2 students at random.•Draw a tree diagram that shows the sample space

for this chance process.•Find the probability that both students are

left handed.

P(two lefties) = P(1st student lefty) x P(2nd student is lefty/1st student lefty)

4 30.016

28 27

Page 11: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Multiplication Principle (for independent events).

A second technique is to use the Multiplication Principle.

If you can do Event A: a waysand Event B: b ways

Then you can do, Both: a x b number of ways

Page 12: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Multiplication Principle

There are 2 ways to toss a coin and 6 ways to roll a die so there are,2 x 6 = 12 ways to toss a coin and then roll a die.

Page 13: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example: Flip Four Coins

Finding the number of outcomes iseasy. 2 x 2 x 2 x 2 = 16

Listing the outcomes is the challenge.List the possible out comes when tossing a coin 4 times and check with a neighbor. Report back:

Page 14: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Possible Outcomes

0 heads 1 head 2 hds 3 hds 4hdsTTTT HTTT HHTT HHHT

HHHH

THTT HTHT HHTH TTHT HTTH HTHH TTTH THHT THHH

THTH

TTHH

Page 15: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Defining is important.

We only want to know the number ofheads in four tosses. Define: Toss coin four times and

count the # of heads.What is the sample space?

S = {0, 1, 2, 3, 4}

Page 16: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Some sample spaces are too largeto list all of the possible outcomes.If you polled a SRS of 1500 peoplewith a yes or no answer, the numberof possible outcomes is:

21500 outcomes Too large to list.

Page 17: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Replacement

Selecting objects from a collection ofdistinct choices such as drawingplaying cards, with or with out replacementis important.

Draw a card replace, draw another. Possible outcomes:

Draw a card, don’t replace, and draw another.

Possible outcomes:

52 ∙ 52

52 ∙ 51

Page 18: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Ex: How many 3 digit #’s can we make?

Possibilities for 1st, 2nd, and 3rd digitare:

10 ∙ 10 ∙ 10 = 1,000

Possibilities for 1st, 2nd, and 3rd digitw/out replacement are:

10 ∙ 9 ∙ 8 = 720

Page 19: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

If 2 events are disjoint (mutually exclusive) then,

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

s/a finding the probability at least one of these events occurs.

Page 20: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Independence

Event A: toss first coinEvent B: toss second coin

Does the first toss affect the 2nd?No, the events are independent.

Page 21: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Independent

Events A and B are independent if knowing that one occurs does not change the probability that the other occurs.

Page 22: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example:

Roll a yellow die and a red die. Event A is the yellow die landing on an

even number, and event B is the red die landing on an odd number.

These two events are independent, because the probability of A does not change the probability of B.

Page 23: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Multiplication rule for Independent Events

Rule 5: If events A and B are independent, then

knowing that one occurs does not change the probability that the other occurs, and

o The probability of A and B equals the probability of A multiplied by the probability of B.P(A and B) = P(A) ∙ P(B)

Page 24: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example: The probability than the yellow die lands

on an even number and the red die land on an odd number is:

½ ∙ ½ = ¼ The P (draw 2 red cards) = Is this event independent?

You can still use the multiplication rule, just be careful.

= P(R1) x P(R2)= 26/52 ∙ 25/51= 0.2451

Page 25: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Venn Diagram (displays outcomes)

Venn diagram showing the event {A and B} as the overlapping area common to both A and B.

Page 26: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Independent or Dependent?

Take your blood pressure twice: Independent

Take IQ test twice: Not independent; the first test

gives you information and knowledge.

Page 27: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Example: Mendel’s Peas

Gregor Mendel used garden peas in some of the experiments that revealed that inheritance operates randomly.

Two parents carry two genes and pass on one.

Page 28: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Gene Crossing

G: green, Y: yellowFor offspring: GG: green all other combinations are yellow.

P(GM and GF) = P(GM)P(GF) (0.5)(0.5) = 0.25 ¼ of all seeds produced by crossing will

be green.

Page 29: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Important Note:

P(A and B) = P(A) ∙ P(B) holds for independent events.P(A or B) = P(A) + P(B) holds for disjoint events.

Page 30: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Disjoint events are not independent. (DENI)

If A and B are disjoint, then the fact A occurs tells us that B can’t occur.

If events A and B are independent, then knowing that one occurs does not change the probability that the other occurs.

It doesn’t mean that the other “can’t” occur.

Page 31: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Independence can not be pictured by a Venn diagrambecause it involves the probability of an event,not the outcome which the Venn diagram shows.

Page 32: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Ex: Atlantic Telephone Cable

The first successful transatlantic telegraph cable was laid in 1866. The first telephone cable across the Atlantic did not appear until 1956 – the barrier was designing “repeaters”, amplifiers needed to boost the signal that could operate for years on the sea bottom. The first fiber optic cable was laid in 1988 and had 109 repeaters.

Page 33: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Repeaters

Repeaters in undersea cables must be very reliable. To see why, suppose that each repeater has a probability 0.999 of functioning with out failure for 25 years.

Repeaters fail independently of each other.

Page 34: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Denote Ai: event that the i-th repeater operates successfully for 25 years.

P(Ai) = 0.999

Find the probability 2 repeaters both last 25 years.

P(A1 and A2) = P(A1) ∙ P(A2) = 0.999 x 0.999 = 0.998

Page 35: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Is 99.9% reliability good enough?

Find the probability 10 repeaters both last 25 years.P(A1 … A10) = P(A1) P(A2) ….P(A10)

= 0.99910 = 0.990

The last transatlantic cable laid 662 “repeaters”. Probability all 662 work for 25 years:P(A1 … A662) = 0.999662 = 0.516!

Page 36: Conditional Probability and Independence Target Goals: I can use a tree diagram to describe chance behavior. I can use the general multiplication rule

Conclusion:

This cable will fail to reach its’ 25 year design life about ½ the time even if each “repeater” is 99.9% reliable.

Repeaters must be much more than 99.9% reliable.