Blackjack Betting and Playing Strategies: A Statistical Comparison By Jared Luffman MSIM 752 12/3/2007.

Slides:



Advertisements
Similar presentations
STAT 135 LAB 14 TA: Dongmei Li. Hypothesis Testing Are the results of experimental data due to just random chance? Significance tests try to discover.
Advertisements

Rene Plowden Joseph Libby. Improving the profit margin by optimizing the win ratio through the use of various strategies and algorithmic computations.
Probability & Statistical Inference Lecture 7 MSc in Computing (Data Analytics)
REVIEW OF BASICS PART II Probability Distributions Confidence Intervals Statistical Significance.
Simulation Where real stuff starts. ToC 1.What, transience, stationarity 2.How, discrete event, recurrence 3.Accuracy of output 4.Monte Carlo 5.Random.
Analysis and Strategy 1) They can’t all be homers.
Simple Linear Regression
Chapter 6 Hypotheses texts. Central Limit Theorem Hypotheses and statistics are dependent upon this theorem.
Chap 11-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 11 Hypothesis Testing II Statistics for Business and Economics.
Chapter Goals After completing this chapter, you should be able to:
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
A Decision-Making Approach
Independent Sample T-test Often used with experimental designs N subjects are randomly assigned to two groups (Control * Treatment). After treatment, the.
8-4 Testing a Claim About a Mean
Statistics 03 Hypothesis Testing ( 假设检验 ). When we have two sets of data and we want to know whether there is any statistically significant difference.
Blackjack: A Beatable Game
Blackjack: Myths vs. Reality Group K Andrew KerrAndrew Phillips Sven SkoogWoj Wrona.
1 Chapter 9 Inferences from Two Samples In this chapter we will deal with two samples from two populations. The general goal is to compare the parameters.
Blackjack: An Analysis of Probability By: John Theobald.
April 2009 BEATING BLACKJACK CARD COUNTING FEASIBILITY ANALYSIS THROUGH SIMULATION.
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Claims about a Population Mean when σ is Known Objective: test a claim.
1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Topics: Statistics & Experimental Design The Human Visual System Color Science Light Sources: Radiometry/Photometry Geometric Optics Tone-transfer Function.
MARE 250 Dr. Jason Turner Hypothesis Testing III.
MS 305 Recitation 11 Output Analysis I
Unit 8 Section : z Test for a Mean  Many hypotheses are tested using the generalized statistical formula: Test value = (Observed Value)-(expected.
Blackjack: A Beatable Game Amber Guo Adapted from: David Parker Advisor: Dr. Wyels California Lutheran University ‘05.
Topic 7 - Hypothesis tests based on a single sample Sampling distribution of the sample mean - pages Basics of hypothesis testing -
A Course In Business Statistics 4th © 2006 Prentice-Hall, Inc. Chap 9-1 A Course In Business Statistics 4 th Edition Chapter 9 Estimation and Hypothesis.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Example (which tire lasts longer?) To determine whether a new steel-belted radial tire lasts longer than a current model, the manufacturer designs the.
Confidence intervals and hypothesis testing Petter Mostad
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 10.17:
The z test statistic & two-sided tests Section
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 9-1 Chapter 9 Two-Sample Tests Statistics for Managers Using Microsoft.
1 1 Slide © 2009 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS St. Edward’s University.
Slide Slide 1 Section 8-4 Testing a Claim About a Mean:  Known.
KNR 445 Statistics t-tests Slide 1 Introduction to Hypothesis Testing The z-test.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
: An alternative representation of level of significance. - normal distribution applies. - α level of significance (e.g. 5% in two tails) determines the.
ETM 607 – Output Analysis: Estimation of Relative Performance Output comparison between two or more alternative systems Common Random Numbers (CRN) Comparison.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Simulation Chapter 16 of Quantitative Methods for Business, by Anderson, Sweeney and Williams Read sections 16.1, 16.2, 16.3, 16.4, and Appendix 16.1.
Copyright © 1998, Triola, Elementary Statistics Addison Wesley Longman 1 Assumptions 1) Sample is large (n > 30) a) Central limit theorem applies b) Can.
Lecture Slides Elementary Statistics Twelfth Edition
T tests comparing two means t tests comparing two means.
Hypothesis Testing. Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean μ = 120 and variance σ.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
1 Nonparametric Statistical Techniques Chapter 18.
Tests About a Population Proportion
Inference for Regression (Chapter 14) A.P. Stats Review Topic #3
Inference about Two Means - Independent Samples
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Chapter 11 Hypothesis Testing II
Simulation-Based Approach for Comparing Two Means
Testing a Claim About a Mean:  Known
Hypothesis Theory PhD course.
Stat 217 – Day 28 Review Stat 217.
Statistical inference
Significance Tests: The Basics
TESTs about a population mean
What are their purposes? What kinds?
Chapter Outline Inferences About the Difference Between Two Population Means: s 1 and s 2 Known.
Unit 5: Hypothesis Testing
Inferences from Matched Pairs
Data Analysis and Statistical Software I ( ) Quarter: Autumn 02/03
Statistical inference
Testing a Claim About a Mean:  Known
Presentation transcript:

Blackjack Betting and Playing Strategies: A Statistical Comparison By Jared Luffman MSIM /3/2007

Model Dynamics Randomness of Deck –Shuffling, Cutting, End of Shoe Designing Betting Patterns –Flat Bet –Modify Bet by Counting Designing Player Strategies –Dealer Rules –Recommended Strategy –Counting for Probability Rules/Game Play –Surrender, Even Money –No Insurance

