ITEC 2600 Introduction to Analytical Programming. Instructor: Prof. Z. Yang Office: DB3049

Size: px
Start display at page:

Download "ITEC 2600 Introduction to Analytical Programming. Instructor: Prof. Z. Yang Office: DB3049"

Transcription

1 ITEC 2600 Introduction to Analytical Programming Instructor: Prof. Z. Yang Office: DB3049

2 Lecture Eleven Monte Carlo Simulation

3 Monte Carlo Simulation Monte Carlo simulation is a computerized mathematical technique. The main idea behind this method is that the results are computed based on repeated random sampling and statistical analysis. Monte Carlo simulations sample from a probability distribution for each variable to produce hundreds or thousands of possible outcomes. The results are analyzed to get probabilities of different outcomes occurring. 3

4 Flip a coin We consider an example: flip a coin. We get either H or T by flipping a coin. We know the chance for either H or T is 0.5 (50%). We can do experiments by simulations. 4

5 MATLAB Random Number X = rand returns a single uniformly distributed random number in the interval (0,1). X = rand(1, n) returns an 1-by-n vector of random numbers in the interval (0,1). Example: X = rand(1, 10) returns an 1-by-10 vector. X = rand(n) returns an n-by-n matrix of random numbers in the interval (0,1). Example: X = rand(10) returns an 10-by-10 matrix. 5

6 Sign Function Y = sign(x) returns an array Y the same size as x, where each element of Y is: 1 if the corresponding element of x is greater than 0. 0 if the corresponding element of x equals if the corresponding element of x is less than 0. 6

7 Sum Function S = sum(a) returns the sum of the elements of A along the first array dimension whose size does not equal 1. If A is a vector, then sum(a) returns the sum of the elements. If A is a matrix, then sum(a) returns a row vector containing the sum of each column. Examples 7

8 Experiment - Flip a Coin Flip a coin once{1 H ; -1 T } A = sign(0.5 - rand) Flip a coin five times A = sign(0.5 - rand(1,5)) We can count how many times we get H B = sum(sign(0.5 - rand(1,5))>0) How to count how many times we get T 8

9 Probability Flip Coins Let s flip a coin N times (i.e. 1,000) Count how many times to have H Calculate the probability to have H How to use MATLAB to implement it In the program, the users are prompted to input N 9

10 Function Ceil Y = ceil(x) rounds each element of X to the nearest integer greater than or equal to that element. Y = ceil(5.37) Y = ceil(-5.37) Y = ceil([ ]) Using the function ceil, we can simulate rolling a dice. 10

11 Floor Other Similar Functions Y = floor(x) rounds each element of X to the nearest integer less than or equal to that element. Fix Y = fix(x) rounds each element of X to the nearest integer toward zero. For positive X, the behavior of fix is the same as floor. For negative X, the behavior of fix is the same as ceil. Round 11

12 How to Generate Random Integers How to randomly generate a number among{1, 2, 3, 4, 5, 6} X = (6 * rand) generates a random number and 0<X<6. X = ceil(6 * rand) generates a random integer between 1 and 6, i.e, 1, 2, 3, 4, 5, or 6. How to use floor to do it. 12

13 Rolling a Dice The outcome of rolling a dice is a number among {1, 2, 3, 4, 5, 6} What is the probability of getting a particular number when rolling a dice? probability = # of favorable outcomes # of total possible outcomes Roll a dice N times (i.e. 1000) 13

14 CASINO 14

15 CASINO Casinos make a profit by offering games of chance where the average payouts are lower than the income produced by the overall wagers. The statistical advantage that the casino has on each game, and each bet, is called the house edge. Because the outcome is unknown, and regardless of who holds the edge, either party may win at any one time. 15

16 Casino Revenue (a Single Game) We construct an expression that computes the net revenue for a single game based on a random number chosen between 0 and 1. If the random number 0.51, the casino wins one betting unit; If the random number > 0.51, the casino loses one betting unit. 16

17 Casino Revenue (a Single Game) (Cont d) The following Matlab command will return simulated casino win (+1) or loss (- 1): Revenue = sign(0.51 rand) The win or loss is unknown until the game is completed. The result (+1 or -1) is random. 17

18 Casino Revenue (10 Games) To simulate 10 games, we use Revenue = sign(0.51 rand(1, 10)) Revenue is a vector of 10 elements. Each element represents a win or a loss (+1 or -1). How many wins are unknown until all games are completed. 18

19 Simulation Results (One Trial) 19

20 Questions If the game is run10,000 times, can the casino know which game it will win? What is the probability of the casino s total winning? After10,000 games completed, how many games would the casino win? 20

21 Casino Profit If the casino runs 100 games per day. If the house wins a game, the casino earns $1; otherwise loses $1. Can we calculate the casino s daily profit approximately? What if the casino runs 1000 games per day? 21

