Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

36
Sta220 - Statistics Mr. Smith Room 310 Class #9

Transcript of Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Page 1: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Sta220 - Statistics Mr. SmithRoom 310Class #9

Page 2: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Section 3.5-3.6

Page 3: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:

To develop programs for business travelers staying at convention hotels, Hyatt Hotels Corp. commissioned a study on executives who play golf. The study revealed that 55% of the executives admitted that they had cheated at golf. Also, 20% of the executives admitted that they had cheated at golf and had lied in business. Given that an executive had cheated at golf, what is the probability that they executive also had lied in business?

Page 4: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

The event probabilities we’ve been discussing give the relative frequencies of the occurrences of the events when the experiment is repeated a very large number of times. Such probabilities are often called unconditional probabilities.

Page 5: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

3.5 Conditional Probability

A probability that reflects such additional knowledge is called the conditional probability of the event.

Page 6: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Example:

We’ve seen that the probability of an even number (event A) on a toss of a fair die is ½. But suppose we’re given the information that on a particular throw of the die the results was a number less than or equal to 3 (event B). Would the probability of observing an even number on that throw of the die still be equal to ½?

Page 7: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Copyright © 2013 Pearson Education, Inc.. All rights reserved.

Reduced sample space for the die-toss experiment: given that event B has occurred

Page 8: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

To get the probability of event A given that event B occurs, we divide the probability of the part A that falls within the reduced sample space B, namely , by the total probability of the reduced sample space, namely, P(B).

P(A|B) =

Page 9: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

• Note: [ We assume ]

Page 10: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:

To develop programs for business travelers staying at convention hotels, Hyatt Hotels Corp. commissioned a study on executives who play golf. The study revealed that 55% of the executives admitted that they had cheated at golf. Also, 20% of the executives admitted that they had cheated at golf and had lied in business. Given that an executive had cheated at golf, what is the probability that they executive also had lied in business?

Page 11: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

LetA: {Executive had cheated at golf}B: {Executive had lied in business}

Then and We want P(B|A)=?

Page 12: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Thus, given that a certain executive had cheated at golf, the probability that the executive also had lied in business is .364.

Page 13: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:

Many medical researchers have conducted experiments to examine the relationship between cigarette smoking and cancer. Consider an individual randomly selected from the adult male population. Let A represent the event that the individual smokes, and letdenote the complement of A (the even that the individual does not smoke). Similarity, let B represent the even that the individual develops cancer, and let be the complement of that event. Then the four sample points associated with the experiment are shown in Figure 3.15. Use these sample point probabilities to examine the relationship between smoking and cancer.

Page 14: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.
Page 15: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

A method in determining whether the given probabilities indicate that smoking and cancer are related is compare the conditional probability that an adult male acquires cancer given that he smokes with the conditional probability that an adult male acquires cancer given that he does not smoke [ i.e. compare with

Page 16: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

So we are going to reduce the sample space A corresponding to adult male smokers.

Two conditional probabilities:and

Page 17: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

So now and

These two numbers represent the probabilities that an adult male smoker develops cancer and does not develop cancer, respectively.

Page 18: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

These are the conditional probabilities of an adult male nonsmoker developing cancer and not developing cancer.

Page 19: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

The conditional probability that an adult male smoker develops cancer (.20) is five times the probability that a nonsmoker develop cancer (.04). This relationship does not imply that smoking causes cancer, but it does suggest a pronounced link between smoking and cancer.

Page 20: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

3.6 The Multiplicative Rule and Independent Events

The probability of an intersection of two events can be calculated with the multiplicative rule.

Page 21: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:In a classic psychology study conducted in the early 1960s, Stanley Milgram performed a series of experiment in which a teacher is asked to shock a learner who is attempting to memorize word pairs whenever the learner gives the wrong answer. The shock levels increase with each successive wrong answer. {Unknown to the teacher, the shocks are not real.} Two events of interest are

A: {The teacher “applies” a sever shock (450 volts).}B: {The learner protest verbally prior to receiving the shock.}

A recent application of Milgram’s shock study revealed that P(B) = .5 and P(A|B) = .7. On the basis of the information, what is the probability that a learner will protest verbally and a teacher will apply a severe shock?

Page 22: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

We want to calculate

Thus, about 35% of the time the learner will give a verbal protest and the teacher will apply severe shock.

Page 23: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:

A county welfare agency employs 10 welfare workers who interview prospective food stamp recipients. Periodically, the supervisor selects, at random, the forms completed by two workers and subsequently audits them for illegal deductions. Unknown to the supervisor, three of the workers have regularly been giving illegal deductions to applicants. What is the probability that both of the workers chosen have been giving illegal deductions?

Page 24: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

LetN: Non-IllegalI: Illegal

Page 25: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Copyright © 2013 Pearson Education, Inc.. All rights

reserved. Tree diagram

Page 26: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Thus, there is a 1-in-15 chance that both workers chosen by the supervisor have been giving illegal dedication to food stamp recipients.

Page 27: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

We have showed that the probability of event A may be substantially altered by the knowledge that an event B has occurred. However, this will not always be the case; in some instances, the assumption that event B has occurred will not alter the probability of event A at all.

Page 28: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.
Page 29: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem:

Consider the experiment of tossing a fair die, and let

A = {Observe an even number.}

B = {Observe a number less than or equal to 4.}

Are A and B independent events?

Page 30: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Copyright © 2013 Pearson Education, Inc.. All rights reserved.

Venn diagram for die-toss experiment

Page 31: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

Assuming B has occurred, we see that the conditional probability that A given B is

Page 32: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Thus, assuming that the occurrence of event B does not alter the probability of observing an even number, the probability remains ½ . Therefore, the events A and B are independent.

Page 33: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.
Page 34: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Problem

An experiment results in one of five sample points with the following probabilities:. The following events have been defined:

Find each of the following probabilities:a) P(A)b) P(B)

c) Consider each pair of events A and B, A and C, and B and C. Are any of the pairs of events independent? Why?

Page 35: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

Solution

A. P(A) = .22 +.15 = .37

B. P(B) = .31+.15 +.22 = .68

C. P(B\capC) = 0

D. P(C|B) = 0/.68 = 0

Page 36: Sta220 - Statistics Mr. Smith Room 310 Class #9. Section 3.5-3.6.

G. For any of the pairs of events to be independent, the following must hold: