Chapter 6 Probability and Simulation

Slides:



Advertisements
Similar presentations
Probability: The Study of Randomness
Advertisements

6.1 Simulation Probability is the branch of math that describes the pattern of chance outcomes It is an idealization based on imagining what would happen.
Chapter 6: Probability and Simulation
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
A.P. STATISTICS LESSON 6 – 2 (DAY2) PROBABILITY RULES.
AP STATISTICS Simulation “Statistics means never having to say you're certain.”
Chapter 5.3: Simulation. Random  We call a phenomenon RANDOM if individual outcomes are uncertain but there is nonetheless a regular distribution of.
AP STATISTICS Simulating Experiments. Steps for simulation Simulation: The imitation of chance behavior, based on a model that accurately reflects the.
Section 5.1 and 5.2 Probability
Probability and Simulation: The Study of Randomness
Chapter 6: Probability : The Study of Randomness “We figured the odds as best we could, and then we rolled the dice.” US President Jimmy Carter June 10,
Mathematics in Today's World
AP Statistics Section 6.2 A Probability Models
Section 5.2 Probability Rules
1 Chapter 6: Probability— The Study of Randomness 6.1The Idea of Probability 6.2Probability Models 6.3General Probability Rules.
1 Business Statistics - QBM117 Assigning probabilities to events.
Section The Idea of Probability Statistics.
Chapter 6 Probability.
Special Topics. Definitions Random (not haphazard): A phenomenon or trial is said to be random if individual outcomes are uncertain but the long-term.
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
CHAPTER 5 Probability: What Are the Chances?
1. Try to estimate the likelihood of a result by actually observing the random phenomenon many times and calculating the relative frequency of the results.
AP Statistics Chapter 6 Notes. Probability Terms Random: Individual outcomes are uncertain, but there is a predictable distribution of outcomes in the.
The Practice of Statistics
Copyright © 2010 Pearson Education, Inc. Chapter 14 From Randomness to Probability.
1 CHAPTERS 14 AND 15 (Intro Stats – 3 edition) PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY.
Probability Models.  Understand the term “random”  Implement different probability models  Use the rules of probability in calculations.
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
From Randomness to Probability Chapter 14. Dealing with Random Phenomena A random phenomenon is a situation in which we know what outcomes could happen,
YMS Chapter 6 Probability: Foundations for Inference 6.1 – The Idea of Probability.
Probability Basics Section Starter Roll two dice and record the sum shown. Repeat until you have done 20 rolls. Write a list of all the possible.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
Simulating Experiments Introduction to Random Variable.
AP Statistics Notes Chapter 14 and 15.
Simulation. Simulation  Simulation imitation of chance behavior based on a model that accurately reflects the phenomenon under consideration  By observing.
Probability theory is the branch of mathematics concerned with analysis of random phenomena. (Encyclopedia Britannica) An experiment: is any action, process.
5.3: Simulation NEW SEATING CHARTS NEW WEBSITE FOR NOTES.
Section 5.3 – basics of simulation Simulation – the imitation of chance behavior, based on a model that accurately reflects the experiment under consideration.
1 Lecture 4 Probability Concepts. 2 Section 4.1 Probability Basics.
Aim: What is the importance of probability?. What is the language of Probability? “Random” is a description of a kind of order that emerges in the long.
Unit 6 Probability & Simulation: the Study of randomness Simulation Probability Models General Probability Rules.
Section The Idea of Probability AP Statistics
6.2 – Probability Models It is often important and necessary to provide a mathematical description or model for randomness.
AP STATISTICS LESSON AP STATISTICS LESSON PROBABILITY MODELS.
Probability Models Section 6.2. The Language of Probability What is random? What is random? Empirical means that it is based on observation rather than.
Section Probability Models AP Statistics December 2, 2010.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 5 Probability: What Are the Chances? 5.2.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.2 Probability Rules.
Probability Models Section 6.2.
Section 5.1 and 5.2 Probability
6.1 The Idea of Probability
CHAPTER 5 Probability: What Are the Chances?
Experimental Probability vs. Theoretical Probability
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
CHAPTER 5 Probability: What Are the Chances?
CHAPTER 5 Probability: What Are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Click the mouse button or press the Space Bar to display the answers.
Probability Models Section 6.2.
Probability: The study of Randomness
Click the mouse button or press the Space Bar to display the answers.
Section 6.2 Probability Models
CHAPTER 5 Probability: What Are the Chances?
Mr. Reider AP Stat November 18, 2010
Probability The branch of mathematics that describes the pattern of chance outcome.
CHAPTER 5 Probability: What Are the Chances?
Section 6.1 The Idea of Probability
CHAPTER 5 Probability: What Are the Chances?
CHAPTER 5 Probability: What Are the Chances?
CHAPTER 5 Probability: What Are the Chances?
Presentation transcript:

Chapter 6 Probability and Simulation

Simulation The imitation of chance behavior based on a model that accurately reflects the experiment under consideration, is called a simulation

Steps for Conducting a Simulation State the problem or describe the experiment State the assumptions Assign digits to represent outcomes Simulate many repetitions State your conclusions

Step 1: State the problem or describe the experiment Toss a coin 10 times. What is the likelihood of a run of at least 3 consecutive heads or 3 consecutive tails?

Step 2: State the Assumptions There are Two A head or tail is equally likely to occur on each toss Tosses are independent of each other (ie: what happens on one toss will not influence the next toss).

Step 3 Assign Digits to represent outcomes Since each outcome is just as likely as the other, and there you are just as likely to get an even number as an odd number in a random number table or using a random number generator, assign heads odds and tails evens.

Step 4 Simulate many repetitions Looking at 10 consecutive digits in Table B (or generating 10 random numbers) simulates one repetition. Read many groups of 10 digits from the table to simulate many repetitions. Keep track of whether or not the event we want ( a run of 3 heads or 3 tails) occurs on each repetition. Example 6.3 on page 394

Step 5 State your conclusions. We estimate the probability of a run by the proportion Starting with line 101 of Table B and doing 25 repetitions; 23 of them did have a run of 3 or more heads or tails. Therefore estimate probability = If we wrote a computer simulation program and ran many thousands of repetitions you would find that the true probability is about .826

Various Simulation Scenarios Example 6.4 – page 395 - Choose one person at random from a group of 70% employed. Simulate using random number table.

Frozen Yogurt Sales Example 6.5 – page 396 – Using random number table simulate the flavor choice of 10 customers entering shop given historic sales of 38% chocolate, 42% vanilla, 20% strawberry.

A Girl or Four Example 6.6 – Page 396 – Use Random number table to simulate a couple have children until 1 is a girl or have four children. Perform 14 Simulation

Simulation with Calculator Activity 6B – page 399 – Simulate the random firing of 10 Salespeople where 24% of the sales force are age 55 or above. (20 repetitions)

Homework Read 6.1, 6.2 Complete Problems 1-4, 8, 9, 12

Chapter 6 Probability and Simulation 6.2 Probability Models

Key Term Probability is the branch of mathematics that describes the pattern of chance outcomes (ie: roll of dice, flip of coin, gender of baby, spin of roulette wheel)

Key Concept “Random” in statistics is not a synonym of “haphazard” but a description of a kind of order that emerges only in the long run

In the long run, the proportion of heads approaches In the long run, the proportion of heads approaches .5, the probability of a head

Researchers with Time on their Hands French Naturalist Count Buffon (1707 – 1788) tossed a coin 4040 time. Results: 2048 head or a proportion of .5069. English Statistictian Karl Person 24,000 times. Results 12, 012, a proportion of .5005. Austrailian mathematician and WWII POW John Kerrich tossed a coin 10,000 times. Results 5067 heads, proportion of heads .5067

Key Term / Concept We call a phenomenon random if individual outcomes are uncertain but there is nonetheless a regular distribution of outcomes in a large number of repetitions

Key Term / Concept The probability of any outcome of a random phenomenon is the proportion of times the outcome would occur in a very long series of repetition.

Key Term / Concept As you explore randomness, remember You must have a long series of independent trials. (The outcome of one trial must not influence the outcome of any other trial) We can estimate a real-world probability only by observing many trials. Computer Simulations are very useful because we need long runs of data.

Key Term / Concept The sample space S of a random phenomenon is the set of all possible outcomes. Example: The sample space for a toss of a coin. S = {heads, tails}