22 More Questions We know how to compute the casino s daily approximate profit, can we compute its weekly profit? How about monthly? If the casino wants to increase its profit, what can it do? 22

Statistical House Edge Analysis for Proposed Casino Game Jacks

Statistical House Edge Analysis for Proposed Casino Game Jacks Statistical House Edge Analysis for Proposed Casino Game Jacks Prepared by: Precision Consulting Company, LLC Date: October 1, 2011 228 PARK AVENUE SOUTH NEW YORK, NEW YORK 10003 TELEPHONE 646/553-4730

More information

CSC/MTH 231 Discrete Structures II Spring, Homework 5

CSC/MTH 231 Discrete Structures II Spring, Homework 5 CSC/MTH 231 Discrete Structures II Spring, 2010 Homework 5 Name 1. A six sided die D (with sides numbered 1, 2, 3, 4, 5, 6) is thrown once. a. What is the probability that a 3 is thrown? b. What is the

More information

Ex 1: A coin is flipped. Heads, you win $1. Tails, you lose $1. What is the expected value of this game?

Ex 1: A coin is flipped. Heads, you win $1. Tails, you lose $1. What is the expected value of this game? AFM Unit 7 Day 5 Notes Expected Value and Fairness Name Date Expected Value: the weighted average of possible values of a random variable, with weights given by their respective theoretical probabilities.

More information

6. a) Determine the probability distribution. b) Determine the expected sum of two dice. c) Repeat parts a) and b) for the sum of

6. a) Determine the probability distribution. b) Determine the expected sum of two dice. c) Repeat parts a) and b) for the sum of d) generating a random number between 1 and 20 with a calculator e) guessing a person s age f) cutting a card from a well-shuffled deck g) rolling a number with two dice 3. Given the following probability

More information

Mini-Lecture 6.1 Discrete Random Variables

Mini-Lecture 6.1 Discrete Random Variables Mini-Lecture 6.1 Discrete Random Variables Objectives 1. Distinguish between discrete and continuous random variables 2. Identify discrete probability distributions 3. Construct probability histograms

More information

Basics of Probability

Basics of Probability Basics of Probability Dublin R May 30, 2013 1 Overview Overview Basics of Probability (some definitions, the prob package) Dice Rolls and the Birthday Distribution ( histograms ) Gambler s Ruin ( plotting

More information

Stat 20: Intro to Probability and Statistics

Stat 20: Intro to Probability and Statistics Stat 20: Intro to Probability and Statistics Lecture 17: Using the Normal Curve with Box Models Tessa L. Childers-Day UC Berkeley 23 July 2014 By the end of this lecture... You will be able to: Draw and

More information

Unit 1B-Modelling with Statistics. By: Niha, Julia, Jankhna, and Prerana

Unit 1B-Modelling with Statistics. By: Niha, Julia, Jankhna, and Prerana Unit 1B-Modelling with Statistics By: Niha, Julia, Jankhna, and Prerana [ Definitions ] A population is any large collection of objects or individuals, such as Americans, students, or trees about which

More information

Probability. A Mathematical Model of Randomness

Probability. A Mathematical Model of Randomness Probability A Mathematical Model of Randomness 1 Probability as Long Run Frequency In the eighteenth century, Compte De Buffon threw 2048 heads in 4040 coin tosses. Frequency = 2048 =.507 = 50.7% 4040

More information

Random Variables. A Random Variable is a rule that assigns a number to each outcome of an experiment.

Random Variables. A Random Variable is a rule that assigns a number to each outcome of an experiment. Random Variables When we perform an experiment, we are often interested in recording various pieces of numerical data for each trial. For example, when a patient visits the doctor s office, their height,

More information

1 of 5 7/16/2009 6:57 AM Virtual Laboratories > 13. Games of Chance > 1 2 3 4 5 6 7 8 9 10 11 3. Simple Dice Games In this section, we will analyze several simple games played with dice--poker dice, chuck-a-luck,

More information

3.2 Measures of Central Tendency

3.2 Measures of Central Tendency Math 166 Lecture Notes - S. Nite 9/22/2012 Page 1 of 5 3.2 Measures of Central Tendency Mean The average, or mean, of the n numbers x = x 1 + x 2 +... + x n n x1,x2,...,xn is x (read x bar ), where Example

More information

Grade 8 Math Assignment: Probability

Grade 8 Math Assignment: Probability Grade 8 Math Assignment: Probability Part 1: Rock, Paper, Scissors - The Study of Chance Purpose An introduction of the basic information on probability and statistics Materials: Two sets of hands Paper

More information

Random Variables. Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5. (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6) }

Random Variables. Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5. (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6) } Random Variables When we perform an experiment, we are often interested in recording various pieces of numerical data for each trial. For example, when a patient visits the doctor s office, their height,

More information

23 Applications of Probability to Combinatorics

