Coin tossing sequences Martin

Slides:



Advertisements
Similar presentations
Discrete Random Variables To understand what we mean by a discrete random variable To understand that the total sample space adds up to 1 To understand.
Advertisements

9-3 Sample Spaces Warm Up Warm Up Lesson Presentation Lesson Presentation Problem of the Day Problem of the Day Lesson Quizzes Lesson Quizzes.
Lecture Discrete Probability. 5.2 Recap Sample space: space of all possible outcomes. Event: subset of of S. p(s) : probability of element s of.
1 Press Ctrl-A ©G Dear2009 – Not to be sold/Free to use Tree Diagrams Stage 6 - Year 12 General Mathematic (HSC)
Oh Craps! AMATYC Presentation November 2009 Lance Phillips – Tulsa Community College.
Counting Outcomes Lesson
Binomial Distribution & Bayes’ Theorem. Questions What is a probability? What is the probability of obtaining 2 heads in 4 coin tosses? What is the probability.
Paradox Lost: The Evils of Coins and Dice George Gilbert October 6, 2010.
Hypothesis testing 1.Make assumptions. One of them is the “hypothesis.” 2.Calculate the probability of what happened based on the assumptions. 3.If the.
CHAPTER 6: RANDOM VARIABLES AND EXPECTATION
Probability – Compound Events. What is a Compound Event? It is the probability of two or more things happening at once.
1 Algorithms CSCI 235, Fall 2012 Lecture 9 Probability.
Chapter 3 Section 3.6 Conditional Probability. The interesting questions that probability can answer are how much one event will effect another. Does.
You can make an organized list to show all possible
Chapter 3 Section 3.2 Basic Terms of Probability.
14/6/1435 lecture 10 Lecture 9. The probability distribution for the discrete variable Satify the following conditions P(x)>= 0 for all x.
The Big Picture: Counting events in a sample space allows us to calculate probabilities The key to calculating the probabilities of events is to count.
Lecture 1 Sec
Copyright © Cengage Learning. All rights reserved. 8.6 Probability.
Probability Distributions
Random Variables Learn how to characterize the pattern of the distribution of values that a random variable may have, and how to use the pattern to find.
Binomial Probabilities IBHL, Y2 - Santowski. (A) Coin Tossing Example Take 2 coins and toss each Make a list to predict the possible outcomes Determine.
The Outwood Grange Family of Schools Let Me Count The Ways (teacher notes): 1. Obviously an important skill in problem solving is to be able to count the.
Mathematics Probability: Events Science and Mathematics Education Research Group Supported by UBC Teaching and Learning Enhancement Fund Department.
Section 2.8 Probability and Odds Objectives: Find the probability of an event Find the odds of an event.
10-3 Sample Spaces Warm Up Warm Up Lesson Presentation Lesson Presentation Problem of the Day Problem of the Day Lesson Quizzes Lesson Quizzes.
Chapter 3 Section 3.7 Independence. Independent Events Two events A and B are called independent if the chance of one occurring does not change if the.
Discrete Math Section 16.3 Use the Binomial Probability theorem to find the probability of a given outcome on repeated independent trials. Flip a coin.
Math 145 September 18, Terminologies in Probability  Experiment – Any process that produces an outcome that cannot be predicted with certainty.
Binomial Probability Theorem In a rainy season, there is 60% chance that it will rain on a particular day. What is the probability that there will exactly.
Math 1320 Chapter 7: Probability 7.1 Sample Spaces and Events.
Chapter 10 PROBABILITY. Probability Terminology  Experiment: take a measurement Like flipping a coin  Outcome: one possible result of an experiment.
10-3 Sample Spaces These are the notes that came with the teacher guide for the textbook we are using as a resource. These notes may be DIFFERENT than.
Chapter 6 Probability Mohamed Elhusseiny
Lesson 10: Using Simulation to Estimate a Probability Simulation is a procedure that will allow you to answer questions about real problems by running.
WDYE? 2.3: Designing a Fair Game Learning Target: I will analyze the fairness of a game by listing all possible outcomes in a tree diagram and determining.
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Warm Up 1. A dog catches 8 out of 14 flying disks thrown. What is the experimental probability that it will catch the next one? 2. If Ted popped 8 balloons.
Terminologies in Probability
2.3 Probability and Odds Objective: Given a description an event, find the probability and/or the odds of the event happening (including replacement and.
first, we get a grasp of these darn coins!
Copyright © 2016, 2013, and 2010, Pearson Education, Inc.
Natural Language Processing
WDYE? 2.3: Designing a Fair Game
UNIT 8 Discrete Probability Distributions
©G Dear 2010 – Not to be sold/Free to use
Discrete and Continuous Random Variables
Math 145 September 25, 2006.
CHAPTER 6 Random Variables
Binomial Distribution & Bayes’ Theorem
Probability.
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Terminologies in Probability
Statistical Inference for Managers
Terminologies in Probability
Terminologies in Probability
1. Probabilistic Models.
Section Probability Models
Probability The branch of mathematics that describes the pattern of chance outcome.
Terminologies in Probability
©G Dear 2009 – Not to be sold/Free to use
72 24) 20/ ) S = {hhh, hht, hth, thh, tth, tht, htt, ttt} 10%
Pascal’s Triangle By Marisa Eastwood.
Math 145 June 26, 2007.
Terminologies in Probability
Math 145 February 12, 2008.
Terminologies in Probability
pencil, red pen, highlighter, GP notebook, calculator
Warm Up Problem of the Day Lesson Presentation Lesson Quizzes.
Presentation transcript:

Coin tossing sequences Martin

Toss a coin repeatedly until we get a particular sequence. e.g. HTT TTTHHTHTT 9 tosses How many tosses on average? Is it the same for all sequences?

How many tosses on average to get HTT or HTH? Options: A.HTT takes longer B.HTH takes longer C.Both the same THT THH H T

HHTHTTTTTHHH HTTTHTHHTTTT HHTHTHHTTTHT HTTHHTHTTTHT Probability = 1/8 Average wait = 8 Target: HTT

HHTHTTTTTHHH HTTTHTHHTTTT HHTHTHHTTTHT HTTHHTHTTTHT Probability = 1/8 Average wait > 8 Target: HTH Overlaps don’t get counted

Calculating the average wait Bet £1 on each coin being start of chosen sequence THHTTHTH Target: HTH Stake Payout In a fair game, payout for matching all 3 is £8 Also payout £4 for matching 2, £2 for matching 1 For HTH, payout = £10 For fair game, average stake = payout  Average number of tosses = 10 for HTH

Calculating the average wait Bet £1 on each coin being start of chosen sequence THTTHTH Target: HTH Stake (£) Payout (£) In a fair game, payout for matching all 3 is £8 Also payout £4 for matching 2, £2 for matching 1 For HTH, payout = £10 For fair game, average stake = payout  Average number of tosses = 10 for HTH

Average wait Sequence length n Minimum wait = 2 n Maximum wait = 2 n+1 -2 Longer sequence always has longer wait SequenceAverage wait HHH14 HHT8 HTH10 HTT8 THH8 THT10 TTH8 TTT14 SequenceAverage wait HH6 HT4 TH4 TT6 SequenceAverage wait H2 T2

Two sequences Which is more likely to occur first? e.g. HTT, HTH THHTTHTH Penney’s game Walter Penney, Journal of Recreational Mathematics, October 1969, p.241

Probability of red sequence preceding blue HHHHHTHTHHTTTHHTHTTTHTTT HHH1/23/5 7/87/127/101/2 HHT1/21/3 3/43/81/23/10 HTH2/52/31/2 5/85/12 HTT2/52/31/2 1/41/8 THH1/81/41/2 2/32/5 THT5/125/81/2 2/32/5 TTH3/101/23/83/41/3 1/2 TTT1/27/107/127/83/5 1/2 n=3

Probability of red sequence preceding blue n=3

Which sequence is more likely to occur first n= Shorter wait always at least 50% probability of preceding longer one Average wait

Which sequence is more likely to occur first Average wait n=4

n=5n=6n=7n=8n=9 Which sequence is more likely to occur first

Average wait n=4

Which sequence has the shorter waiting time Average wait n=4

Which sequence is more likely to occur first Average wait n=4 Longer average wait is more likely to precede shorter one!

Shorter wait can precede longer wait Ignoring transposition of H,T, distinct cases are: HTHH (18) beats HHTT (16) with p=4/7 ≈ 0.57 HTHH (18) beats THHH (16) with p=7/12 ≈ 0.58 THHT (18) beats HHTT (16) with p=7/12 ≈ 0.58 THTH (20) beats HTHH (18) with p=9/14 ≈ 0.64 THTH has an almost 2/3 probability of preceding HTHH, yet takes longer to occur on average!

References Martin Gardner, Time Travel and other Mathematical Bewilderments, Same article, but also including proof based on average wait time: repository.net/il/user_contents/02/G Repository/repository/keidaironshu_063 _004_ pdfhttp:// repository.net/il/user_contents/02/G Repository/repository/keidaironshu_063 _004_ pdf Theorems X and Y in this article can be seen to be true based on the gambling approach shown in the following Martingale approach: Which sequence will occur first? Penney Ante: Counterintuitive Probabilities in Coin Tossing bact.mathcircles.org/files/Summer2010/PenneyAnte.pdf bact.mathcircles.org/files/Summer2010/PenneyAnte.pdf Penney’s game How to win at coin flipping flipping/ flipping/