The 36 Possible Outcomes in rolling two dice.

A Tree Diagram can help you understand all the possible outcomes in a Sample Space of Flipping a coing and rolling one die.

Key Concept Multiplication Principle - If you can do one task in n1 number of ways and a second task in n2 number of ways, then both tasks can be done in n1 x n2 number of ways. ie: flipping a coin and rolling a die, 2 x 6 = 12 different possible outcomes

Key Term / Concept With Replacement – Draw a ball out of bag. Observe the ball. Then return ball to bag. Without Replacement – Draw a ball out of bag. Observe the ball. The ball is not returned to bag.

Key Term / Concept With Replacement – Three Digit number 10 x 10 x 10 = 1000 ie: lottery select 1 ball from each of 3 different containers of 10 balls Without Replacement – Three Digit number 10 x 9 x 8 = 720 ie: lottery select 3 balls from one container of 10 balls.

Key Concept / Term An event is an outcome or a set of outcomes of a random phenomenon. An event is a subset of the sample space. Example: a coin is tossed 4 times. Then “exactly 2 heads” is an event. S = {HHHH, HHHT,………..,TTTH, TTTT} A = {HHTT, HTHT, HTTH, THHT, THTH, TTHH}

Key Definitions Sometimes we use set notation to describe events. Union: A U B meaning A or B Intersect: A ∩ B meaning A and B Empty Event: Ø meaning the event has no outcomes in it. If two events are disjoint (mutually exclusive), we can write A ∩ B = Ø

Venn diagram showing disjoint Events A and B

Venn diagram showing the complement Ac of an event A

Complement Example Example 6.13 on page 419

Probabilities in a Finite Sample Space Assign a Probability to each individual outcome. The probabilities must be numbers between 0 and 1 and must have a sum 1. The probability of any event is the sum of the outcomes making up the event Example 6.14 page 420

Assigning Probabilities: equally likely outcomes If a random phenomenon has k possible outcomes, all equally likely, then each individual outcome has probability 1/k. The probability of any event A is P(A) = count of outcomes in A count of outcomes in S Example: Dice, random digits…etc

The Multiplication Rule for Independent Events Rule 3. Two events A and B are independent if knowing that one occurs does not change the probability that the other occurs. If A and B are independent. P(A and B) = P(A)P(B) Examples: 6.17 page 426

Homework Read Section 6.3 Exercises 22, 24, 28, 29, 32-33, 36, 38, 44

Probability And Simulation: The Study of Randomness 6.3 General Probability Rules

Rules of Probability Recap Rule 1. 0 < P(A) < 1 for any event A Rule 2. P(S) = 1 Rule 3. Addition rule: If A and B are disjoint events, then P(A or B) = P(A) + P(B) Rule 4. Complement rule: For any event A, P(Ac) = 1 – P(A) Rule 5. Multiplication rule: If A and B are independent events, then P(A and B) = P(A)P(B)

Key Term The union of any collection of events is the event that at least one of the collection occurs.

The addition rule for disjoint events: P(A or B or C) = P(A) + P(B) + P(C) when A, B, and C are disjoint (no two events have outcomes in common)

General Rule for Unions of Two Events, P(A or B) = P(A) + P(B) – P(A and B)

Example 6.23, page 438

Conditional Probability Example 6.25, page 442, 443

General Multiplication Rule The joint probability that both of two events A and B happen together can be found by P(A and B) = P(A)P(B | A) P(A ∩ B) = P(A)P(B | A) Example: 6.26, page 444

Definition of Conditional Probability When P(A) > 0, the conditional probability of B given A is P(B | A) = P(A and B) P(A) Example 6.28, page 445

Key Concept: Extended Multiplication Rule The intersection of any collection of events is the even that all of the events occur. Example: P(A and B and C) = P(A)P(B | A)P(C | A and B)

Example 6.29, page 448: Extended Multiplication Rule

Tree Diagrams Revisted Example 6.30, Page 448-9, Online Chatrooms

Bayes’s Rule Example 6.31, page 450, Chat Room Participants

Independence Again Two events A and B that both have positive probability are independent if P(B | A ) = P(B)

Homework Exercises #71-78, 82, 86-88