Simulations. PROBABILITY RECAP What is a probability? The probability of an event refers to the likelihood that the event will occur. EXAMPLE. The probability.

Slides:



Advertisements
Similar presentations
Lesson Objective Be able to calculate probabilities for Binomial situations Begin to recognise the conditions necessary for a Random variable to have a.
Advertisements

Probability Three basic types of probability: Probability as counting
Clear your desk for your quiz. Unit 2 Day 8 Expected Value Average expectation per game if the game is played many times Can be used to evaluate and.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
AP STATISTICS Simulation “Statistics means never having to say you're certain.”
Chapter 6 Probability and Simulation
Experimental Probability and Simulation
Math notebook, pencil, and possibly calculator. Definitions  An outcome is the result of a single trial of an experiment.  The sample space of an experiment.
Statistics Chapter 3: Introduction to Discrete Random Variables.
Chapter 5 Understanding Randomness
PROBABILITY. Probability Concepts - Probability is used to represent the chance of an event occurring - Probabilities can be represented by fractions,
Games of probability What are my chances?. Roll a single die (6 faces). –What is the probability of each number showing on top? Activity 1: Simple probability:
3.6: Probabilities Through Simulations Objective: To simulate probabilities using random number tables and random number generators CHS Statistics.
Understanding Randomness
Chapter XI Rory Nimmons Venkat Reddy UnderstandingRandomnessUnderstandingRandomness.
Review of Probability and Binomial Distributions
Chapter 11: understanding randomness (Simulations)
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 5.2.
A multiple-choice test consists of 8 questions
Unit 4 Starters. Starter Suppose a fair coin is tossed 4 times. Find the probability that heads comes up exactly two times.
Copyright © 2010 Pearson Education, Inc. Unit 3: Gathering Data Chapter 11 Understanding Randomness.
Chapter 11 Data Descriptions and Probability Distributions
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 5 Section 1 – Slide 1 of 33 Chapter 5 Section 1 Probability Rules.
Probability Rules!. ● Probability relates short-term results to long-term results ● An example  A short term result – what is the chance of getting a.
From Randomness to Probability
AP STATISTICS LESSON SIMULATING EXPERIMENTS.
Simulation A simulation imitates a real situation. It should act as a predictor of what would actually happen in practice. It is a model in which experiments.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
Chapter 16: Random Variables
Understanding Randomness
What is Probability?. The Mathematics of Chance How many possible outcomes are there with a single 6-sided die? What are your “chances” of rolling a 6?
AP STATISTICS Objective: Understanding Randomness Do Now: Take out any completed contracts, personal profiles, as well as your written design study. HW:
Chapter 11 Understanding Randomness. What is Randomness? Some things that are random: Rolling dice Shuffling cards Lotteries Bingo Flipping a coin.
Expected Value.
Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
5.1 Probability in our Daily Lives.  Which of these list is a “random” list of results when flipping a fair coin 10 times?  A) T H T H T H T H T H 
Warm Up If Babe Ruth has a 57% chance of hitting a home run every time he is at bat, run a simulation to find out his chances of hitting a homerun at least.
Math I.  Probability is the chance that something will happen.  Probability is most often expressed as a fraction, a decimal, a percent, or can also.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 5: Probability: What are the Chances? Section 5.1 Randomness, Probability,
1 Discrete Random Variables – Outline 1.Two kinds of random variables – Discrete – Continuous 2. Describing a DRV 3. Expected value of a DRV 4. Variance.
Ch. 17 – Probability Models (Day 1 – The Geometric Model) Part IV –Randomness and Probability.
4.3a Simulating Experiments Target Goal: I can use simulation to represent an experiment. In class FR.
Simulating Experiments Introduction to Random Variable.
Simulation. Simulation  Simulation imitation of chance behavior based on a model that accurately reflects the phenomenon under consideration  By observing.
MATH 256 Probability and Random Processes Yrd. Doç. Dr. Didem Kivanc Tureli 14/10/2011Lecture 3 OKAN UNIVERSITY.
Introduction to Probability – Experimental Probability.
Simulation. Simulation is a way to model random events, such that simulated outcomes closely match real-world outcomes. By observing simulated outcomes,
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Simulations. Simulations – What’s That? Simulations are used to solve probability problems when it is difficult to calculate the answer theoretically.
Probability of Simple Events
Warm Up Complete the Margins of Error Worksheet #1 – 3 on the back!
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.
Probability Class Causation and Probability We are interested in finding the effect of Dr. Wong’s exploring teaching methodology on the statistics.
Introduction Imagine the process for testing a new design for a propulsion system on the International Space Station. The project engineers wouldn’t perform.
Stats3 Day 1 Chapter 11- using random # table. Do Now Read Handout
Copyright © 2009 Pearson Education, Inc. Chapter 11 Understanding Randomness.
Statistics 11 Understanding Randomness. Example If you had a coin from someone, that they said ended up heads more often than tails, how would you test.
1 Copyright © 2014, 2012, 2009 Pearson Education, Inc. Chapter 9 Understanding Randomness.
Basic Probabilities Starting Unit 6 Today!. Definitions  Experiment – any process that generates one or more observable outcomes  Sample Space – set.
Chapter 8: The Binomial and Geometric Distributions 8.2 – The Geometric Distributions.
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
Experiments vs. Observational Studies vs. Surveys and Simulations
Experimental Probability vs. Theoretical Probability
Experimental Probability and Simulation
Unit 6 Probability.
Understanding Randomness
Section Simulation AP Statistics.
Probability using Simulations
The Geometric Distribution
Presentation transcript:

Simulations

PROBABILITY RECAP

What is a probability? The probability of an event refers to the likelihood that the event will occur. EXAMPLE. The probability of winning your sports game this weekend is 0.7 What does that mean

Remember

Convert these probabilities FRACTION (simplify)DECIMALPERCENTAGE 4/ % 1/5 0.75

FRACTIONDECIMALPERCENTAGE 4/ % 3/ % 1/ % 1/ % 3/ %

What are the probabilities of these events? Getting a head when you flip a coin? Waking up on a day of the week that begins with T Waking up on a weekday Waking up on a day where you need to go to school Rolling an even number on a dice Rolling an odd number on a dice

What is a simulation Simulation is a way to model random events, such that simulated outcomes closely match real-world outcomes. By observing simulated outcomes, researchers gain insight on the real world.

Why use simulation? Some situations do not lend themselves to precise mathematical treatment. Others may be difficult, time-consuming, or expensive to analyse. In these situations, simulation may approximate real-world results; yet, require less time, effort, and/or money than other approaches.

Remember A simulation is useful only if it closely mirrors real-world outcomes.

Example On average, Freddy sinks a 3 pointer in basketball once in every 10 shots, and suppose he gets exactly two opportunities to shoot in every game. Using simulation, estimate the likelihood that she will land two three pointer in a single game.

Simulations This is an experiment in which the conditions of a real life situation is reproduced We need to use a random number generator (calculator, dice, cards etc) in order to carry out the experiment.

Notes: How to design a simulationTTRC TOOL: How will you generate random numbers? What does the digit represents? Decimal points? TRIALS: Trial consist of? A successful trial? How many trials? (should always do at least 30) RESULTS: TABLE CALCULATION: Calculate probability or the mean to answer the question

How to use the “tool” How can we use a pack of cards to represent a die? Sally goes to the bathroom 4 times during a 6 hour work period KFC gives out 7 toy figurines 10% of all batteries are faulty

Describe the best tool to represent… 1.75% of students pass Maths 2.10% of buses are late 3.1 out of 10 people have hazel eyes, 3 have blue and the rest are brown 4.Half of students parents are still married 5.1 out of 6 sheep give birth to triplets, 2 give birth to twins and the rest have singles. 6.Flipping two coins

Example to describing 1. Mr Peppers Dog “fluffy” will go toilet inside 2% of the time a day. Find how many times Fluffy will go toilet inside in a week?

Describe how you would model these situations 1.A battery factory distributes batteries in packs of 5. 5% of batteries are faulty. How many do you expect to be faulty in each pack? 2.The school bus is late 20% of the time. How many times will it be late in a 5 day week? 3.Coca-Cola has a cash reward going. You must collect all the letters (C.A.S.H) that appear under the cap to win. Each letter is equally likely. How many Coca-Cola’s will you have to buy to win

Notes: Example: Patrick is collecting a set of 3 different plastic toys from McDonalds, which are available for 6 weeks. Patrick only visits McDonalds once a week and will always receive a toy. The toys are distributed randomly and have the following probabilities 1.Design a simulation to find the number of weeks Patrick will go to McDonalds 2.Carry out the simulation 30 times. 3.What is the probability that Patrick will collect all toys within the 6 weeks? 4.Are there any assumptions you need to make? TOY123 Prob

TTRC Tool: I will generate random numbers between 1 and 10 on my calculator (10RAN# +1), and I will ignore all decimals. The numbers will represent the following: 1,2,3 will represent toy 1 4, 5 will represent toy 2 6, 7, 8, 9, 10 will represent toy 3 Trial: I will generate 6 random numbers from 1 to 10 to represent the 6 weeks McDonalds will have the toys available. The trial will finish after 6 weeks or when all 3 toys have been collected. A successful trial will be when all 3 toys are obtained. I will complete 30 trials.

TTRC Results: Complete table The average number of visits to McDonalds is the mean number of weeks Calculation: Answer question… Ran #Toy 1Toy 2Toy 3WeeksY/N Trial1,2,34,56,7,8,9,

Assumptions in TTRC?? The Toys are randomly distributed (customer does not get to choose) All Toys are available at any one time The probability of getting one toy does not effect the chance of getting another toy, i.e. they are independent Patrick goes to McDonalds once a week only Patrick will get a toy every week

Standard assumptions (notes) Probability remains the same at all times Random distribution Availability Time frame

Conclusion You need to answer the question!! What is the number of visits require to collect all toys?? 4.7 visits What is the probability that he will collect all 3 toys?? 67% WRITE IN CONTEXT AND SENSIBLE ROUNDING

Sampling Variability Your simulation only produces an estimate of what is actually happening so.. If you did a another simulation you are likely to get a different estimate

Improvements A better estimate would be to repeat the simulation several times and calculate the mean of all the estimates. Increasing the number of trials – would give a better estimate of the mean number as any variations in results will have less impact on the overall estimate.

Potential Issues of Accuracy This depends on the distributing process. As if it is not randomly distributed then there will be bias. In terms of McDonalds – it would depend on how the workers at McDonalds distributed the toys. Example:

Things to think about.. Colours/size/packaging? Favouritism? Unethical behaviour? Advertising? Other people decisions influence Anything else???? How would these effect our simulation?? The probabilities may change, or ….

State some assumptions, improvements and potential issues Every time you go to the movies you collect a sticker. You need 4 stickers to get a free movie pass which lasts for 12 weeks. Assuming that Dan goes to the movies once a week, calculate the average amount of weeks Dan will go to the movies, and the probability he will get a free movie pass.

Exercises When Dingle Mouse is running his tail catches on fire 60% of the time. His ears catch on fire 20% of the time, and his whiskers 10% of the time. He never gets more than one thing on fire – that would be dangerous. Design a Simulation for Dingle Mouse and carry it out 30 times. 1.Use the results to estimate the probability that Dingle Mouse not catch fire?

Bad Jelly speeds on her broomstick 80% of the time to get to work. Mud Wiggle the worm sees 60% of the speeding offences and he writes a formal complaint letter. Bad Jelly knows that if Mud Wiggle has to write more than 2 letters she has successfully annoyed her. Design and simulate this situation to find out how many times Bad Jelly needs to ride her broomstick to annoy Mud Wiggle. Use your results to write a recommendation What are the assumptions and limitations What is the prob. that Bad Jelly only has to ride twice to annoy Mud Wiggle

Bad Jelly has 3 different animals that she can ride to work on a five-day week. Bad Jelly is happy when she gets to ride her Frog at least once a week. Design and describe a simulation On average how many times will she get to ride her frog to work a week? Are there any assumptions or limitations? Find the prob. that bad jelly will be happy Use theoretical prob. to show how well your simulation works CamelHorseFrog

When you play angry birds your chances of getting to the next level are: Getting there on first shot: 0.8 Getting there on second shot: 0.4 Getting there on third shot is 0.3 Getting there on fourth shot is 0.2

Robert has just lost his job and is worried about having enough money to feed his family. He considers the following option – stealing. If he gets caught he loses what he stole. Robert thinks this solution will work if he doesn’t get caught four times. 1.Design and describe a simulation 2.Using your results write a recommendation about how many times Robert will have to rob a house to feed his family and whether this will work as a solution. 3.What are the assumptions of this simulations, how can you improve this? 4.What is the probability that Robert will only need to steal four times. 5.Use theoretical probability to show how well your simulation worked Robbing a houseProb. of getting caught Prob. of being successful Prob. of unsuccessful0.60.5