Chapter 7 Probability

Similar documents
Chapter Six Probability

1 / * / * / * / * / * The mean winnings are $1.80

Exam II Math 1342 Capters 3-5 HCCS. Name

Probability and Sample space

Chapter 8. Variables. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.

EXERCISES ACTIVITY 6.7

Ex 1) Suppose a license plate can have any three letters followed by any four digits.

(c) The probability that a randomly selected driver having a California drivers license

Lecture 6 Probability

Probability & Sampling The Practice of Statistics 4e Mostly Chpts 5 7

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

SHORT ANSWER. Write the word or phrase that best completes each statement or answers the question.

7.1: Sets. What is a set? What is the empty set? When are two sets equal? What is set builder notation? What is the universal set?

PRACTICE PROBLEMS CHAPTERS 14 & 15

Experimental Probability - probability measured by performing an experiment for a number of n trials and recording the number of outcomes

Part 10: The Binomial Distribution

5.2 Random Variables, Probability Histograms and Probability Distributions

Chapter 15 Trade-offs Involving Time and Risk. Outline. Modeling Time and Risk. The Time Value of Money. Time Preferences. Probability and Risk

PROBABILITY and BAYES THEOREM

Expectation Exercises.

2. Modeling Uncertainty

Chapter 6: Probability: What are the Chances?

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

6.1 Binomial Theorem

Chapter 10 Estimating Proportions with Confidence

STA Module 3B Discrete Random Variables

PROBABILITY AND STATISTICS CHAPTER 4 NOTES DISCRETE PROBABILITY DISTRIBUTIONS

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

Mathematical Concepts Joysheet 1 MAT 117, Spring 2011 D. Ivanšić. Name: Show all your work!

Mean, Variance, and Expectation. Mean

Event p351 An event is an outcome or a set of outcomes of a random phenomenon. That is, an event is a subset of the sample space.

Chapter 9: Markov Chain

STA Rev. F Learning Objectives. What is a Random Variable? Module 5 Discrete Random Variables

Probability and Sampling Distributions Random variables. Section 4.3 (Continued)

Problem Set #4. Econ 103. (b) Let A be the event that you get at least one head. List all the basic outcomes in A.

Discrete Random Variables; Expectation Spring 2014

A probability distribution shows the possible outcomes of an experiment and the probability of each of these outcomes.

Math 160 Professor Busken Chapter 5 Worksheets

MA 1125 Lecture 14 - Expected Values. Wednesday, October 4, Objectives: Introduce expected values.

AP Stats ~ Lesson 6B: Transforming and Combining Random variables

Chapter 5. Discrete Probability Distributions. McGraw-Hill, Bluman, 7 th ed, Chapter 5 1

3. The n observations are independent. Knowing the result of one observation tells you nothing about the other observations.

Examples: On a menu, there are 5 appetizers, 10 entrees, 6 desserts, and 4 beverages. How many possible dinners are there?

Math 251: Practice Questions Hints and Answers. Review II. Questions from Chapters 4 6

Unit 04 Review. Probability Rules

MATH1215: Mathematical Thinking Sec. 08 Spring Worksheet 9: Solution. x P(x)

Let d denote a distorted bit, and g and non-distorted bit.

Chapter 9. Idea of Probability. Randomness and Probability. Basic Practice of Statistics - 3rd Edition. Chapter 9 1. Introducing Probability

Probability. Logic and Decision Making Unit 1

STT 315 Practice Problems Chapter 3.7 and 4

NMAI059 Probability and Statistics Exercise assignments and supplementary examples October 21, 2017

The Binomial Distribution

Determine whether the given events are disjoint. 1) Drawing a face card from a deck of cards and drawing a deuce A) Yes B) No

Part 1 In which we meet the law of averages. The Law of Averages. The Expected Value & The Standard Error. Where Are We Going?

Review. What is the probability of throwing two 6s in a row with a fair die? a) b) c) d) 0.333