23 Applications of Probability to Combinatorics November 17, 2017 23 Applications of Probability to Combinatorics William T. Trotter trotter@math.gatech.edu Foreword Disclaimer Many of our examples will deal with games of chance and the notion of gambling.

More information

Simulations. 1 The Concept

Simulations. 1 The Concept Simulations In this lab you ll learn how to create simulations to provide approximate answers to probability questions. We ll make use of a particular kind of structure, called a box model, that can be

More information

Make better decisions. Learn the rules of the game before you play.

Make better decisions. Learn the rules of the game before you play. BLACKJACK BLACKJACK Blackjack, also known as 21, is a popular casino card game in which players compare their hand of cards with that of the dealer. To win at Blackjack, a player must create a hand with

More information

Foundations of Probability Worksheet Pascal

Foundations of Probability Worksheet Pascal Foundations of Probability Worksheet Pascal The basis of probability theory can be traced back to a small set of major events that set the stage for the development of the field as a branch of mathematics.

More information

Guide. Odds. Understanding. The THE HOUSE ADVANTAGE

Guide. Odds. Understanding. The THE HOUSE ADVANTAGE THE HOUSE ADVANTAGE A Guide The Odds to Understanding AMERICAN GAMING ASSOCIATION 1299 Pennsylvania Avenue, NW Suite 1175 Washington, DC 20004 202-552-2675 www.americangaming.org 2005 American Gaming Association.

More information

The student will explain and evaluate the financial impact and consequences of gambling.

The student will explain and evaluate the financial impact and consequences of gambling. What Are the Odds? Standard 12 The student will explain and evaluate the financial impact and consequences of gambling. Lesson Objectives Recognize gambling as a form of risk. Calculate the probabilities

More information

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J

There is no class tomorrow! Have a good weekend! Scores will be posted in Compass early Friday morning J STATISTICS 100 EXAM 3 Fall 2016 PRINT NAME (Last name) (First name) *NETID CIRCLE SECTION: L1 12:30pm L2 3:30pm Online MWF 12pm Write answers in appropriate blanks. When no blanks are provided CIRCLE your

More information

4.2.4 What if both events happen?

4.2.4 What if both events happen? 4.2.4 What if both events happen? Unions, Intersections, and Complements In the mid 1600 s, a French nobleman, the Chevalier de Mere, was wondering why he was losing money on a bet that he thought was

More information

OUTSIDE IOWA, CALL

OUTSIDE IOWA, CALL WWW.1800BETSOFF.ORG OUTSIDE IOWA, CALL 1-800-522-4700 IOWA DEPARTMENT OF PUBLIC HEALTH, GAMBLING TREATMENT PROGRAM PROMOTING AND PROTECTING THE HEALTH OF IOWANS Printing is made possible with money from

More information

Heads Up! A c t i v i t y 5. The Problem. Name Date

Heads Up! A c t i v i t y 5. The Problem. Name Date . Name Date A c t i v i t y 5 Heads Up! In this activity, you will study some important concepts in a branch of mathematics known as probability. You are using probability when you say things like: It

More information

SIC BO ON THE MULTI TERMINALS

SIC BO ON THE MULTI TERMINALS How to play SIC BO ON THE MULTI TERMINALS LET S PLAY SIC BO Sic Bo is a Chinese dice game with a history dating back centuries. Originally played using painted bricks, modern Sic Bo has evolved into the

More information

Probability. March 06, J. Boulton MDM 4U1. P(A) = n(a) n(s) Introductory Probability

Probability. March 06, J. Boulton MDM 4U1. P(A) = n(a) n(s) Introductory Probability Most people think they understand odds and probability. Do you? Decision 1: Pick a card Decision 2: Switch or don't Outcomes: Make a tree diagram Do you think you understand probability? Probability Write

More information

METHOD FOR MAPPING POSSIBLE OUTCOMES OF A RANDOM EVENT TO CONCURRENT DISSIMILAR WAGERING GAMES OF CHANCE CROSS REFERENCE TO RELATED APPLICATIONS

METHOD FOR MAPPING POSSIBLE OUTCOMES OF A RANDOM EVENT TO CONCURRENT DISSIMILAR WAGERING GAMES OF CHANCE CROSS REFERENCE TO RELATED APPLICATIONS METHOD FOR MAPPING POSSIBLE OUTCOMES OF A RANDOM EVENT TO CONCURRENT DISSIMILAR WAGERING GAMES OF CHANCE CROSS REFERENCE TO RELATED APPLICATIONS [0001] This application claims priority to Provisional Patent

More information

November 11, Chapter 8: Probability: The Mathematics of Chance

November 11, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 11, 2013 Last Time Probability Models and Rules Discrete Probability Models Equally Likely Outcomes Probability Rules Probability Rules Rule 1.

More information

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit?

Section 6.1 #16. Question: What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? Section 6.1 #16 What is the probability that a five-card poker hand contains a flush, that is, five cards of the same suit? page 1 Section 6.1 #38 Two events E 1 and E 2 are called independent if p(e 1

