Bondy3
Bondy3
  • Threads: 23
  • Posts: 106
Joined: Jan 4, 2013
January 20th, 2017 at 4:16:08 PM permalink
if I was going to play a short round of 9/6 jacks (say I need 5k coin in for a promotion, and I am playing a $5 machine, so $25/pull, therefor only need to play 200 hands)

how much bankroll would I need to have X% chance of making it to my goal without going bankrupt?

Is there a calculator to calculate something like this?

What if I had to play a $10 machine so I only needed 100 hands?
ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6273
Joined: Jun 22, 2011
Thanked by
Bondy3
January 20th, 2017 at 5:07:56 PM permalink
There's no simple formula for this, given that each hand has 10 different results.

Using the Wizard's 9/6 Jacks or Better probabilities, here's what I get for the 200 hand solution:

The first column is the size of the bankroll, in terms of maximum bets
The second column is the probability of losing the whole bankroll before getting through 200 hands
Bankroll200 hands
197.7379%
295.4342%
393.0917%
490.7133%
588.3022%
685.8616%
783.3951%
880.9063%
978.399%
1075.8772%
1173.3449%
1270.8064%
1368.2659%
1465.7277%
1563.1962%
1660.676%
1758.1714%
1855.6868%
1953.2268%
2050.7955%
2148.3974%
2246.0366%
2343.717%
2441.4426%
2539.2171%
2637.044%
2734.9266%
2832.8678%
2930.8706%
3028.9374%
3127.0704%
3225.2716%
3323.5425%
3421.8845%
3520.2985%
3618.7852%
3717.3449%
3815.9776%
3914.6831%
4013.4606%
4112.3094%
4211.2282%
4310.2156%
449.27%
458.3895%
467.572%
476.8153%
486.1169%
495.4743%
504.885%

ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6273
Joined: Jun 22, 2011
Thanked by
Bondy3
January 20th, 2017 at 6:22:50 PM permalink
Here's what I get for 100 hands, but remember, you should be comparing each number to the number twice as high in the 200-hand table (for example, with a bankroll of $1000 which is 40 bets at a $5 machine and 20 at a $10 machine, you have a 13.4606% chance of failure with the $5 machine and a 28.637% chance of failure with the $10 machine.) It appears that the $5 machine and 200 bets has a much better chance of success given the conditions.


Bankroll100 Hands
196.5667%
293.0479%
389.4516%
485.7874%
582.0653%
678.2966%
774.4935%
870.6689%
966.8365%
1063.0106%
1159.2061%
1255.4381%
1351.7217%
1448.0723%
1544.5046%
1641.0331%
1737.6715%
1834.4324%
1931.3275%
2028.367%
2125.5596%
2222.9124%
2320.4308%
2418.1184%
2515.9769%
2614.0062%
2712.2045%
2810.5684%
299.0928%
307.7714%
316.5966%
325.56%
334.6522%
343.8636%
353.1839%
362.603%
372.1107%
381.6971%
391.3528%
401.0687%
41.8365%
42.6486%
43.4981%
44.3786%
45.2849%
46.2121%
47.1562%
48.1137%
49.0818%
50.0582%

Bondy3
Bondy3
  • Threads: 23
  • Posts: 106
Joined: Jan 4, 2013
January 20th, 2017 at 7:14:16 PM permalink
Thank you for putting that table together.

How did you do it? Did you just do a bunch of simulations (if so how many? ) or did you do something math and fancy?
BobDancer
BobDancer
  • Threads: 21
  • Posts: 200
Joined: Jun 22, 2013
January 20th, 2017 at 10:26:34 PM permalink
There are two commercial products that calculate this kind of thing essentially instantly. Video Poker for Winners software and Dunbar's Risk Analyzer for Video Poker. The two products use different techniques --- but come up with very similar answers.
ThatDonGuy
ThatDonGuy
  • Threads: 117
  • Posts: 6273
Joined: Jun 22, 2011
Thanked by
Bondy3
January 21st, 2017 at 8:04:48 AM permalink
Quote: Bondy3

Thank you for putting that table together.

How did you do it? Did you just do a bunch of simulations (if so how many? ) or did you do something math and fancy?