N(A) P (A) = lim. N(A) =N, we have P (A) = 1.

Chapter 5: Probability

Theoretical Foundations

Chapter 5: Discrete Probability Distributions

Probability Review. The Practice of Statistics, 4 th edition For AP* STARNES, YATES, MOORE

Chapter 14. From Randomness to Probability. Copyright 2010 Pearson Education, Inc.

Let X be the number that comes up on the next roll of the die.

Stat 210 Exam Two. MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question.

Homework Assignment Section 1

Example 1: Identify the following random variables as discrete or continuous: a) Weight of a package. b) Number of students in a first-grade classroom

Probability and Expected Utility

expl 1: Consider rolling two distinguishable, six-sided dice. Here is the sample space. Answer the questions that follow.

Chapter 7. Random Variables

Math M118 Class Notes For Chapter 9 By: Maan Omran

Price Theory Lecture 9: Choice Under Uncertainty

6.2.1 Linear Transformations

Life expectancy: A statistical measure of the average length of life from birth to death.

Problem Set 07 Discrete Random Variables

UNIVERSITY OF CAMBRIDGE INTERNATIONAL EXAMINATIONS General Certificate of Education Ordinary Level STATISTICS 4040/01

STUDY SET 1. Discrete Probability Distributions. x P(x) and x = 6.

Example - Let X be the number of boys in a 4 child family. Find the probability distribution table:

What is the probability of success? Failure? How could we do this simulation using a random number table?

A useful modeling tricks.

Mathematical Statistics İST2011 PROBABILITY THEORY (3) DEU, DEPARTMENT OF STATISTICS MATHEMATICAL STATISTICS SUMMER SEMESTER, 2017.

Chapter 6: Probability

Probability Part #3. Expected Value

Binomial Distributions

Part V - Chance Variability

Binomial distribution


THE UNIVERSITY OF TEXAS AT AUSTIN Department of Information, Risk, and Operations Management

Math 227 Practice Test 2 Sec Name

Binomial formulas: The binomial coefficient is the number of ways of arranging k successes among n observations.

Chapter 6: Probability

Chapter 1 Discussion Problem Solutions D1. D2. D3. D4. D5.

Should Win Limits Become a Part of Responsible Gambling?

MATH 008 LECTURE NOTES Dr JASON SAMUELS. Ch1 Whole Numbers $55. Solution: =81+495= = 36$

Chapter 4 and Chapter 5 Test Review Worksheet

EDCC charges $50 per credit. Let T = tuition charge for a randomly-selected fulltime student. T = 50X. Tuit. T $600 $650 $700 $750 $800 $850 $900

Final Exam Review Problems Math 13 Statistics Summer 2013