More information

Probability. Ms. Weinstein Probability & Statistics

Probability. Ms. Weinstein Probability & Statistics Probability Ms. Weinstein Probability & Statistics Definitions Sample Space The sample space, S, of a random phenomenon is the set of all possible outcomes. Event An event is a set of outcomes of a random

More information

Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5 {(1, 1) (1, 2) (1, 3) (1, 4) (1, 5) (1, 6) (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6)}

Outcome X (1, 1) 2 (2, 1) 3 (3, 1) 4 (4, 1) 5 {(1, 1) (1, 2) (1, 3) (1, 4) (1, 5) (1, 6) (6, 1) (6, 2) (6, 3) (6, 4) (6, 5) (6, 6)} Section 8: Random Variables and probability distributions of discrete random variables In the previous sections we saw that when we have numerical data, we can calculate descriptive statistics such as

More information

Math 1313 Section 6.2 Definition of Probability

Math 1313 Section 6.2 Definition of Probability Math 1313 Section 6.2 Definition of Probability Probability is a measure of the likelihood that an event occurs. For example, if there is a 20% chance of rain tomorrow, that means that the probability

More information

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.)

The Teachers Circle Mar. 20, 2012 HOW TO GAMBLE IF YOU MUST (I ll bet you $5 that if you give me $10, I ll give you $20.) The Teachers Circle Mar. 2, 22 HOW TO GAMBLE IF YOU MUST (I ll bet you $ that if you give me $, I ll give you $2.) Instructor: Paul Zeitz (zeitzp@usfca.edu) Basic Laws and Definitions of Probability If

More information

What are the chances?

What are the chances? What are the chances? Student Worksheet 7 8 9 10 11 12 TI-Nspire Investigation Student 90 min Introduction In probability, we often look at likelihood of events that are influenced by chance. Consider

More information

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times?

Junior Circle Meeting 5 Probability. May 2, ii. In an actual experiment, can one get a different number of heads when flipping a coin 100 times? Junior Circle Meeting 5 Probability May 2, 2010 1. We have a standard coin with one side that we call heads (H) and one side that we call tails (T). a. Let s say that we flip this coin 100 times. i. How

More information

STReight Gambling game

STReight Gambling game Gambling game Dr. Catalin Florian Radut Dr. Andreea Magdalena Parmena Radut 108 Toamnei St., Bucharest - 2 020715 Romania Tel: (+40) 722 302258 Telefax: (+40) 21 2110198 Telefax: (+40) 31 4011654 URL:

More information

EE 435/535: Error Correcting Codes Project 1, Fall 2009: Extended Hamming Code. 1 Introduction. 2 Extended Hamming Code: Encoding. 1.

EE 435/535: Error Correcting Codes Project 1, Fall 2009: Extended Hamming Code. 1 Introduction. 2 Extended Hamming Code: Encoding. 1. EE 435/535: Error Correcting Codes Project 1, Fall 2009: Extended Hamming Code Project #1 is due on Tuesday, October 6, 2009, in class. You may turn the project report in early. Late projects are accepted

More information

characteristics; computerized random number generator (b) The layout for an Asia poker table shall contain, at a

characteristics; computerized random number generator (b) The layout for an Asia poker table shall contain, at a Full text of the temporary adoption follows (additions indicated in boldface thus; deletions indicated in brackets [thus]): 13:69E 1.13T Asia poker table; Asia poker shaker; physical characteristics; computerized

More information

Bernoulli Trials, Binomial and Hypergeometric Distrubutions

Bernoulli Trials, Binomial and Hypergeometric Distrubutions Bernoulli Trials, Binomial and Hypergeometric Distrubutions Definitions: Bernoulli Trial: A random event whose outcome is true (1) or false (). Binomial Distribution: n Bernoulli trials. p The probability

More information

Algebra II Journal. Module 4: Inferences. Predicting the Future

Algebra II Journal. Module 4: Inferences. Predicting the Future Algebra II Journal Predicting the Future This journal belongs to: 1 Algebra II Journal: Reflection 1 Let s perform a simulation to answer the question Can lightning strike the same place twice? Storm chaser

More information

Suppose Y is a random variable with probability distribution function f(y). The mathematical expectation, or expected value, E(Y) is defined as:

Suppose Y is a random variable with probability distribution function f(y). The mathematical expectation, or expected value, E(Y) is defined as: Suppose Y is a random variable with probability distribution function f(y). The mathematical expectation, or expected value, E(Y) is defined as: E n ( Y) y f( ) µ i i y i The sum is taken over all values

More information

Random Experiments. Investigating Probability. Maximilian Gartner, Walther Unterleitner, Manfred Piok

Random Experiments. Investigating Probability. Maximilian Gartner, Walther Unterleitner, Manfred Piok Random Experiments Investigating Probability Maximilian Gartner, Walther Unterleitner, Manfred Piok Intention In this learning environment, different random experiments will be tested with dice and coins

