2 Probability. A. A basketball player shoots three free throws. What are the possible sequences of hits (H) and misses (M)? H H H - HHH M … M M - HHM.

Slides:



Advertisements
Similar presentations
Probability Part II.
Advertisements

Probability: The Study of Randomness Chapter Randomness Think about flipping a coin n times If n = 2, can have 2 heads (100% heads), 1 heads and.
Probability What Are the Chances?. Section 1 The Basics of Probability Theory Objectives: Be able to calculate probabilities by counting the outcomes.
Dealing with Data Probability. What’s the probability? What’s the probability of the spinner stopping in the yellow section. (All the sections are equal.)
Birthday Problem What is the smallest number of people you need in a group so that the probability of 2 or more people having the same birthday is greater.
Objectives (BPS chapter 10) Introducing probability  The idea of probability  Probability models  Probability rules  Discrete sample space  Continuous.
Probability: The Study of Randomness Randomness and Probability Models IPS Chapters 4.1 and 4.2 © 2009 W.H. Freeman and Company.
Introducing probability BPS chapter 10 © 2006 W. H. Freeman and Company Brigitte Baldi, University of California, Irvine Ellen Gundlach, Purdue University.
Randomness and Probability
Randomness and probability
Probability and inference Randomness; Probability models IPS chapters 4.1 and 4.2 © 2006 W.H. Freeman and Company.
COUNTING AND PROBABILITY
Introducing probability BPS chapter 10 © 2006 W. H. Freeman and Company These PowerPoint files were developed by Brigitte Baldi at the University of California,
MA-250 Probability and Statistics Nazar Khan PUCIT Lecture 13.
Chapter 14 Probability Basics Laws of Probability Odds and Probability Probability Trees.
MAT 103 Probability In this chapter, we will study the topic of probability which is used in many different areas including insurance, science, marketing,
Probability, Part II.
Objectives (BPS chapter 12) General rules of probability  Independence and the multiplication rule  The general addition rule  Conditional probability.
Objectives (BPS chapter 12)
Probability.
The probability of an event based on the fact that some other event has occurred, will occur, or is occurring. P(B/A) = Conditional Probability The probability.
Introduction to Probability. Learning Objectives By the end of this lecture, you should be able to: – Define the term sample space and event space. Be.
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.1, Slide 1 13 Probability What Are the Chances?
Chapter 6 Probabilit y Vocabulary Probability – the proportion of times the outcome would occur in a very long series of repetitions (likelihood of an.
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Section 1.1, Slide 1 Copyright © 2014, 2010, 2007 Pearson Education, Inc. Section 13.1, Slide 1 13 Probability What Are the Chances?
Probability: The Study of Randomness
“PROBABILITY” Some important terms Event: An event is one or more of the possible outcomes of an activity. When we toss a coin there are two possibilities,
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Probability and inference General probability rules IPS chapter 4.5 © 2006 W.H. Freeman and Company.
Probability Theory General Probability Rules. Objectives General probability rules  Independence and the multiplication rule  Applying the multiplication.
Probability—outline: IIntroduction to Probability ASatisfactory outcomes vs. total outcomes BBasic Properties CTerminology IICombinatory Probability AThe.
Warm-Up A woman and a man (unrelated) each have two children .
Probability and Sampling Distributions Randomness and Probability Models PBS Chapters 4.1 and 4.2 © 2009 W.H. Freeman and Company.
Probability and Simulation GENERATING SAMPLE SPACE.
Chapter 4 Lecture 3 Sections: 4.4 – 4.5. Multiplication Rule Recall that we used addition for the P(A or B). the word “or” in P(A or B) suggests addition.
Section 11.4 Tree Diagrams, Tables, and Sample Spaces Math in Our World.
Independent Events OBJ: Find the probability of independent events.
UNIT 6 – PROBABILITY BASIC PROBABILITY. WARM UP Look through your notes to answer the following questions Define Sample Set and describe the sample set.
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
A phenomenon is random if individual outcomes are uncertain, but there is nonetheless a regular distribution of outcomes in a large number of repetitions.
Dr. Fowler AFM Unit 7-8 Probability. Copyright © 2012 Pearson Education, Inc. Publishing as Prentice Hall.
Introducing probability BPS chapter 9 © 2006 W. H. Freeman and Company.
Quiz 6.3C Here are the counts (in thousands) of earned degrees in the United States in a recent year, classified by level and by the sex of the degree.
Chapter 6 Day 2. Multiplication Principle – if you do one task a number of ways and a second task b number of ways, then both tasks can be done a x b.
Copyright © Cengage Learning. All rights reserved. 2 Probability.
Statistics for Business and Economics Module 1:Probability Theory and Statistical Inference Spring 2010 Lecture 2: Probability and discrete random variables.
Probability and Sampling Distributions Randomness and Probability Models PBS Chapters 4.1 and 4.2 © 2009 W.H. Freeman and Company.
Probability and Sample Space…….
Probability and Counting Rules
Probability: The Study of Randomness 4. 1 Randomness 4
Randomness and probability
Example Suppose that a deck of 52 cards containing four aces is shuffled thoroughly and the cards are then distributed among four players so that each.
Chapters 4 Probability Distributions
Probability and Sample space
Moore Chapter 4 and Guan chapter 3
CHAPTER 12: Introducing Probability
Unit 4 Probability Basics
Lecture 11 Sections 5.1 – 5.2 Objectives: Probability
Probability—outline:
Introducing probability
Probability: The Study of Randomness
I flip a coin two times. What is the sample space?
The Practice of Statistics for Business and Economics Third Edition
Chapter 4 Lecture 3 Sections: 4.4 – 4.5.
Probability, Part II.
Introduction to Probability
Introduction to Probability
Presentation transcript:

2 Probability

A. A basketball player shoots three free throws. What are the possible sequences of hits (H) and misses (M)? H H H - HHH M … M M - HHM H - HMH M - HMM … S = { HHH, HHM, HMH, HMM, MHH, MHM, MMH, MMM } Note: 8 elements, 2 3 B. A basketball player shoots three free throws. What is the number of baskets made? S = { 0, 1, 2, 3 } C. A nutrition researcher feeds a new diet to a young male white rat. What are the possible outcomes of weight gain (in grams)? S = (all numbers ≥ 0) Example: sample spaces It’s the question that determines the sample space.

A = { HMM, HHM, HHH, HMH} 2. What is the event that a basketball player misses two out of three free throws? A = { HMM, MHM, MMH } 3. A nutrition researcher feeds a new diet to a young male white rat. What is the event that weight gain is less than 10 gram? Example: events It’s the question that determines events. S = [ 0, 10 ) 1. A basketball player shoots three free throws. What is the event that a play hits the first free throw?

Example For the experiment in which the number of pumps in use at a single six- pump gas station is observed, let A = {0, 1, 2, 3, 4}, B = {3, 4, 5, 6}, and C = {1, 3, 5}. Then A = {5, 6}, A  B = {0, 1, 2, 3, 4, 5, 6} = S, A  C = {0, 1, 2, 3, 4, 5}, A  B = {3, 4}, A  C = {1, 3}, (A  C) = {0, 2, 4, 5, 6}

Example: If you flip two coins, and the first flip does not affect the second flip: S = {HH, HT, TH, TT}. The probability of each of these events is 1/4, or The probability that you obtain “only heads or only tails” is: P(HH or TT) = P(HH) + P(TT) = = 0.50 What is the probability of randomly drawing either an ace or a heart from a deck of 52 playing cards? There are 4 aces in the pack and 13 hearts. However, 1 card is both an ace and a heart. Thus: P(ace or heart)= P(ace) + P(heart) – P(ace and heart) = 4/ /52 - 1/52 = 16/52 ≈.3

M&M candies ColorBrownRedYellowGreenOrangeBlue Probability ? If you draw an M&M candy at random from a bag, the candy will have one of six colors. The probability of drawing each color depends on the proportions manufactured, as described here: What is the probability that an M&M chosen at random is blue? What is the probability that a random M&M is either red, yellow, or orange? S = {brown, red, yellow, green, orange, blue} P(S) = P(brown) + P(red) + P(yellow) + P(green) + P(orange) + P(blue) = 1 P(blue)= 1 – [P(brown) + P(red) + P(yellow) + P(green) + P(orange)] = 1 – [ ] = 0.1 P(red or yellow or orange) = P(red) + P(yellow) + P(orange) = = 0.5

Dice You toss two dice. What is the probability of the outcomes summing to 5? There are 36 possible outcomes in S, all equally likely (given fair dice). Thus, the probability of any one of them is 1/36. P(the roll of two dice sums to 5) = P(1,4) + P(2,3) + P(3,2) + P(4,1) = 4 / 36 = This is S: {(1,1), (1,2), (1,3), ……etc.}

 A couple wants three children. What are the arrangements of boys (B) and girls (G)? Genetics tell us that the probability that a baby is a boy or a girl is the same, 0.5. Sample space: {BBB, BBG, BGB, GBB, GGB, GBG, BGG, GGG}  All eight outcomes in the sample space are equally likely. The probability of each is thus 1/8.  Each birth is independent of the next, so we can use the multiplication rule. Example: P(BBB) = P(B)* P(B)* P(B) = (1/2)*(1/2)*(1/2) = 1/8 A couple wants three children. What are the numbers of girls (X) they could have? The same genetic laws apply. We can use the probabilities above and the addition rule for disjoint events to calculate the probabilities for X. Sample space: {0, 1, 2, 3}  P(X = 0) = P(BBB) = 1/8  P(X = 1) = P(BBG or BGB or GBB) = P(BBG) + P(BGB) + P(GBB) = 3/8 …

Example Suppose that of all individuals buying a certain digital camera, 60% include an optional memory card in their purchase, 40% include an extra battery, and 30% include both a card and battery. Consider randomly selecting a buyer and let A = {memory card purchased} and B = {battery purchased}. Then P(A) =.60, P(B) =.40, P(both purchased) = P(A ∩ B) =.30

Example Given that the selected individual purchased an extra battery, the probability that an optional card was also purchased is That is, of all those purchasing an extra battery, 75% purchased an optional memory card. Similarly, P (battery | memory card) = Notice that  P(A) and  P(B).

Example Four individuals have responded to a request by a blood bank for blood donations. None of them has donated before, so their blood types are unknown. Suppose only type O+ is desired and only one of the four actually has this type. If the potential donors are selected in random order for typing, what is the probability that at least three individuals must be typed to obtain the desired type? Making the identification B = {first type not O+} and A = {second type not O+}, P(B) =

Example Given that the first type is not O+, two of the three individuals left are not O+, so The multiplication rule now gives P (at least three individuals are typed) = P(A ∩ B)

Independent Events What is the probability of randomly drawing two hearts from a deck of 52 playing cards if the first card is replaced (and the cards re-shuffled) before the second card is drawn. P(A) = 1/4P(B | A) = 13/52 = 1/4  P(A and B) = P(A)* P(B) = (1/4)*(1/4) = 1/16 Notice that the two draws are independent events if the first card is replaced before the second card is drawn.

Example It is known that 30% of a certain company’s washing machines require service while under warranty, whereas only 10% of its dryers need such service. If someone purchases both a washer and a dryer made by this company, what is the probability that both machines will need warranty service?

Example Let A denote the event that the washer needs service while under warranty, and let B be defined analogously for the dryer. Then P(A) =.30 and P(B) =.10. Assuming that the two machines will function independently of one another, the desired probability is P(A  B) = P(A)  P(B) = (.30)(.10) =.03 cont’d

Breast cancer screening Cancer No cancer Mammography Positive Negative Positive Negative Disease incidence Diagnosis sensitivity Diagnosis specificity False negative False positive Incidence of breast cancer among women ages 20–30 Mammography performance If a woman in her 20s gets screened for breast cancer and receives a positive test result, what is the probability that she does have breast cancer? She could either have a positive test and have breast cancer or have a positive test but not have cancer (false positive).

Cancer No cancer Mammography Positive Negative Positive Negative Disease incidence Diagnosis sensitivity Diagnosis specificity False negative False positive Incidence of breast cancer among women ages 20–30 Mammography performance Possible outcomes given the positive diagnosis: positive test and breast cancer or positive test but no cancer (false positive). This value is called the positive predictive value, or PV+. It is an important piece of information but, unfortunately, is rarely communicated to patients.

Bayes’s rule An important application of conditional probabilities is Bayes’s rule. It is the foundation of many modern statistical applications beyond the scope of this textbook. * If a sample space is decomposed in k disjoint events, A 1, A 2, …, A k — none with a null probability but P(A 1 ) + P(A 2 ) + … + P(A k ) = 1, * And if C is any other event such that P(C) is not 0 or 1, then: However, it is often intuitively much easier to work out answers with a probability tree than with these lengthy formulas.

If a woman in her 20s gets screened for breast cancer and receives a positive test result, what is the probability that she does have breast cancer? Cancer No cancer Mammography Positive Negative Positive Negative Disease incidence Diagnosis sensitivity Diagnosis specificity False negative False positive Incidence of breast cancer among women ages 20–30 Mammography performance This time, we use Bayes’s rule: A1 is cancer, A2 is no cancer, C is a positive test result.