Lesson 6 - R Probability and Simulation: The Study of Randomness.

Slides:



Advertisements
Similar presentations
Multiplication Rule We now discuss the situation when both events A and B occur.
Advertisements

5.1 day 2 Simulations! .
Warm-up Define the sample space of each of the following situations…
Probability Rules Section 4.2 Created by Laura Ralston.
Probability Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are equally likely.
Chapter 6 Probability and Simulation
1 Chapter 3 Probability 3.1 Terminology 3.2 Assign Probability 3.3 Compound Events 3.4 Conditional Probability 3.5 Rules of Computing Probabilities 3.6.
Presentation 5. Probability.
Section 5.1 and 5.2 Probability
Chapter 4 Probability and Probability Distributions
Probability and Simulation: The Study of Randomness
1 Chapter 6: Probability— The Study of Randomness 6.1The Idea of Probability 6.2Probability Models 6.3General Probability Rules.
Lesson 5 - R Chapter 5 Review.
4-4 Multiplication Rules and Conditional Probability Objectives -understand the difference between independent and dependent events -know how to use multiplication.
Applying the ideas: Probability
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 Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are equally likely.
Lesson Conditional Probability and the General Multiplication Rule.
Probability of Independent and Dependent Events
NOTES: Page 40. Probability Denoted by P(Event) This method for calculating probabilities is only appropriate when the outcomes of the sample space are.
Sample space The set of all possible outcomes of a chance experiment –Roll a dieS={1,2,3,4,5,6} –Pick a cardS={A-K for ♠, ♥, ♣ & ♦} We want to know the.
Introduction to Probability
11/20/ Probability Rules.
1 Probability. 2 Today’s plan Probability Notations Laws of probability.
AP Statistics Exam Review
Warm-Up 1. What is Benford’s Law?
HOMEWORK QUESTIONS?. 5.2 TWO-WAY TABLES PROBABILITY MODELS A probability model describes chance behavior by listing the possible outcomes in the sample.
©The McGraw-Hill Companies, Inc. 2008McGraw-Hill/Irwin A Survey of Probability Concepts Chapter 5.
Conditional Probability CHAPTER 4.3. INTRO TO VENN DIAGRAMS - PETS.
Sec 4.4 The multiplication Rule and conditional probability.
Section 5.3 Conditional Probability and Independence
Topic 4A: Independent and Dependent Events Using the Product Rule
Lesson 6 – 2b Probability Models Part II. Knowledge Objectives Explain what is meant by random phenomenon. Explain what it means to say that the idea.
Copyright © 2010 Pearson Education, Inc. Chapter 6 Probability.
Lesson 6 – 3b General Probability Rules Taken from
Introduction  Probability Theory was first used to solve problems in gambling  Blaise Pascal ( ) - laid the foundation for the Theory of Probability.
QR 32 Section #6 November 03, 2008 TA: Victoria Liublinska
Probability of Independent and Dependent Events CCM2 Unit 6: Probability.
HOW WOULD YOU SOLVE THE FOLLOWING SCENARIOS? If we know the blood types of a man and a woman, what can we say about the blood types of their future children?
+ Chapter 5 Probability: What Are the Chances? 5.1Randomness, Probability, and Simulation 5.2Probability Rules 5.3Conditional Probability and Independence.
PROBABILITY THEORY RULES OF PROBABILITY - review Rule 1: 0  P(A)  1 for any event A –Any probability is a number between 0 and 1 Rule 2: P(S) = 1 –All.
Independent Events Lesson Starter State in writing whether each of these pairs of events are disjoint. Justify your answer. If the events.
Unit 4 Section : Conditional Probability and the Multiplication Rule  Conditional Probability (of event B) – probability that event B occurs.
+ Chapter 5 Probability: What Are the Chances? 5.1Randomness, Probability, and Simulation 5.2Probability Rules 5.3Conditional Probability and Independence.
5-Minute Check on Section 6-2a Click the mouse button or press the Space Bar to display the answers. 1.If you have a choice from 6 shirts, 5 pants, 10.
Week 21 Rules of Probability for all Corollary: The probability of the union of any two events A and B is Proof: … If then, Proof:
Chapter 4 Probability Concepts Events and Probability Three Helpful Concepts in Understanding Probability: Experiment Sample Space Event Experiment.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules.
Unit 6 Probability & Simulation: the Study of randomness Simulation Probability Models General Probability Rules.
5-Minute Check on Chapter 5 Click the mouse button or press the Space Bar to display the answers. 1.What can help detect “cause-and-effect” relationships?
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
Sections 3-3 and 3-4 Probability. PROBABILITY AND STATISTICS CHAPTER 3 NOTES WARM-UP Respondents in three cities were asked whether they would buy a new.
1 What Is Probability?. 2 To discuss probability, let’s begin by defining some terms. An experiment is a process, such as tossing a coin, that gives definite.
Probability II.
Section 5.1 and 5.2 Probability
Independence and Conditional Probability
Tomorrow, Friday Feb 24, is the deadline for registering and paying for AP Exams. If you have not taken care of this, you need to do it immediately. It.
A casino claims that its roulette wheel is truly random
Dates of … Quiz 5.4 – 5.5 Chapter 5 homework quiz Chapter 5 test
Tree Diagrams A group of males and females were surveyed to find out whether they were left-handed or right-handed. In the group, 55% were male. Of.
A casino claims that its roulette wheel is truly random
General Probability Rules
Section 6.2 Probability Models
Click the mouse button or press the Space Bar to display the answers.
Click the mouse button or press the Space Bar to display the answers.
CHAPTER 5 Probability: What Are the Chances?
Click the mouse button or press the Space Bar to display the answers.
Chapter 6: Probability: What are the Chances?
Presentation transcript:

Lesson 6 - R Probability and Simulation: The Study of Randomness

Objectives Perform a simulation of a probability problem using a table of random numbers or technology Use the basic rules of probability to solve probability problems Write out the sample space for a random phenomenon, and use it to answer probability questions Describe what is meant by the intersection and union of two events Discuss the concept of independence Use general addition and multiplication rules to solve probability problems Solve problems involving conditional probability, using Bayes’s rule when appropriate

Vocabulary none new

Simulation Imitation of chance behavior based on a model that accurately reflects phenomenon under consideration Can use our calculator in many ways –ProbSim application –Random number generation Can use a random number table (table b in book) 1.State the problem or describe the random phenomenon 2.State the assumptions 3.Assign digits to represent outcomes 4.Simulate many repetitions (trials) 5.State your conclusions

Probability Rules 0 ≤ P(any event) ≤ 1 ∑ P(all events) = 1 (∑ is summation) P(certainty) = 1 and P(impossibility) = 0 Complement Rule: P(not occurring) = 1 – P(occurring) Disjoint Events Rule: If two events have no outcomes in common (disjoint), then P(A or B) = P(A) + P(B) Multiplication Rule: If A and B are independent (knowing if one event occurs does not change the probability of the other event), then P(A and B) = P(A)  P(B) At least Probabilities: P(at least one) = 1 – P(complement of “at least one”) = 1 – P(none)

General Multiplication Rule General Multiplication Rule: Probability that two events A and B both occur (regardless of independence) is P(A and B) = P(A  B) = P(A) ∙ P(B | A) where P(B | A) is a conditional probability read as the probability of B given that A has occurred Conditional Probabilities: If A and B are any two events, then P(A and B) N(A and B) P(B | A) = = P(A) N(A) where N is the number of outcomes

Independence in Terms of Conditional Probability Two events A and B are independent if P(B | A) = P(B) Example: P(A = Rolling a six on a single die) = 1/6 P(B = Rolling a six on a second roll) = 1/6 no matter what was rolled on the first roll!! So probability of rolling a 6 on the second roll, given you rolled a six on the first is still 1/6 P(B | A) = P(B) so A and B are independent

Tree Diagram Tree diagrams can be used to determine right-end (conditional) probabilities by multiplying the probabilities as you get to the right end Good analysis tool for AP problems Sex Female Male Left-handed Right-handed Left-handed Right-handed = 0.55  = 0.55  = 0.45  = 0.45 

Contingency Tables MaleFemaleTotal Right handed Left handed12820 Total What is the probability of left-handed given that it is a male? 2.What is the probability of female given that they were right- handed? 3.What is the probability of being left-handed? P(LH | M) = 12/60 = 0.20 P(F| RH) = 42/90 = P(LH) = 20/110 = Contingency tables are easy ways to show conditional probabilities. Givens eliminate other rows and columns from the calculations as seen in the examples below:

Summary and Homework Summary Homework –pg 459 – 60; 6-98, 99,

Problem 1a At a recent movie, 1000 patrons (560 females and 440 males) were asked whether or not they liked the film. In was determined that 355 females liked the film and 250 males said they enjoyed it also. If a person is randomly selected from the moviegoers what is the probability that the moviegoers was: a) male? b) a female and liked the film c) a male or someone who disliked the film? d) a male and disliked the film? e) a male given they liked the film? f) someone who liked the film given they were a female? g) Are sex and film preference independent? P(m) = 440/1000 = 0.44 P(F & L) = 0.56 * 355/560 = 0.44 P(m or DL) = 0.44 P(m & DL) = 0.44 P(m|L) = 250/605 = 0. P(L|F) = 355/560 = 0. P(M|L) = P(M)

Problem 1b If P(A) =.3 and P(B) =.45 and events A and B are mutually exclusive find P(A or B). Mutually Exclusive  P(A and B) = 0!! P(A or B) = P(A) + P(B) – P(A and B) P(A or B) = = 0.75

Problem 1c When spot-checked for safety, automobiles are found to defective tires 15% of the time, defective lights 25% of the time, and both defective tires and lights 8% of the time. Find the probability that a randomly chosen car has defective lights given that its tires are found to be defective. P(DL | DT) = P(DL and DT) / P(DT) P(DL | DT) = 0.08 / 0.15 =

Problem 2 Elaine is enrolled in a self-paced course that allows three attempts to pass an exam on the material. She does not study and has probability 0.2 of passing on the first try. If she fails on the first try, her probability of passing on the second try increases to 0.3 because she learned something on the first attempt. If she fails on two attempts, the probability of passing on a third attempt is 0.4. She will stop as soon as she passes. The course rules force her to stop after three attempts in any case. Draw a tree diagram to illustrate what is described above, and use it to determine the probability that Elaine passes the exam.

Problem 2 Solution P P P Failed P(passing) =   0.7  0.4 = = 0.664

Problem 3 A box contains 10 balls of the following types: 3 are red and dotted 2 are gray and dotted 1 is red and striped 4 are gray and striped If you randomly select one ball, what is the probability that the ball is (a)dotted? (b)dotted, given that it is red? (c)dotted or red? Color / Stripedottedstriped Red31 gray24 5 / 10 3/ 4 6/ 10

Problem 4 Among the patients at a mental health clinic, 35% suffer from depression and 40% suffer from anxiety. A total of 28% of the patients suffer from both conditions. (a) Display this information in a Venn Diagram. Use your Venn Diagram to determine what percent of the patients at this clinic …. (a)…suffer from depression but not anxiety. ________ (b)…suffer from neither depression nor anxiety. _____ 28%7%12% Anxiety Depression 7% 53%

Problem 5 Two socks are selected at random and removed in succession (without replacement) from a drawer containing 6 brown socks and 4 blue socks. Let Y represent the number of brown socks selected. Give the probability distribution for Y: Y = Probability = Support your probabilities by a well labeled tree diagram below: /10 3/9 4/9 5/9 4/ / /90 48/90 30/90

Problem 6 The probability that a particular type of smoke detector will function properly and sound an alarm in the presence of smoke is 0.9. If there are two of these alarms in my home, what is the probability that at least one works in the presence of smoke? P(at least one) = 1 – P(none) = 1 – (0.1)  (0.1) = 1 – 0.01 = 0.99

Problem 7 A manufacturer of airplane parts knows from past experience that the probability is 0.8 that an order will be ready for shipment on time, the probability is 0.6 that an order will be delivered on time, and the probability is 0.5 that an order will be ready for shipment and will be delivered on time. (a) Find the probability that an order will be delivered on time, given that it is ready for shipment on time. (b) Find the probability that a randomly selected order will be ready for shipment on time or will be delivered on time. P(R) = 0.8 P(D) = 0.6 P(R and D) = 0.5 P(D|R) = P(D and R) / P(R) = 0.5 / 0.8 =.625 P(R or D) = P(R) + P(D) – P(R and D) = – 0.5 = 0.9

Problem 8 A box contains 20 fuses, 17 good and 3 defective. Two fuses are drawn from the box with replacement. (a)What is the probability that both fuses are defective? (b)What is the probability that one fuse is good and one is defective? (3/20)  (3/20) = 9/400 = 2.25% (17/20)  (3/20) = 51/400 = 12.75% (3/20)  (17/20) = 51/400 = 12.75% 25.5%

Problem 9 A recent survey asked 100 randomly selected adult Americans if they thought that women should be allowed to go into combat situations. Here are the results: GenderYesNo Male3218 Female 842 (a)Find the probability of a “Yes” answer, given that the person was a female. (b)Find the probability that the respondent was a male, given that the response was a “No.” P(Y | F) = 8 / 50 = 0.16 P(M | N) = 18 / 60 = 0.30

Problem 10 Toss two balanced coins. Let A = head on the first toss, and let B = both tosses have the same outcome. Are events A and B independent? Explain your reasoning clearly. Yes they are independent. P(A) = ½ P(B) = ½ P(A and B) = P(A)*P(B) = ½ * ½ = ¼

Problem 11 Parking for students at Central High School is very limited, and those who arrive late have to park illegally and take their chances at getting a ticket. Joey has determined that the probability that he has to park illegally and that he gets a parking ticket is He recorded data last year and found that because of his perpetual tardiness, the probability that he will have to park illegally is Suppose that Joey arrived late once again this morning and had to park in a no-parking zone. Can you find the probability that Joey will get a parking ticket? If so, do it. If you need additional information to find the probability, explain what is needed If T = Joey gets a parking ticket and I = Joey parked illegally then, P(T | I) = P(T and I) / P(I) = 0.07/ 0.25 = 0.28

Problem 12 Two cards are dealt, one after the other, from a shuffled 52-card deck. Why is it wrong to say that the probability of getting two red cards is (1/2)(1/2) = 1/4? What is the correct probability of this event? It is wrong because the first card was not replaced and that change the probability of the second draw. P(both cards are red) = = P(1 st card red) * P(2 nd card is red | 1 st card was red) = (26/52) * (25/51) =

Problem 1 QR Solution P P P Failed P(passing) =   0.65  0.45 = =