More information

This artwork is for presentation purposes only and does not depict the actual table.

This artwork is for presentation purposes only and does not depict the actual table. Patent Pending This artwork is for presentation purposes only and does not depict the actual table. Unpause Games, LLC 2016 Game Description Game Layout Rules of Play Triple Threat is played on a Roulette

More information

Math 106 Lecture 3 Probability - Basic Terms Combinatorics and Probability - 1 Odds, Payoffs Rolling a die (virtually)

Math 106 Lecture 3 Probability - Basic Terms Combinatorics and Probability - 1 Odds, Payoffs Rolling a die (virtually) Math 106 Lecture 3 Probability - Basic Terms Combinatorics and Probability - 1 Odds, Payoffs Rolling a die (virtually) m j winter, 00 1 Description We roll a six-sided die and look to see whether the face

More information

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results.

Name. Is the game fair or not? Prove your answer with math. If the game is fair, play it 36 times and record the results. Homework 5.1C You must complete table. Use math to decide if the game is fair or not. If Period the game is not fair, change the point system to make it fair. Game 1 Circle one: Fair or Not 2 six sided

More information

What Do You Expect? Concepts

What Do You Expect? Concepts Important Concepts What Do You Expect? Concepts Examples Probability A number from 0 to 1 that describes the likelihood that an event will occur. Theoretical Probability A probability obtained by analyzing

More information

Chapter 8: Probability: The Mathematics of Chance

Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance Free-Response 1. A spinner with regions numbered 1 to 4 is spun and a coin is tossed. Both the number spun and whether the coin lands heads or tails is

More information

STATION 1: ROULETTE. Name of Guesser Tally of Wins Tally of Losses # of Wins #1 #2

STATION 1: ROULETTE. Name of Guesser Tally of Wins Tally of Losses # of Wins #1 #2 Casino Lab 2017 -- ICM The House Always Wins! Casinos rely on the laws of probability and expected values of random variables to guarantee them profits on a daily basis. Some individuals will walk away

More information

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2016 Prof. Michael Kearns

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2016 Prof. Michael Kearns Introduction to (Networked) Game Theory Networked Life NETS 112 Fall 2016 Prof. Michael Kearns Game Theory for Fun and Profit The Beauty Contest Game Write your name and an integer between 0 and 100 Let

More information

Dependence. Math Circle. October 15, 2016

Dependence. Math Circle. October 15, 2016 Dependence Math Circle October 15, 2016 1 Warm up games 1. Flip a coin and take it if the side of coin facing the table is a head. Otherwise, you will need to pay one. Will you play the game? Why? 2. If

More information

Bellwork Write each fraction as a percent Evaluate P P C C 6

Bellwork Write each fraction as a percent Evaluate P P C C 6 Bellwork 2-19-15 Write each fraction as a percent. 1. 2. 3. 4. Evaluate. 5. 6 P 3 6. 5 P 2 7. 7 C 4 8. 8 C 6 1 Objectives Find the theoretical probability of an event. Find the experimental probability

More information

Name: Final Exam May 7, 2014

Name: Final Exam May 7, 2014 MATH 10120 Finite Mathematics Final Exam May 7, 2014 Name: Be sure that you have all 16 pages of the exam. The exam lasts for 2 hrs. There are 30 multiple choice questions, each worth 5 points. You may

More information

Expected Value, continued

Expected Value, continued Expected Value, continued Data from Tuesday On Tuesday each person rolled a die until obtaining each number at least once, and counted the number of rolls it took. Each person did this twice. The data

More information

November 6, Chapter 8: Probability: The Mathematics of Chance

November 6, Chapter 8: Probability: The Mathematics of Chance Chapter 8: Probability: The Mathematics of Chance November 6, 2013 Last Time Crystallographic notation Groups Crystallographic notation The first symbol is always a p, which indicates that the pattern

More information

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2014 Prof. Michael Kearns

Introduction to (Networked) Game Theory. Networked Life NETS 112 Fall 2014 Prof. Michael Kearns Introduction to (Networked) Game Theory Networked Life NETS 112 Fall 2014 Prof. Michael Kearns percent who will actually attend 100% Attendance Dynamics: Concave equilibrium: 100% percent expected to attend

More information

Statistics Laboratory 7

Statistics Laboratory 7 Pass the Pigs TM Statistics 104 - Laboratory 7 On last weeks lab we looked at probabilities associated with outcomes of the game Pass the Pigs TM. This week we will look at random variables associated

More information

A prime number = Player X wins. An even number = Player X wins. A number not divisible by three = Player X wins RANDOM NUMBER GENERATOR

A prime number = Player X wins. An even number = Player X wins. A number not divisible by three = Player X wins RANDOM NUMBER GENERATOR If you toss a coin ten times, what is the probability of getting three or more heads in a row? If an airline overbooks a certain flight, what is the chance more passengers show up than the airplane has