the number of correct answers on question i. (Note that the only possible values of X i

Homework Assignment Section 1

Exercises for Chapter (5)

Name PID Section # (enrolled)

Thank you very much for your participation. This survey will take you about 15 minutes to complete.

Transcription:

Chapter 7 Probability Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc.

7.1 Random Circumstances Random circumstance is one in which the outcome is unpredictable. Case Study 1.1 Alicia Has a Bad Day Doctor Visit: Diagnostic test comes back positive for a disease (D). Test is 95% accurate. About 1 out of 1000 women actually have D. Statistics Class: Professor randomly selects 3 separate students at the beginning of each class to answer questions. Alicia is picked to answer the third question. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 2

Random Circumstances in Alicia s Day Random Circumstance 1: Disease status Alicia has D. Alicia does not have D. Random Circumstance 2: Test result Test is positive. Test is negative. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 3

Random Circumstances in Alicia s Day Random Circumstance 3: 1 st student s name is drawn Alicia is selected. Alicia is not selected. Random Circumstance 4: 2 nd student s name is drawn Alicia is selected. Alicia is not selected. Random Circumstance 5: 3 rd student s name is drawn Alicia is selected. Alicia is not selected. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 4

Assigning Probabilities A probability is a value between 0 and 1 and is written either as a fraction or as a decimal fraction. A probability simply is a number between 0 and 1 that is assigned to a possible outcome of a random circumstance. For the complete set of distinct possible outcomes of a random circumstance, the total of the assigned probabilities must equal 1. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 5

7.2 Interpretations of Probability The Relative Frequency Interpretation of Probability In situations that we can imagine repeating many times, we define the probability of a specific outcome as the proportion of times it would occur over the long run -- called the relative frequency of that particular outcome. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 6

Example 7.1 Probability of Male versus Female Births Long-run relative frequency of males born in the United States is about.512. Information Please Almanac (1991, p. 815). Table provides results of simulation: the proportion is far from.512 over the first few weeks but in the long run settles down around.512. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 7

Determining the Relative Frequency Probability of an Outcome Method 1: Make an Assumption about the Physical World Example 7.2 A Simple Lottery Choose a three-digit number between 000 and 999. Player wins if his or her three-digit number is chosen. Suppose the 1000 possible 3-digit numbers (000, 001, 002,..., 999) are equally likely. In long run, a player should win about 1 out of 1000 times. This does not mean a player will win exactly once in every thousand plays. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 8

Determining the Relative Frequency Probability of an Outcome Method 1: Make an Assumption about the Physical World Example 7.3 Probability Alicia has to Answer a Question There are 50 student names in a bag. If names mixed well, can assume each student is equally likely to be selected. Probability Alicia will be selected to answer the first question is 1/50. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 9

Determining the Relative Frequency Probability of an Outcome Method 2: Observe the Relative Frequency Example 7.4 The Probability of Lost Luggage 1 in 176 passengers on U.S. airline carriers will temporarily lose their luggage. This number is based on data collected over the long run. So the probability that a randomly selected passenger on a U.S. carrier will temporarily lose luggage is 1/176 or about.006. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 10

Proportions and Percentages as Probabilities Ways to express the relative frequency of lost luggage: The proportion of passengers who lose their luggage is 1/176 or about.006. About 0.6% of passengers lose their luggage. The probability that a randomly selected passenger will lose his/her luggage is about.006. The probability that you will lose your luggage is about.006. Last statement is not exactly correct your probability depends on other factors (how late you arrive at the airport, etc.). Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 11

Estimating Probabilities from Observed Categorical Data Assuming data are representative, the probability of a particular outcome is estimated to be the relative frequency (proportion) with which that outcome was observed. Approximate margin of error for the estimated probability is 1 n Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 12

Example 7.5 Nightlights and Myopia Revisited Assuming these data are representative of a larger population, what is the approximate probability that someone from that population who sleeps with a nightlight in early childhood will develop some degree of myopia? Note: 72 + 7 = 79 of the 232 nightlight users developed some degree of myopia. So we estimate the probability to be 79/232 =.34. This estimate is based on a sample of 232 people with a margin of error of about.066 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 13

The Personal Probability Interpretation Personal probability of an event = the degree to which a given individual believes the event will happen. Sometimes subjective probability used because the degree of belief may be different for each individual. Restrictions on personal probabilities: Must fall between 0 and 1 (or between 0 and 100%). Must be coherent. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 14

7.3 Probability Definitions and Relationships Sample space: the collection of unique, nonoverlapping possible outcomes of a random circumstance. Simple event: one outcome in the sample space; a possible outcome of a random circumstance. Event: a collection of one or more simple events in the sample space; often written as A, B, C, and so on. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 15

Example 7.6 Days per Week of Drinking Random sample of college students. Q: How many days do you drink alcohol in a typical week? Simple Events in the Sample Space are: 0 days, 1 day, 2 days,, 7 days Event 4 or more is comprised of the simple events {4 days, 5 days, 6 days, 7 days} Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 16

Assigning Probabilities to Simple Events P(A) = probability of the event A Conditions for Valid Probabilities 1. Each probability is between 0 and 1. 2. The sum of the probabilities over all possible simple events is 1. Equally Likely Simple Events If there are k simple events in the sample space and they are all equally likely, then the probability of the occurrence of each one is 1/k. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 17

Example 7.2 A Simple Lottery (cont) Random Circumstance: A three-digit winning lottery number is selected. Sample Space: {000,001,002,003,...,997,998,999}. There are 1000 simple events. Probabilities for Simple Event: Probability any specific three-digit number is a winner is 1/1000. Assume all three-digit numbers are equally likely. Event A = last digit is a 9 = {009,019,...,999}. Since one out of ten numbers in set, P(A) = 1/10. Event B = three digits are all the same = {000, 111, 222, 333, 444, 555, 666, 777, 888, 999}. Since event B contains 10 events, P(B) = 10/1000 = 1/100. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 18

Complementary Events One event is the complement of another event if the two events do not contain any of the same simple events and together they cover the entire sample space. Notation: A C represents the complement of A. Note: P(A) + P(A C ) = 1 Example 7.2 A Simple Lottery (cont) A = player buying single ticket wins A C = player does not win P(A) = 1/1000 so P(A C ) = 999/1000 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 19

Mutually Exclusive Events Two events are mutually exclusive, or equivalently disjoint, if they do not contain any of the same simple events (outcomes). Example 7.2 A Simple Lottery (cont) A = all three digits are the same. B = the first and last digits are different The events A and B are mutually exclusive (disjoint), but they are not complementary. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 20

Independent and Dependent Events Two events are independent of each other if knowing that one will occur (or has occurred) does not change the probability that the other occurs. Two events are dependent if knowing that one will occur (or has occurred) changes the probability that the other occurs. The definitions can apply either to events within the same random circumstance or to events from two separate random circumstances. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 21

Example 7.7 Winning a Free Lunch Customers put business card in restaurant glass bowl. Drawing held once a week for free lunch. You and Vanessa put a card in two consecutive weeks. Event A = You win in week 1. Event B = Vanessa wins in week 1. Event C = Vanessa wins in week 2. Events A and B refer to the same random circumstance and are not independent. Events A and C refer to to different random circumstances and are independent. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 22

Example 7.3 Alicia Answering (cont) Event A = Alicia is selected to answer Question 1. Event B = Alicia is selected to answer Question 2. Events A and B refer to different random circumstances, but are A and B independent events? P(A) = 1/50. If event A occurs, her name is no longer in the bag, so P(B) = 0. If event A does not occur, there are 49 names in the bag (including Alicia s name), so P(B) = 1/49. Knowing whether A occurred changes P(B). Thus, the events A and B are not independent. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 23

Conditional Probabilities Conditional probability of the event B, given that the event A occurs, is the long-run relative frequency with which event B occurs when circumstances are such that A also occurs; written as P(B A). P(B) = unconditional probability event B occurs. P(B A) = probability of B given A = conditional probability event B occurs given that we know A has occurred or will occur. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 24

Example 7.8 Probability That a Teenager Gambles Depends upon Gender Survey: 78,564 students (9 th and 12 th graders) The proportions of males and females admitting they gambled at least once a week during the previous year were reported. Results for 9 th grade: P(student is weekly gambler teen is boy) =.20 P(student is weekly gambler teen is girl) =.05 Notice dependence between weekly gambling habit and gender. Knowledge of a 9 th grader s gender changes probability that he/she is a weekly gambler. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 25

7.4 Basic Rules for Finding Probabilities Probability an Event Does Not Occur Rule 1 (for not the event ): P(A C ) = 1 P(A) Example 7.9 Probability a Stranger Does Not Share Your Birth Date P(next stranger you meet will share your birthday) = 1/365. P(next stranger you meet will not share your birthday) = 1 1/365 = 364/365 =.9973. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 26

Probability That Either of Two Events Happen Rule 2 (addition rule for either/or ): Rule 2a (general): P(A or B) = P(A) + P(B) P(A and B) Rule 2b (for mutually exclusive events): If A and B are mutually exclusive events, P(A or B) = P(A) + P(B) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 27

Example 7.10 Roommate Compatibility Brett is off to college. There are 1000 male students. Brett hopes his roommate will not like to party and not snore. Snores? Yes No Total Likes to Yes 150 100 250 Party? No 200 550 750 350 650 1000 A = likes to party P(A) = 250/1000 =.25 B = snores P(B) = 350/1000 =.35 Probability Brett will be assigned a roommate who either likes to party or snores, or both is: P(A or B) = P(A) + P(B) P(A and B) =.25 +.35.15 =.45 So the probability his roommate is acceptable is 1.45 =.55 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 28

Example 7.11 Probability of Two Boys or Two Girls in Two Births What is the probability that a woman who has two children has either two girls or two boys? Recall that the probability of a boy is.512 and probability of a girl is.488. Then we have (using Rule 3b): Event A = two girls P(A) = (.488)(.488) =.2381 Event B = two boys P(B) = (.512)(.512) =.2621 Note: Events A and B are mutually exclusive (disjoint). Probability woman has either two boys or two girls is: P(A or B) = P(A) + P(B) =.2381 +.2621 =.5002 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 29

Probability That Two or More Events Occur Together Rule 3 (multiplication rule for and ): Rule 3a (general): P(A and B) = P(A)P(B A) Rule 3b (for independent events): If A and B are independent events, P(A and B) = P(A)P(B) Extension of Rule 3b (for > 2 indep events): For several independent events, P(A 1 and A 2 and and A n ) = P(A 1 )P(A 2 ) P(A n ) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 30

Example 7.8 Probability of Male and Gambler (cont) For 9 th graders, 22.9% of the boys and 4.5% of the girls admitted they gambled at least once a week during the previous year. The population consisted of 50.9% girls and 49.1% boys. Event A = male Event B = weekly gambler P(A) =.491 P(B A) =.229 P(male and gambler) = P(A and B) = P(A)P(B A) = (.491)(.229) =.1124 About 11% of all 9 th graders are males and weekly gamblers. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 31

Example 7.12 Probability Two Strangers Both Share Your Birth Month Assume all 12 birth months are equally likely. What is the probability that the next two unrelated strangers you meet both share your birth month? Event A = 1 st stranger shares your birth month P(A) = 1/12 Event B = 2 nd stranger shares your birth month P(B) = 1/12 Note: Events A and B are independent. P(both strangers share your birth month) = P(A and B) = P(A)P(B) = (1/12)(1/12) =.007 Note: The probability that 4 unrelated strangers all share your birth month would be (1/12) 4. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 32

Determining a Conditional Probability Rule 4 (conditional probability): P(B A) = P(A and B)/P(A) P(A B) = P(A and B)/P(B) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 33

Example 7.13 Alicia Answering If we know Alicia is picked to answer one of the questions, what is the probability it was the first question? A = Alicia selected to answer Question 1, P(A) = 1/50 B = Alicia is selected to answer any one of the questions, P(B) = 3/50 Since A is a subset of B, P(A and B) = 1/50 P(A B) = P(A and B)/P(B) = (1/50)/(3/50) = 1/3 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 34

In Summary Students sometimes confuse the definitions of independent and mutually exclusive events. When two events are mutually exclusive and one happens, it turns the probability of the other one to 0. When two events are independent and one happens, it leaves the probability of the other one alone. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 35

In Summary When Events Are: P(A or B) is: P(A and B) is: P(A B) is: Mutually P(A)+P(B) 0 0 Exclusive Independent P(A)+P(B)-P(A)P(B) P(A)P(B) P(A) Any P(A)+P(B)-P(A and B) P(A)P(B A) P(A and B)/P(B) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 36

Sampling with and without Replacement A sample is drawn with replacement if individuals are returned to the eligible pool for each selection. A sample is drawn without replacement if sampled individuals are not eligible for subsequent selection. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 37

7.5 Strategies for Finding Complicated Probabilities Example 7.2 Winning the Lottery Event A = winning number is 956. What is P(A)? Method 1: With physical assumption that all 1000 possibilities are equally likely, P(A) = 1/1000. Method 2: Define three events, B 1 = 1 st digit is 9, B 2 = 2 nd digit is 5, B 3 = 3 rd digit is 6 Event A occurs if and only if all 3 of these events occur. Note: P(B 1 ) = P(B 2 ) = P(B 3 ) = 1/10. Since these events are all independent, we have P(A) = (1/10) 3 = 1/1000. * Can be more than one way to find a probability. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 38

Hints and Advice for Finding Probabilities P(A and B): define event in physical terms and see if know probability. Else try multiplication rule (Rule 3). Series of independent events all happen: multiply all individual probabilities (Extension of Rule 3b) One of a collection of mutually exclusive events happens: add all individual probabilities (Rule 2b extended). Check if probability of complement easier, then subtract it from 1 (applying Rule 1). Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 39

Hints and Advice for Finding Probabilities None of a collection of mutually exclusive events happens: find probability one happens, then subtract that from 1. Conditional probability: define event in physical terms and see if know probability. Else try Rule 4 or next bullet as well. Know P(B A) but want P(A B): Use Rule 3a to find P(B) = P(A and B) + P(A C and B), then use Rule 4. P( A and B) P( A B) = C C P( B A) P( A) + P( B A ) P( A ) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 40

Steps for Finding Probabilities Step 1: List each separate random circumstance involved in the problem. Step 2: List the possible outcomes for each random circumstance. Step 3: Assign whatever probabilities you can with the knowledge you have. Step 4: Specify the event for which you want to determine the probability. Step 5: Determine which of the probabilities from step 3 and which probability rules can be combined to find the probability of interest. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 41

Example 7.17 Alicia Is Probably Healthy What is the probability that Alicia has the disease given that the test was positive? Steps 1 to 3: Random circumstances, outcomes, probabilities. Random circumstance 1: Alicia s disease status Possible Outcomes: A = disease; A C = no disease Probabilities: P(A) = 1/1000 =.001; P(A C ) =.999 Random circumstance 2: Alicia s test results Possible Outcomes: B = test is positive, B C = test is negative Probabilities: P(B A) =.95 (positive test given disease) P(B C A) =.05 (negative test given disease) P(B A C ) =.05 (positive test given no disease) P(B C A C ) =.95 (negative test given no disease) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 42

Example 7.17 Alicia Healthy? (cont) Step 4: Specify event you want to determine the probability. P(disease positive test) = P(A B). Step 5: Determine which probabilities and probability rules can be combined to find the probability of interest. Note we have P(B A) and we want P(A B). Hints tell us to use P(B) = P(A and B) + P(A C and B). Note P(A and B) = P(B A)P(A), similarly for P(A C and B). So P(A C and B) = P(B A C )P(A C ) = (.05)(.999) =.04995 P(A and B) = P(B A)P(A) = (.95)(.001) =.00095 P(B) =.04995 +.00095 =.0509 P( A and B).00095 P( A B) = = =.019 P( B).0509 There is less than a 2% chance that Alicia has the disease, even though her test was positive. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 43

Two-Way Table: Hypothetical Hundred Thousand Example 7.8 Teens and Gambling (cont) Sample of 9 th grade teens: 49.1% boys, 50.9% girls. Results: 22.9% of boys and 4.5% of girls admitted they gambled at least once a week during previous year. Start with hypothetical 100,000 teens (.491)(100,000) = 49,100 boys and thus 50,900 girls Of the 49,100 boys, (.229)(49,100) = 11,244 would be weekly gamblers. Of the 50,900 girls, (.045)(50,900) = 2,291 would be weekly gamblers. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 44

Example 7.8 Teens and Gambling (cont) Weekly Gambler Not Weekly Gambler Total Boy 11,244 37,856 49,100 Girl 2,291 48,609 50,900 Total 13,535 86,465 100,000 P(boy and gambler) = 11,244/100,000 =.1124 P(boy gambler) = 11,244/13,535 =.8307 P(gambler) = 13,535/100,000 =.13535 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 45

Tree Diagrams Step 1: Determine first random circumstance in sequence, and create first set of branches for possible outcomes. Create one branch for each outcome, write probability on branch. Step 2: Determine next random circumstance and append branches for possible outcomes to each branch in step 1. Write associated conditional probabilities on branches. Step 3: Continue this process for as many steps as necessary. Step 4: To determine the probability of following any particular sequence of branches, multiply the probabilities on those branches. This is an application of Rule 3a. Step 5: To determine the probability of any collection of sequences of branches, add the individual probabilities for those sequences, as found in step 4. This is an application of Rule 2b. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 46

Example 7.18 Alicia s Possible Fates P(Alicia has D and has a positive test) =.00095. P(test is positive) =.00095 +.04995 =.0509. P(Alicia has D positive test) =.00095/.0509 =.019 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 47

Example 7.8 Teens and Gambling (cont) P(boy and gambler) = (.491)(.229) =.1124 P(girl and not gambler) = (.509)(.955) =.4861 P(gambler) =.1124 +.0229 =.1353 P(boy gambler) =.1124/.1353 =.8307 Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 48

7.6 Using Simulation to Estimate Probabilities Some probabilities so difficult or timeconsuming to calculate easier to simulate. If you simulate the random circumstance n times and the outcome of interest occurs in x out of those n times, then the estimated probability for the outcome of interest is x/n. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 49

Example 7.19 Getting All the Prizes Cereal boxes each contain one of four prizes. Any box is equally likely to contain each of the four prizes. If buy 6 boxes, what is the probability you get all 4 prizes? Shown above are 50 simulations of generating a set of 6 digits, each equally likely to be 1, 2, 3, or 4. There are 19 bold outcomes in which all 4 prizes were collected. The estimated probability is 19/50 =.38. (Actual probability is.3809.) Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 50

7.7 Coincidences & Intuitive Judgments about Probability Confusion of the Inverse Example: Diagnostic Testing Confuse the conditional probability have the disease given a positive test result -- P(Disease Positive), with the conditional probability of a positive test result given have the disease -- P(Positive Disease), also known as the sensitivity of the test. Often forget to incorporate the base rate for a disease. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 51

Specific People versus Random Individuals The chance that your marriage will end in divorce is 50%. Does this statement apply to you personally? If you have had a terrific marriage for 30 years, your probability of ending in divorce is surely less than 50%. Two correct ways to express the aggregate divorce statistics: In long run, about 50% of marriages end in divorce. At the beginning of a randomly selected marriage, the probability it will end in divorce is about.50. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 52

Coincidences A coincidence is a surprising concurrence of events, perceived as meaningfully related, with no apparent causal connection. Example 7.23 Winning the Lottery Twice In 1986, Ms. Adams won the NJ lottery twice in a short time period. NYT claimed odds of one person winning the top prize twice were about 1 in 17 trillion. Then in 1988, Mr. Humphries won the PA lottery twice. 1 in 17 trillion = probability that a specific individual who plays the lottery exactly twice will win both times. Millions of people play the lottery. It is not surprising that someone, somewhere, someday would win twice. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 53

The Gambler s Fallacy The gambler s fallacy is the misperception of applying a long-run frequency in the short-run. Primarily applies to independent events. Independent chance events have no memory. Example: Making ten bad gambles in a row doesn t change the probability that the next gamble will also be bad. Copyright 2004 Brooks/Cole, a division of Thomson Learning, Inc. 54