Something math and fancy - it's usually called a Markov chain.
In this case, it works like this:
Draw a table, where each row is the number of bets made, and each column is your current bankroll. The value in each cell of the table is the probability of getting there. For the first row, which is 0 bets, the probability of the bankroll being your initial bankroll value is 1, and the probability for all other values is 0.
Starting from "row zero" and working down one row at a time, do this:
1. Set all values in that row to zero.
2. Since, if your bankroll was down to zero after the previous number of bets, it will remain zero (since you can't bet anything), copy the previous row's "zero bankroll" column's value into the current row's zero bankroll value.
3. For each column beginning with "bankroll 1", multiply the value in the previous row for that column by the probability of each of the 10 possible results (lose, jacks or better, two pair, and so on through royal flush), and add that value to the current row, in the column representing what the new bankroll would be.
4. In the case of this problem, I fudged it slightly; since we are interested only in what the probability is that the bankroll is (well, is not) zero after 200 bets, and you cannot lose more than 1 per bet, if a calculated value of the bankroll after a win is more than 200, treat it as 200. Without some sort of cap like this, there would be over 270,000 different results just after six bets.
Continue until you get to the maximum number of bets; the value in the zero bankroll column is the probability of failure.
Bondy3
Bondy3
  • Threads: 23
  • Posts: 106
Joined: Jan 4, 2013
January 21st, 2017 at 8:31:43 AM permalink
Thank you for that guideline. After reading what you wrote as well as the Wikipedia on markov chains I think I understand what you did.

What programming language do you use for this type of problem?
100xOdds
100xOdds
  • Threads: 640
  • Posts: 4303
Joined: Feb 5, 2012
January 21st, 2017 at 9:44:12 AM permalink
Data point for short term return:
$15 Freeplay.
.25 9/6 job

Only got $5. :(

33% return
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
Mission146
Mission146
  • Threads: 142
  • Posts: 16832
Joined: May 15, 2012
January 21st, 2017 at 9:52:39 AM permalink
Quote: 100xOdds

Data point for short term return:
$15 Freeplay.
.25 9/6 job

Only got $5. :(

33% return



That's not unusual for a sample of twelve hands. In fact, Free Play is the only reason that you are noticing it at all, many similar short runs come during longer sessions and go unnoticed simply because they are part of a much bigger session. Figure if the probability for a hand with no return is:

0.54543467

Then you would look at the probability on a zero return of $15 coin-in based on twelve hands as:

(0.54543467)^12 = 0.00069328671

Which means you would have:

1/0.00069328671 = 1 in 1,442.4046871 odds on it happening as of a specified initial hand. The longer you play, the more initial hands you have (being any hand that you are about to play or have just played, depending on how you define the, 'Initial,' hand) and the more likely you are to see a run like that at some point all the way until it becomes a near certainty.

A binomial distribution would also help to determine the probability of losing x number of hands out of 12, but I don't know how many you lost. There are several different ways in which you could have gotten that $5.00 return. Well, not several, but:

Straight
Trips + High Pair
Two Pair x 2
Two Pair x1 + High Pair x2
High Pair x4

So, I'd have to know which of those it was.
https://wizardofvegas.com/forum/off-topic/gripes/11182-pet-peeves/120/#post815219
100xOdds
100xOdds
  • Threads: 640
  • Posts: 4303
Joined: Feb 5, 2012
January 22nd, 2017 at 5:48:04 AM permalink
all high pairs
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
Mission146
Mission146
  • Threads: 142
  • Posts: 16832
Joined: May 15, 2012
January 22nd, 2017 at 8:34:50 AM permalink
The probability of a non-winning hand, assuming Optimal Strategy, is 0.54543467 whereas the probability of a pair of Jacks or Better is 0.21458503 (So, you technically ran better than expected on those!)

Using a Binomial Distribution, we can get a rough probability of the probability of having 8/12 losing hands, or more:

This sweet Binomial Distribution Calculator:

http://vassarstats.net/binomialX.html

Spits out a probability of 0.293245553423 to have eight or more losing hands in a sample size of twelve hands, with a probability of 0.165551207814 that it will be exactly eight losing hands. When it comes to exactly x losing hands, out of twelve, eight is the second most likely result to six and seven.

Of course, it is unfortunate that you did not get any 2P or better, but the probability of that happening can also be determined using a Binomial Distribution if you really want to. I don't. However, we can look at the probability of four or more Jacks or Better results:

The probability of exactly four such hands is about 0.151983443804 and the probability of four or more is 0.245516172993.

What I will do really quick is look at the probability of missing all other hands:

1-(.54543467)-(.21458503) = 0.2399803

That means that roughly 1 in 4 hands are 2P or better. The probability of hitting zero such hands in a twelve hand sample size is:

0.037144814519

That is about 1 in 26.92 in terms of the odds, so not even close to unusual, but certainly more unusual than looking at the occurrence of losing 8+ out of 12 hands (about 1 in 3.41) or winning four or more Jacks or Better pairs out of twelve hands (about 1 in 4.07 odds).

In other words, if you play enough VP, that sort of string of hands is virtually guaranteed to be something that you run into sooner or later, and it sounds like you play a good bit of VP. Furthermore, it has nothing to do with the probabilities or odds that you were playing free play, and even if it did, your results are not particularly unusual taken alone.
https://wizardofvegas.com/forum/off-topic/gripes/11182-pet-peeves/120/#post815219
100xOdds
100xOdds
  • Threads: 640
  • Posts: 4303
Joined: Feb 5, 2012
January 22nd, 2017 at 11:27:00 AM permalink
Quote: 100xOdds

Data point for short term return:
$15 Freeplay.
.25 9/6 job

Only got $5. :(

33% return


another data point:

$10 free play on .25 9/6 job.
only got $2.50 -> 25% return

yeah short term swing/variance
Craps is paradise (Pair of dice). Lets hear it for the SpeedCount Mathletes :)
  • Jump to: