Simulating Probabilistic Behaviour

Slides:



Advertisements
Similar presentations
Simulation Examples in EXCEL Montana Going Green 2010.
Advertisements

Lecture 13 Elements of Probability CSCI – 1900 Mathematics for Computer Science Fall 2014 Bill Pine.
Random variables 1. Note  there is no chapter in the textbook that corresponds to this topic 2.
Chapter 12 Probability © 2008 Pearson Addison-Wesley. All rights reserved.
A.P. STATISTICS LESSON 7 – 1 ( DAY 1 ) DISCRETE AND CONTINUOUS RANDOM VARIABLES.
Lec 18 Nov 12 Probability – definitions and simulation.
Math 310 Section 7.2 Probability. Succession of Events So far, our discussion of events have been in terms of a single stage scenario. We might be looking.
1 Copyright M.R.K. Krishna Rao 2003 Chapter 5. Discrete Probability Everything you have learned about counting constitutes the basis for computing the.
Section The Idea of Probability Statistics.
Bell Work: Factor x – 6x – Answer: (x – 8)(x + 2)
Computer Simulation A Laboratory to Evaluate “What-if” Questions.
Probability of 2 Independent Events Example – Two Independent Events.
A multiple-choice test consists of 8 questions
Chapter 9 Introducing Probability - A bridge from Descriptive Statistics to Inferential Statistics.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Sets, Combinatorics, Probability, and Number Theory Mathematical Structures for Computer Science Chapter 3 Copyright © 2006 W.H. Freeman & Co.MSCS SlidesProbability.
Binomial Distributions Calculating the Probability of Success.
Simple Mathematical Facts for Lecture 1. Conditional Probabilities Given an event has occurred, the conditional probability that another event occurs.
Probability Distributions. Essential Question: What is a probability distribution and how is it displayed?
Math 15 – Elementary Statistics Sections 7.1 – 7.3 Probability – Who are the Frequentists?
1.2 – Random Samples Simple Random Sample – Every sample of size n from the population has an equal chance of being selected – Every member of the population.
4.1 Probability Distributions. Do you remember? Relative Frequency Histogram.
Chapter 5.1 Probability Distributions.  A variable is defined as a characteristic or attribute that can assume different values.  Recall that a variable.
Random Variables. A random variable X is a real valued function defined on the sample space, X : S  R. The set { s  S : X ( s )  [ a, b ] is an event}.
Dependent and Independent Events. Events are said to be independent if the occurrence of one event has no effect on the occurrence of another. For example,
4.3 Binomial Distributions. Red Tiles and Green Tiles in a Row You have 4 red tiles and 3 green tiles. You need to select 4 tiles. Repeated use of a tiles.
Created by Tom Wegleitner, Centreville, Virginia Section 3-6 Probabilities Through Simulations.
1.3 Simulations and Experimental Probability (Textbook Section 4.1)
VOCABULARY CHECK Prerequisite Skills Copy and complete using a review word from the list: data, mean, median, range, outcome, probability of an event.
1.4 Equally Likely Outcomes. The outcomes of a sample space are called equally likely if all of them have the same chance of occurrence. It is very difficult.
PROBABILITY, PROBABILITY RULES, AND CONDITIONAL PROBABILITY
Essential Statistics Chapter 91 Introducing Probability.
CHAPTER 10 Introducing Probability BPS - 5TH ED.CHAPTER 10 1.
Chapter 10 Introducing Probability BPS - 5th Ed. Chapter 101.
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 
5.1 Randomness  The Language of Probability  Thinking about Randomness  The Uses of Probability 1.
BPS - 3rd Ed. Chapter 91 Introducing Probability.
4.3 More Discrete Probability Distributions NOTES Coach Bridges.
AP STATISTICS Section 7.1 Random Variables. Objective: To be able to recognize discrete and continuous random variables and calculate probabilities using.
Introduction to Probability – Experimental Probability.
What is the probability of two or more independent events occurring?
1 Chapter 10 Probability. Chapter 102 Idea of Probability u Probability is the science of chance behavior u Chance behavior is unpredictable in the short.
16-3 The Binomial Probability Theorem. Let’s roll a die 3 times Look at the probability of getting a 6 or NOT getting a 6. Let’s make a tree diagram.
Experiments, Outcomes and Events. Experiment Describes a process that generates a set of data – Tossing of a Coin – Launching of a Missile and observing.
3/7/20161 Now it’s time to look at… Discrete Probability.
Section The Idea of Probability AP Statistics
Counting Techniques (Dr. Monticino). Overview  Why counting?  Counting techniques  Multiplication principle  Permutation  Combination  Examples.
Random Variables If  is an outcome space with a probability measure and X is a real-valued function defined over the elements of , then X is a random.
When could two experimental probabilities be equal? Question of the day.
PROBABILITY bability/basicprobability/preview.we ml.
Math 1320 Chapter 7: Probability 7.3 Probability and Probability Models.
Adding Probabilities 12-5
Negative Binomial Experiment
Sec. 4-5: Applying Ratios to Probability
Chapter 6 6.1/6.2 Probability Probability is the branch of mathematics that describes the pattern of chance outcomes.
PROBABILITY The probability of an event is a value that describes the chance or likelihood that the event will happen or that the event will end with.
True False True False True False Starter – True or False
Probability Trees By Anthony Stones.
Basic Practice of Statistics - 3rd Edition Introducing Probability
Warm Up Imagine you are rolling 2 six-sided dice. 1) What is the probability to roll a sum of 7? 2) What is the probability to roll a sum of 6 or 7? 3)
Basic Practice of Statistics - 3rd Edition Introducing Probability
Section 6.1 The Idea of Probability
I flip a coin two times. What is the sample space?
Probability of TWO EVENTS
Essential Statistics Introducing Probability
Counting and Classification (Dr. Monticino)
The Geometric Distribution
Chapter 11 Probability.
Sets, Combinatorics, Probability, and Number Theory
Presentation transcript:

Simulating Probabilistic Behaviour A coin flip Roll of a fair die Roll of an unfair die

Coin Flip Pie Chart

Coin Flip Simulation Generate a series of Random Numbers Assign a subset of the range of random numbers corresponding to the probability of a result to said result. Count all the times a random number in within that subset. Output the Count/Trials For a random number in [0,1]: Result Probability of Result Assigned Area Head 0.5 [0,0.5] Tails ]0.5,1]

Rolling a Die Now we need to have six counters, each with an equal probability of incrementing. Result Probability of Result Assigned Area 1 1/6 [0,0.16667] 2 ]0.16667,0.3333] 3 ]0.3333,0.5] 4 ]0.5,0.66667] 5 ]0.66667,0.8333] 6 ]0.8333,1]

An Unfair Die The point of this example is to show that any probabilistic event can be simulated with Monte Carlo simulations if we know the probabilities of every result. Result Probability of Result Assigned Area 1 .1 [0,0.1] 2 ]0.1,0.2] 3 .2 ]0.2,0.4] 4 .3 ]0.4,0.7] 5 ]0.7,0.9] 6 ]0.9,1]

Continuous Probability Distributions There are times when the probability of events occurring are not as obvious as previously shown.

How to Proceed Define an interval along the range of values of the independent variable. For each interval find the area under the probability distribution function. Continue as if simulating a rigged die.

Gasoline Demand Example Demand Bin Probability of Demand Area Assigned 1000-1199 .03 [0,0.03] 1200-1399 .17 ]0.03,0.2] 1400-1599 .47 ]0.2,0.67] 1600-1799 .26 ]0.67,0.93] 1800-2000 .07 ]0.93,1]