More information

A Mathematical Analysis of Oregon Lottery Keno

A Mathematical Analysis of Oregon Lottery Keno Introduction A Mathematical Analysis of Oregon Lottery Keno 2017 Ted Gruber This report provides a detailed mathematical analysis of the keno game offered through the Oregon Lottery (http://www.oregonlottery.org/games/draw-games/keno),

More information

What is Bet the Flop?

What is Bet the Flop? What is Bet the Flop? Bet the Flop is a great new side bet for poker games that have a 3-card FLOP, like Texas Hold em and Omaha. It generates additional poker table revenue for the casino or poker table

More information

S = {(1, 1), (1, 2),, (6, 6)}

S = {(1, 1), (1, 2),, (6, 6)} Part, MULTIPLE CHOICE, 5 Points Each An experiment consists of rolling a pair of dice and observing the uppermost faces. The sample space for this experiment consists of 6 outcomes listed as pairs of numbers:

More information

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following:

The topic for the third and final major portion of the course is Probability. We will aim to make sense of statements such as the following: CS 70 Discrete Mathematics for CS Spring 2006 Vazirani Lecture 17 Introduction to Probability The topic for the third and final major portion of the course is Probability. We will aim to make sense of

More information

Discrete Random Variables Day 1

Discrete Random Variables Day 1 Discrete Random Variables Day 1 What is a Random Variable? Every probability problem is equivalent to drawing something from a bag (perhaps more than once) Like Flipping a coin 3 times is equivalent to

More information

Tail. Tail. Head. Tail. Head. Head. Tree diagrams (foundation) 2 nd throw. 1 st throw. P (tail and tail) = P (head and tail) or a tail.

Tail. Tail. Head. Tail. Head. Head. Tree diagrams (foundation) 2 nd throw. 1 st throw. P (tail and tail) = P (head and tail) or a tail. When you flip a coin, you might either get a head or a tail. The probability of getting a tail is one chance out of the two possible outcomes. So P (tail) = Complete the tree diagram showing the coin being

More information

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY

18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY 18.S34 (FALL, 2007) PROBLEMS ON PROBABILITY 1. Three closed boxes lie on a table. One box (you don t know which) contains a $1000 bill. The others are empty. After paying an entry fee, you play the following

More information

EECS 203 Spring 2016 Lecture 15 Page 1 of 6

EECS 203 Spring 2016 Lecture 15 Page 1 of 6 EECS 203 Spring 2016 Lecture 15 Page 1 of 6 Counting We ve been working on counting for the last two lectures. We re going to continue on counting and probability for about 1.5 more lectures (including

More information

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 3

Math 146 Statistics for the Health Sciences Additional Exercises on Chapter 3 Math 46 Statistics for the Health Sciences Additional Exercises on Chapter 3 Student Name: Find the indicated probability. ) If you flip a coin three times, the possible outcomes are HHH HHT HTH HTT THH

More information

1. For which of the following sets does the mean equal the median?

1. For which of the following sets does the mean equal the median? 1. For which of the following sets does the mean equal the median? I. {1, 2, 3, 4, 5} II. {3, 9, 6, 15, 12} III. {13, 7, 1, 11, 9, 19} A. I only B. I and II C. I and III D. I, II, and III E. None of the

More information

GCSE MATHEMATICS Intermediate Tier, topic sheet. PROBABILITY

GCSE MATHEMATICS Intermediate Tier, topic sheet. PROBABILITY GCSE MATHEMATICS Intermediate Tier, topic sheet. PROBABILITY. In a game, a player throws two fair dice, one coloured red the other blue. The score for the throw is the larger of the two numbers showing.

More information

4.12 Practice problems

4.12 Practice problems 4. Practice problems In this section we will try to apply the concepts from the previous few sections to solve some problems. Example 4.7. When flipped a coin comes up heads with probability p and tails

More information

The $25,000 a Week Dominator Roulette Strategy Profit Plan!

The $25,000 a Week Dominator Roulette Strategy Profit Plan! Martin J. Silverthorne The $25,000 a Week Dominator Roulette Strategy Profit Plan! Silverthorne Publications, Inc. The $25,000 Dominator Roulette Profit Plan COPYRIGHT 2009 Silverthorne Publications Inc.

More information

Math 147 Lecture Notes: Lecture 21

Math 147 Lecture Notes: Lecture 21 Math 147 Lecture Notes: Lecture 21 Walter Carlip March, 2018 The Probability of an Event is greater or less, according to the number of Chances by which it may happen, compared with the whole number of

More information

Probability Rules. 2) The probability, P, of any event ranges from which of the following?

Probability Rules. 2) The probability, P, of any event ranges from which of the following? Name: WORKSHEET : Date: Answer the following questions. 1) Probability of event E occurring is... P(E) = Number of ways to get E/Total number of outcomes possible in S, the sample space....if. 2) The probability,

More information

Section 11.4: Tree Diagrams, Tables, and Sample Spaces

Section 11.4: Tree Diagrams, Tables, and Sample Spaces Section 11.4: Tree Diagrams, Tables, and Sample Spaces Diana Pell Exercise 1. Use a tree diagram to find the sample space for the genders of three children in a family. Exercise 2. (You Try!) A soda machine

More information

Math Steven Noble. November 24th. Steven Noble Math 3790

Math Steven Noble. November 24th. Steven Noble Math 3790 Math 3790 Steven Noble November 24th The Rules of Craps In the game of craps you roll two dice then, if the total is 7 or 11, you win, if the total is 2, 3, or 12, you lose, In the other cases (when the

More information

Mini-Unit. Data & Statistics. Investigation 1: Correlations and Probability in Data

Mini-Unit. Data & Statistics. Investigation 1: Correlations and Probability in Data Mini-Unit Data & Statistics Investigation 1: Correlations and Probability in Data I can Measure Variation in Data and Strength of Association in Two-Variable Data Lesson 3: Probability Probability is a

More information

Midterm 2 Practice Problems

Midterm 2 Practice Problems Midterm 2 Practice Problems May 13, 2012 Note that these questions are not intended to form a practice exam. They don t necessarily cover all of the material, or weight the material as I would. They are

More information

Probability. 13 February Math 210G 13 February /21

Probability. 13 February Math 210G 13 February /21 Probability 13 February 2012 Math 210G 13 February 2012 1/21 Homework Assignment (forgot to mention last time) Assignment 3 is on the course website. Since I forgot to mention it on Friday I m pushing

More information

a) Getting 10 +/- 2 head in 20 tosses is the same probability as getting +/- heads in 320 tosses

a) Getting 10 +/- 2 head in 20 tosses is the same probability as getting +/- heads in 320 tosses Question 1 pertains to tossing a fair coin (8 pts.) Fill in the blanks with the correct numbers to make the 2 scenarios equally likely: a) Getting 10 +/- 2 head in 20 tosses is the same probability as

More information

Directions: Solve the following problems. Circle your answers. length = 7 cm. width = 4 cm. height = 3 cm

Directions: Solve the following problems. Circle your answers. length = 7 cm. width = 4 cm. height = 3 cm length = 7 cm width = 4 cm height = 3 cm 2. Heidi has an odd number of stamps in her collection. The sum of the digits in the number of stamps she has is 12. The hundreds digit is three times the ones

More information

Chapter 7 Homework Problems. 1. If a carefully made die is rolled once, it is reasonable to assign probability 1/6 to each of the six faces.

Chapter 7 Homework Problems. 1. If a carefully made die is rolled once, it is reasonable to assign probability 1/6 to each of the six faces. Chapter 7 Homework Problems 1. If a carefully made die is rolled once, it is reasonable to assign probability 1/6 to each of the six faces. A. What is the probability of rolling a number less than 3. B.

More information

10-7 Simulations. Do 20 trials and record the results in a frequency table. Divide the frequency by 20 to get the probabilities.

10-7 Simulations. Do 20 trials and record the results in a frequency table. Divide the frequency by 20 to get the probabilities. 1. GRADES Clara got an A on 80% of her first semester Biology quizzes. Design and conduct a simulation using a geometric model to estimate the probability that she will get an A on a second semester Biology

More information

Unit 9: Probability Assignments

Unit 9: Probability Assignments Unit 9: Probability Assignments #1: Basic Probability In each of exercises 1 & 2, find the probability that the spinner shown would land on (a) red, (b) yellow, (c) blue. 1. 2. Y B B Y B R Y Y B R 3. Suppose

More information

CS1802 Week 9: Probability, Expectation, Entropy

CS1802 Week 9: Probability, Expectation, Entropy CS02 Discrete Structures Recitation Fall 207 October 30 - November 3, 207 CS02 Week 9: Probability, Expectation, Entropy Simple Probabilities i. What is the probability that if a die is rolled five times,

More information

Section 7.1 Experiments, Sample Spaces, and Events

Section 7.1 Experiments, Sample Spaces, and Events Section 7.1 Experiments, Sample Spaces, and Events Experiments An experiment is an activity with observable results. 1. Which of the follow are experiments? (a) Going into a room and turning on a light.

More information

the gamedesigninitiative at cornell university Lecture 6 Uncertainty & Risk

the gamedesigninitiative at cornell university Lecture 6 Uncertainty & Risk Lecture 6 Uncertainty and Risk Risk: outcome of action is uncertain Perhaps action has random results May depend upon opponent s actions Need to know what opponent will do Two primary means of risk in

More information

When a number cube is rolled once, the possible numbers that could show face up are

When a number cube is rolled once, the possible numbers that could show face up are C3 Chapter 12 Understanding Probability Essential question: How can you describe the likelihood of an event? Example 1 Likelihood of an Event When a number cube is rolled once, the possible numbers that

