26
6.1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter Six Probability

Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

Embed Size (px)

Citation preview

Page 1: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.1Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Chapter Six

Probability

Page 2: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.2Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

There is a 99% chance we’ll do…

…in today’s class !

Page 3: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.3Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Random Experiment…

…a random experiment is an action or process that leads to one of several possible outcomes. For example:

Experiment Outcomes

Flip a coin Heads, Tails

Exam Marks Numbers: 0, 1, 2, ..., 100

Assembly Time t > 0 seconds

Course Grades F, D, C, B, A, A+

Page 4: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.4Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Requirements of Probabilities…

Given a sample space S = {O1, O2, …, Ok}, the probabilities assigned to the outcome must satisfy these requirements:

(1) The probability of any outcome is between 0 and 1

i.e. 0 ≤ P(Oi) ≤ 1 for each i, and

(2) The sum of the probabilities of all the outcomes equals 1

i.e. P(O1) + P(O2) + … + P(Ok) = 1

P(Oi) represents the probability of outcome i

Page 5: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.5Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Approaches to Assigning Probabilities…There are three ways to assign a probability, P(Oi), to an outcome, Oi, namely:

Classical approach: make certain assumptions (such as equally likely, independence) about situation.

Relative frequency: assigning probabilities based on experimentation or historical data.

Subjective approach: Assigning probabilities based on the assignor’s judgment.

Page 6: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.6Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Events & Probabilities…

An individual outcome of a sample space is called a simple event, while

An event is a collection or set of one or more simple events in a sample space.

Roll of a die: S = {1, 2, 3, 4, 5, 6}

Simple event: the number “3” will be rolled

Event: an even number (one of 2, 4, or 6) will be rolled

Page 7: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.7Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Joint, Marginal, Conditional Probability…We study methods to determine probabilities of events that result from combining other events in various ways.

There are several types of combinations and relationships between events:•Complement of an event•Intersection of two events•Union of two events

Page 8: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.8Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Example 6.1…

Why are some mutual fund managers more successful than others? One possible factor is where the manager earned his or her MBA. The following table compares mutual fund performance against the ranking of the school where the fund manager earned their MBA:

Venn Diagrams

Mutual fund outperforms the market

B1

Mutual fund doesn’t outperform the market

B2

A1 - Top 20 MBA program .11 .29

A2 - Not top 20 MBA program

.06 .54

E.g. This is the probability that a mutual fund outperforms AND the manager was in a top-20 MBA program; it’s a joint probability.

Page 9: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.9Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Conditional Probability…

Conditional probability is used to determine how two events are related; that is, we can determine the probability of one event given the occurrence of another related event.

Conditional probabilities are written as P(A | B) and read as “the probability of A given B” and is calculated as:

Page 10: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.10Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Conditional Probability…

We want to calculate P(B1 | A1)

Thus, there is a 27.5% chance that that a fund will outperform the market given that the manager graduated from a top-20 MBA program.

B1 B2 P(Ai)

A1.11 .29 .40

A2.06 .54 .60

P(Bj) .17 .83 1.00

Page 11: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.11Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Problems: Contingency Table ProbabilitiesThe costs of medical care is increasing very fast. The following table list the joint

probabilities

associated with drinking beer and liver disease among 60-65 year old men. If one 60-65 year

old male is randomly selected from the population, calculate the following probabilities.

HOW DO YOU GET THIS DATA?

*Probability he is a drinker

*Probability he does not have liver disease

*Probability he is a drinker and has liver disease

*Probability he has liver disease given he is a drinker

Drinker Not Drinker

Has Liver Disease 0.08 0.04

Does Not Have Liver Disease 0.32 0.56

Page 12: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.12Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Problems: Contingency TablesThe following table lists the joint probabilities associated with smoking and lung disease among 60 – 65 year old men.

HOW DO YOU GET THIS DATA?

One 60 – 65 year old man is selected at random. What is the probability of the following events?*He is a Smoker*He has lung disease*He has lung disease given he is a smoker*He is a Smoker “and” has lung disease*He is a Smoker “or” has lung disease

Is a Smoker Is a NonsmokerHe has Lung Disease 0.2 0.05He does not have Lung Disease 0.24 0.51

Page 13: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.13Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Independence…One of the objectives of calculating conditional probability is to determine whether two events are related.

In particular, we would like to know whether they are independent, that is, if the probability of one event is not affected by the occurrence of the other event.

Two events A and B are said to be independent ifP(A|B) = P(A)

orP(B|A) = P(B)

Page 14: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.14Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Probability Rules and Trees…

We introduce three rules that enable us to calculate the probability of more complex events from the probability of simpler events…

The Complement Rule

The Multiplication Rule

The Addition Rule

Page 15: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.15Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Complement Rule…

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

The complement rule gives us the probability of an event NOT occurring. That is:

P(AC) = 1 – P(A)

For example, in the simple roll of a die, the probability of the number “1” being rolled is 1/6. The probability that some number other than “1” will be rolled is 1 – 1/6 = 5/6.

Page 16: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.16Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Multiplication Rule…

The multiplication rule is used to calculate the probability of two events both occurring: P(A and B)

P(A and B) = P(A | B)•P(B)

Likewise, P(A and B) = P(B | A) • P(A)

If A and B are independent events, then P(A and B) = P(A)•P(B)

Page 17: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.17Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Addition Rule…

Addition rule provides a way to compute the probability of event A or B or both A and B occurring; i.e. the union of A and B.

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

Why do we subtract the joint probability P(A and B) from the sum of the probabilities of A and B?

Page 18: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.18Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Addition Rule…P(A1) = .11 + .29 = .40

P(B1) = .11 + .06 = .17

By adding P(A) plus P(B) we add P(A and B) twice. To correct we subtract P(A and B) from P(A) + P(B)

B1 B2 P(Ai)

A1.11 .29 .40

A2.06 .54 .60

P(Bj) .17 .83 1.00

P(A1 or B1) = P(A) + P(B) –P(A and B) .40 + .17 - .11 = .46

B1

A1

Page 19: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.19Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Addition Rule for Mutually Excusive EventsIf and A and B are mutually exclusive the occurrence of one event makes the other one impossible. This means that

P(A and B) = 0

The addition rule for mutually exclusive events is

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

Page 20: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.20Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Problelms: Probabilities

Suppose there are 20 students in this class, of whom 8 are operations management majors. Two students are drawn at random [without replacement –that means you do not put the first student selected back in population for the second draw]. Calculate the following probabilities.

*Probability both are operations management majors

*Probability only one is an operations management major.

Page 21: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.21Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Bayes’ Law…

Bayes’ Law is named for Thomas Bayes, an eighteenth century mathematician or had your instructor been born before the eighteenth century it would have been called Bakers’ Law

In its most basic form, if we know P(B | A),

we can apply Bayes’ Law to determine P(A | B)

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

for example …

Page 22: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.22Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Breaking News: New test for early detection of cancer has been developed.

LetC = event that patient has cancerCc = event that patient does not have cancer+ = event that the test indicates a patient has cancer- = event that the test indicates that patient does not have cancer

Clinical trials indicate that the test is accurate 95% of the time in detecting cancer for those patients who actually have cancer: P(+/C) = .95but unfortunately will give a “+” 8% of the time for those patients who are known not to have cancer: P(+/ Cc ) = .08

It has also been estimated that approximately 10% of the population have cancer and don’t know it yet: P(C) = .10

You take the test and receive a “+” test results. Should you be worried? P(C/+) = ?????

Page 23: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.23Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

P(+/C) = .95 P(+/ Cc ) = .08 P(C) = .10

Have Cancer: C Do Not Have Cancer: CC

+

-

True State of Nature

Tes

t R

esul

ts

Page 24: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.24Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Bayesian Terminology…

The probabilities P(C) and P(CC) are called prior probabilities because they are determined prior to the test being conducted.

The conditional probability P(C | +) is called a posterior probability (or revised probability), because the prior probability is revised after the results of the cancer test.

Page 25: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.25Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Problems: Bayes’ Law

The Rapid Test is used to determine whether someone has HIV. The

false positive and false negative rates are 0.05 and 0.09 respectively.

The doctor just received a positive test results on one of their patients

[assumed to be in a low risk group for HIV]. The low risk group is

known to have a 6% probability of having HIV. What is the

probability that this patient actually has HIV [after they tested

positive]. Feel free to use a table to work this problem

[there are also other ways to work the problem]

Page 26: Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. 6.1 Chapter Six Probability

6.26Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc.

Problem: Bayes’ Law

Transplant operations for hearts have the risk that the body may reject the organ. A new test has been developed to detect early warning signs that the body may be rejecting the heart. However, the test is not perfect. When the test is conducted on someone whose heart will be rejected, approximately two out of ten tests will be negative (the test is wrong). When the test is conducted on a person whose heart will not be rejected, 10% will show a positive test result (another incorrect result). Doctors know that in about 50% of heart transplants the body tries to reject the organ.

*Suppose the test was performed on my mother and the test is positive (indicating early warning signs of rejection). What is the probability that the body is attempting to reject the heart?

*Suppose the test was performed on my mother and the test is negative (indicating no signs of rejection). What is the probability that the body is attempting to reject the heart?