Implementation Visual Studio.NET –Visual Basic

Implementation User Input –GUI Executable –Strategies Play like dealer Recommended Counting –Betting Standard Bet Counting –Advanced Counting

Implementation Model Output –Text Files –CSV

Modeling Objectives Determine Statistical Significance of –Betting Strategy Counting vs. Standard Bet –Playing Strategy Playing Like Dealer vs. Recommended Playing Recommended Strategy vs. Counting –Table Strategy Playing Alone vs. Playing with Other Players Playing Alone with Counting vs. Playing with Others who Play Recommended Strategy Playing Along with Counting vs. Playing with Other Players who Count

Analysis Compared Results After Playing a Complete Shoe –All Results are IID if based on Randomly Distributed Cards Deck Randomness –Shuffling Cut Location End of Shoe Location Cards

Deck Randomness Shuffle –Used a Reducing Uniform Distribution First card = Uniform (1, 312) Second card = Uniform (1, 311) [after 1 st card shuffled] Cut Location –Uniform (52, 260) Cannot Cut within 1 Deck of Beginning or End of Shoe

Deck Randomness End of Shoe Location –Triangular (208,  26) End Of Shoe Should be at 4 Decks and within a half a deck

Deck Randomness Cards –Average Value

Analysis Single Player Results As Difference of Matched Pairs –i.e. E[Strat 1 /Bet 1 ] – E[Strat 2 /Bet 2 ] confidence interval, E[Strat 2 /Bet 2 ] – E[Strat 3 /Bet 3 ] confidence interval –Hypothesis Test H 0 : (  1 -  2 ) = 0H 1 : (  1 -  2 ) > 0 95% Confidence Interval –250 Simulations

Analysis TEST  1 -  2 dd Tt 0.05 Result Dealer with Standard Bet vs. Dealer With Simple Counting Failed to Reject Recommended with Standard Bet vs. Recommended With Simple Counting Failed to Reject Counting with Standard Bet vs. Counting With Simple Counting Reject Null Hypothesis Betting Strategy Analysis –Standard Bet vs. Simple Counting Bet –Cannot determine if standard bet is better or worse than simple counting based bed

Analysis TEST  1 -  2 dd Tt 0.05 Result Dealer with Simple Counting vs. Dealer With Advanced Counting Reject Null Hypothesis Recommended with Simple Counting vs. Recommended With Advanced Counting Failed to Reject Counting with Simple Counting vs. Counting With Advanced Counting Failed to Reject Betting Strategy Analysis –Simple Counting Bet vs. Advanced Counting Bet

Analysis with Discussion TEST  1 -  2 dd Tt 0.05 Result Recommended with Simple Counting vs. Dealer With Simple Counting Reject Null Hypothesis Counting with Advanced Counting vs. Recommended With Advanced Counting Reject Null Hypothesis Playing Strategy Analysis Definitively, the Recommended Strategy gives better results on average than the dealer’s strategy or the counting strategy

Analysis Playing Strategy Analysis with Multiple Players –Common Strategy w/ Normal Betting & N Additional Players –Common Strategy w/ Counting Betting & N Additional Players –Counting Strategy w/ Normal Betting & N Additional Players –Counting Strategy w/ Counting Betting & N Additional Players –i.e. E[Batch(Strat 1, 1 /Bet 1, 1 )] – E[Batch(Strat 1,2 /Bet 1,2 )], E[Batch(Strat 2, 1 /Bet 2, 1 )] – E[Batch(Strat 2,2 /Bet 2,2 )] Determine if the Number of Players affects Results Test for Best Strategy to Use with N Players

Analysis Confidence Intervals Driven by Standard Deviation –Results varied by shoe (-2700, 2900) –Average difference relatively close to 0 Tests Inconclusive –Mixture of Rejecting the Null Hypotheses H 0 :  1 -  2 = 0 for H 1 :  1 -  2 > 0 Need to Increase Sample Size –Standard Deviations are too High –N needs to be larger

Future Analysis Ran simulations for a single player using the Recommended Strategy and a standard bet Statistical values of interest –  =0.304 –  = –n = H 0 :  1 = 0 H 1 :  1 > 0 –Fail to reject Null Hypothesis –However, larger n and stabilized  and  mean other tests may change

Lessons Learned –Handling Simulation Run Output Limited by Excel –Integer Values vs. Reals Card values, Chips, etc are Integer Values Probabilities are Reals Dealing with Probabilities of Card Values There is such a things as too much data –Originally thought 250 simulations would be sufficient Saved a lot of data –Needed to Max-out Excel (50000 simulations) Too little time to go back and remove all data outputs Large simulation took 30 minutes to run (broken into 5 runs)

Improvements Data Handling –Allow user to specify data to be recorded Improve Counting Strategy –Counting should improve odds Probabilistic Betting Strategies –“Build your own” Strategy –Dealer Strategy and Recommended were easy because they were defined Optimization –A search heuristic to determine the best “action” strategy based on perfect knowledge of the system i.e. Could you hit on a 20 to get a 21, or hit on a 20 to bust so your following hands would be better off

Conclusions The only concrete result was that the Recommended Strategy provided better payoffs on average than the dealer’s strategy or the counting strategy Need to make modification to output to speed up simulations to rerun hypothesis tests with increased N value Find a known counting strategy and implement it to see how it compares to the standard recommended strategy