More information

Waiting Times. Lesson1. Unit UNIT 7 PATTERNS IN CHANCE

Waiting Times. Lesson1. Unit UNIT 7 PATTERNS IN CHANCE Lesson1 Waiting Times Monopoly is a board game that can be played by several players. Movement around the board is determined by rolling a pair of dice. Winning is based on a combination of chance and

More information

Table Games Rules. MargaritavilleBossierCity.com FIN CITY GAMBLING PROBLEM? CALL

Table Games Rules. MargaritavilleBossierCity.com FIN CITY GAMBLING PROBLEM? CALL Table Games Rules MargaritavilleBossierCity.com 1 855 FIN CITY facebook.com/margaritavillebossiercity twitter.com/mville_bc GAMBLING PROBLEM? CALL 800-522-4700. Blackjack Hands down, Blackjack is the most

More information

Basic Probability Ideas. Experiment - a situation involving chance or probability that leads to results called outcomes.

Basic Probability Ideas. Experiment - a situation involving chance or probability that leads to results called outcomes. Basic Probability Ideas Experiment - a situation involving chance or probability that leads to results called outcomes. Random Experiment the process of observing the outcome of a chance event Simulation

More information

######################################################################

###################################################################### Write a MATLAB program which asks the user to enter three numbers. - The program should figure out the median value and the average value and print these out. Do not use the predefined MATLAB functions

More information

Name: Class: Date: 6. An event occurs, on average, every 6 out of 17 times during a simulation. The experimental probability of this event is 11

Name: Class: Date: 6. An event occurs, on average, every 6 out of 17 times during a simulation. The experimental probability of this event is 11 Class: Date: Sample Mastery # Multiple Choice Identify the choice that best completes the statement or answers the question.. One repetition of an experiment is known as a(n) random variable expected value

More information

Such a description is the basis for a probability model. Here is the basic vocabulary we use.

Such a description is the basis for a probability model. Here is the basic vocabulary we use. 5.2.1 Probability Models When we toss a coin, we can t know the outcome in advance. What do we know? We are willing to say that the outcome will be either heads or tails. We believe that each of these

More information

Module 5: Probability and Randomness Practice exercises

Module 5: Probability and Randomness Practice exercises Module 5: Probability and Randomness Practice exercises PART 1: Introduction to probability EXAMPLE 1: Classify each of the following statements as an example of exact (theoretical) probability, relative

More information

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following:

The next several lectures will be concerned with probability theory. We will aim to make sense of statements such as the following: CS 70 Discrete Mathematics for CS Fall 2004 Rao Lecture 14 Introduction to Probability The next several lectures will be concerned with probability theory. We will aim to make sense of statements such

More information

2 A fair coin is flipped 8 times. What is the probability of getting more heads than tails? A. 1 2 B E. NOTA

2 A fair coin is flipped 8 times. What is the probability of getting more heads than tails? A. 1 2 B E. NOTA For all questions, answer E. "NOTA" means none of the above answers is correct. Calculator use NO calculators will be permitted on any test other than the Statistics topic test. The word "deck" refers

More information

1. Five cards are drawn from a standard deck of 52 cards, without replacement. What is the probability that (a) all of the cards are spades?

1. Five cards are drawn from a standard deck of 52 cards, without replacement. What is the probability that (a) all of the cards are spades? Math 13 Final Exam May 31, 2012 Part I, Long Problems. Name: Wherever applicable, write down the value of each variable used and insert these values into the formula. If you only give the answer I will

More information

Identifying Online Professional Poker Players: A Revealed and Stated Analysis Approach ABSTRACT INTRODUCTION

Identifying Online Professional Poker Players: A Revealed and Stated Analysis Approach ABSTRACT INTRODUCTION Identifying Online Professional Poker Players: A Revealed and Stated Analysis Approach Kahlil S. Philander College of Hotel Administration University of Nevada, Las Vegas and Brett L.L. Abarbanel College

More information

1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8?

1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8? Math 1711-A Summer 2016 Final Review 1 August 2016 Time Limit: 170 Minutes Name: 1. How many subsets are there for the set of cards in a standard playing card deck? How many subsets are there of size 8?

More information

Lesson 4: Calculating Probabilities for Chance Experiments with Equally Likely Outcomes

Lesson 4: Calculating Probabilities for Chance Experiments with Equally Likely Outcomes NYS COMMON CORE MAEMAICS CURRICULUM 7 : Calculating Probabilities for Chance Experiments with Equally Likely Classwork Examples: heoretical Probability In a previous lesson, you saw that to find an estimate

More information

Presentation by Toy Designers: Max Ashley

Presentation by Toy Designers: Max Ashley A new game for your toy company Presentation by Toy Designers: Shawntee Max Ashley As game designers, we believe that the new game for your company should: Be equally likely, giving each player an equal

More information