downtowner
downtowner
  • Threads: 7
  • Posts: 45
Joined: Dec 7, 2011
September 27th, 2017 at 4:38:15 PM permalink
I have been thinking about some odds lately while playing JoB on the WoO site. I have some question I think are very difficult to calculate. Let's see if anyone is up to the challenge.

1) What percentage of the time, if the "best choice" is made, will the best outcome occur? In other words, how often would the player get a better outcome if he knew the cards that were going to come up and made a different choice based on this knowledge?

2/3) What percentage of all hands dealt could a Royal occur if the cards to come were known? This actually may not be that difficult to figure out. However as a related question, how often would this happen if the "best choice" is made? Or how often are Royals missed because the "best choice" wasn't the one leading to the Royal?

By "best choice" I mean the correct selection of holds based on the WoO perfect rules. At first I figured that anyone would need to know what cards were going to come up next to figure out the answer these questions. But now I'm not even sure that is true. Just thinking about how to answer these makes my head hurt.
rsactuary
rsactuary
  • Threads: 29
  • Posts: 2315
Joined: Sep 6, 2014
September 27th, 2017 at 6:17:46 PM permalink
1) 100%. If you make the best choice, the end result will be the highest possible return given the cards held. Yes, I know this is not what you meant by your question, but you shouldn't focus on final outcome. If you focus on holding the cards that give you the best return, long run, you will do better.
Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 27th, 2017 at 6:38:12 PM permalink
For a perfect peeker, I get a probability of a royal of 1 in 23,080.75.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
Ibeatyouraces
Ibeatyouraces
  • Threads: 68
  • Posts: 11933
Joined: Jan 12, 2010
September 27th, 2017 at 7:09:56 PM permalink
I've thought about this same question before. Payback percentage of say 9/6 JoB if you knew the next five cards. You never know when a machine will F up!
DUHHIIIIIIIII HEARD THAT!
camapl
camapl
  • Threads: 8
  • Posts: 528
Joined: Jun 22, 2010
September 28th, 2017 at 3:05:54 AM permalink
Quote: downtowner

I have been thinking about some odds lately while playing JoB on the WoO site. I have some question I think are very difficult to calculate. Let's see if anyone is up to the challenge.

1) What percentage of the time, if the "best choice" is made, will the best outcome occur? In other words, how often would the player get a better outcome if he knew the cards that were going to come up and made a different choice based on this knowledge?

2/3) What percentage of all hands dealt could a Royal occur if the cards to come were known? This actually may not be that difficult to figure out. However as a related question, how often would this happen if the "best choice" is made? Or how often are Royals missed because the "best choice" wasn't the one leading to the Royal?

By "best choice" I mean the correct selection of holds based on the WoO perfect rules. At first I figured that anyone would need to know what cards were going to come up next to figure out the answer these questions. But now I'm not even sure that is true. Just thinking about how to answer these makes my head hurt.



Excellent question, downtowner! I, too, have considered this idea. Furthermore, what would be the value of knowing the next one, two, three,... cards after the deal. It comes to mind more often on Loose Deuces, when I choose one of two pairs and get the wrong card(s) on the deal.

By the way, in the field of Decision Analysis, this idea is referred to as the "value of perfect information." What is VP analysis if not a huge decision tree?

Wish I had more time to analyze further - would be an interesting idea for a VP variant.
It’s a dog eat dog world. …Or maybe it’s the other way around!
Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 28th, 2017 at 6:29:10 AM permalink
I think there is an IGT video poker variation where you pay a fee and can see the next card. As far as I know, it never caught on.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
ThatDonGuy
ThatDonGuy
  • Threads: 122
  • Posts: 6679
Joined: Jun 22, 2011
September 28th, 2017 at 7:42:36 AM permalink
Quote: Wizard

For a perfect peeker, I get a probability of a royal of 1 in 23,080.75.

That's what I get as well:
Break the 2,598,960 deals up by the number of Royal cards (10 through Ace) in a particular suit(s):
Distribution10-A2-9Deals
5414
42032640
4-13001300
34049619840
3-16003219200
3-1-1300013000
3-2120011200
2404960198400
2-1600496297600
2-1-130003296000
2-1-1-1500015000
2-26003219200
2-2-1600016000
12035960719200
1-11504960744000
1-1-1500496248000
1-1-1-16253220000
01201376201376

The columns are, from left to right:
Distribution - the number of Royal cards by suit (e.g. 2-1-1 may be 10s Ks 10h Qd and a 2-9)
Royals - the number of sets of 10-A cards possible
Non-Royals - the number of sets of 2-9s for each set of 10-A
Deals - the total number of hands with that distribution

If you add up the numbers, you get:
4 deals with a Royal
940 deals with a 4/Royal; you have a 1/47 chance that the next card completes the Royal
43,240 deals with a 3/Royal; you have a 1/1081 chance that the next 2 cards complete the Royal
622,200 deals with at least one 2/Royal; you have a 1/16,215 chance that the next 3 cards complete the Royal
1,731,200 deals with at least one 1/Royal; you have a 1/178,365 chance that the next 4 cards complete the Royal
201,376 deals with no cards in any Royal; you have a 4/1,533,939 chance of being dealt a Royal with the next 5 cards
Adding these up and dividing by 2,598,960 gets a result of 1 / 23,080.75
Last edited by: ThatDonGuy on Sep 28, 2017
BobDancer
BobDancer
  • Threads: 21
  • Posts: 200
Joined: Jun 22, 2013
September 28th, 2017 at 10:55:48 AM permalink
TDG: "622,200 deals with at least one 2/Royal; you have a 1/16,215 chance that the next 3 cards complete the Royal"

On a hand like As Ks Qh Jh 5c, you are calculating a 1/16,215 chance. I understand how you got that. You assumed you held the hearts and drew three cards.

But isn't it 2/16,215 because BOTH the three royal cards in spades AND the three royal cards in hearts would qualify?

Similarly for a hand like Ah Ks Qd Jc 5x, your formula implies there is one way to draw four perfect royal cards --- but actually there are four because the royal could be in any of the four suits.

This isn't going to affect the final number by much --- but it does make it more likely than you indicate.

If I'm wrong, please correct me.
ThatDonGuy
ThatDonGuy
  • Threads: 122
  • Posts: 6679
Joined: Jun 22, 2011
September 28th, 2017 at 11:18:25 AM permalink
Quote: BobDancer

TDG: "622,200 deals with at least one 2/Royal; you have a 1/16,215 chance that the next 3 cards complete the Royal"

On a hand like As Ks Qh Jh 5c, you are calculating a 1/16,215 chance. I understand how you got that. You assumed you held the hearts and drew three cards.

But isn't it 2/16,215 because BOTH the three royal cards in spades AND the three royal cards in hearts would qualify?


No, because in that case, you have to choose to keep either the two spades or the two hearts. In either case, only one set of three drawn cards will complete the Royal Flush.

The same with your second example - you can keep only one of the four cards, and the four cards dealt have to be in that suit. The probability of making the Royal will be the same regardless of which of the four cards you choose to keep.

The only exception to this "rule" is if you do not have any 10 or higher cards in your initial five; in that case, the next five cards can be any of the four possible Royal Flushes.
BobDancer
BobDancer
  • Threads: 21
  • Posts: 200
Joined: Jun 22, 2013
September 28th, 2017 at 10:42:18 PM permalink
Quote: ThatDonGuy

No, because in that case, you have to choose to keep either the two spades or the two hearts. In either case, only one set of three drawn cards will complete the Royal Flush.

The same with your second example - you can keep only one of the four cards, and the four cards dealt have to be in that suit. The probability of making the Royal will be the same regardless of which of the four cards you choose to keep.

The only exception to this "rule" is if you do not have any 10 or higher cards in your initial five; in that case, the next five cards can be any of the four possible Royal Flushes.




I understood the original premise was that a perfect peeker would look first and THEN decide what to play. So on the As Ks Qh Jh 5c hand, if he peeked and saw three royal spade cards he would hold AK. If he saw three royal heart cards he would hold QJ.

You tell me I have to pick the hearts or spades first and then peek. That can't be right because the peeking wouldn't give me any value because I already made my choice. If peeking is going to give me value, I should be able to choose EITHER AK or QJ after I peek.

What am I missing?
Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 29th, 2017 at 12:10:40 PM permalink
Quote: BobDancer

I understood the original premise was that a perfect peeker would look first and THEN decide what to play. So on the As Ks Qh Jh 5c hand, if he peeked and saw three royal spade cards he would hold AK. If he saw three royal heart cards he would hold QJ.

You tell me I have to pick the hearts or spades first and then peek. That can't be right because the peeking wouldn't give me any value because I already made my choice. If peeking is going to give me value, I should be able to choose EITHER AK or QJ after I peek.

What am I missing?



You're not missing anything; I was.

My answer would have been correct if the question was what is the probability of a royal for a "royal or nothing" player. In other words, a perfect player against a pay table where only a royal paid anything. The strategy would be simple -- keep the cards to a royal in the suit where you have the most. In a tie, pick randomly.

A perfect peeker would have a better chance. Consider the hand on the deal: Ah Kc Qc Jc 10c and the next cards on the draw were, in order, Kh Qh Jh 10h 2s. The royal or nothing player would keep the four clubs -- and get a pair of kings. The perfect peeker would keep the Ah only and get the royal.

That said, my probability for the perfect peeker is 1 in 20304.37624 (edited). Can I get anyone to second that? It is a tricky problem. Be careful to not double-count situations like getting a royal on the deal, with a royal in a different suit right behind it on the draw.

I assumed that the five draw cards were randomly drawn from the 47 not used on the deal, in a specific order, and they would come out in that order according to how many cards the player discarded.
Last edited by: Wizard on Sep 29, 2017
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
ThatDonGuy
ThatDonGuy
  • Threads: 122
  • Posts: 6679
Joined: Jun 22, 2011
September 29th, 2017 at 12:36:36 PM permalink
Quote: BobDancer

I understood the original premise was that a perfect peeker would look first and THEN decide what to play. So on the As Ks Qh Jh 5c hand, if he peeked and saw three royal spade cards he would hold AK. If he saw three royal heart cards he would hold QJ.

You tell me I have to pick the hearts or spades first and then peek. That can't be right because the peeking wouldn't give me any value because I already made my choice. If peeking is going to give me value, I should be able to choose EITHER AK or QJ after I peek.

What am I missing?


Doing it that way, I get 1 / 20,858.57.

Let me see if my method is right:
If the deal is, for example, As Ks Qs Jh 10d, then there are three possible ways for the draw to be a Royal Flush:
(1) The first two cards are Js 10s (in either order); this has a probability of 1 / 1081
(2) The first four cards are Ah Kh Qh 10h; this has a probability of 1 / 178,365
(3) The first four cards are Ad Kd Qd Jd; this also has a probability of 1 / 178,365
The three possibilities are independent of each other, since the first card determines the suit of the eventual Royal Flush, so the probability of getting a Royal Flush from that hand is 1 / 1081 + 2 / 178,365.

Breakdown# DealsProb of Royal
541
46401/47
4-13001/47 + 1/178365
3198401/1081
3-1192001/1081 + 1/178365
3-1-130001/1081 + 2/178365
3-212001/1081 + 2/16215
21984001/16215
2-12976001/16215 + 1/178365
2-1-1960001/16215 + 2/178365
2-1-1-150001/16215 + 3/178365
2-2192002/16215
2-2-160002/16215 + 1/178365
17192001/178365
1-17440002/178365
1-1-12480003/178365
1-1-1-1200004/178365
02013764/1533939

If you multiply the second and third values in each row together, sum those products, and then divide by 2,598,960, you get 1 / 20,858.57314

Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 29th, 2017 at 12:55:00 PM permalink
Let's consider the "4" situation, where you say the probability is 1/47.

Isn't it possible that the next 5 cards in the draw are a royal to one of the other three suits? So, shouldn't the probability of 4 to a royal on the deal, where the 5th card is a 9 or less, 1/47 + 3*(1/1533939) ? Of course, many other lines will have this same issue of possible full royals on draw.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
DJTeddyBear
DJTeddyBear
  • Threads: 210
  • Posts: 11060
Joined: Nov 2, 2009
September 29th, 2017 at 1:21:04 PM permalink
I'm not enough of a math guy to do the calculations, but an easy way to think of this is to just make the best 5 card hand out of the first 10 cards dealt. And then discount cases where you have multiple ways of getting the same best hand.
I invented a few casino games. Info: http://www.DaveMillerGaming.com/ ————————————————————————————————————— Superstitions are silly, childish, irrational rituals, born out of fear of the unknown. But how much does it cost to knock on wood? 😁
Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 29th, 2017 at 1:29:43 PM permalink
Quote: DJTeddyBear

I'm not enough of a math guy to do the calculations, but an easy way to think of this is to just make the best 5 card hand out of the first 10 cards dealt. And then discount cases where you have multiple ways of getting the same best hand.



I would not go down that path. The peeker can not pick and choose which cards he wants from the predestined five cards on the draw. If this situation is:

Deal: Th Jh Qh Kh 2s
Draw 3c Ah 4c 5c 6c

Then there is zero chance at a royal. The peeker cannot say "I'll take the Ah." The 3c is first in line for the draw and nothing can change that.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
billryan
billryan
  • Threads: 247
  • Posts: 17004
Joined: Nov 2, 2009
September 29th, 2017 at 1:33:32 PM permalink
Does a game exist that shows you the next five cards or is this a Altuve vs Judge for MVP type of discussion?
The older I get, the better I recall things that never happened
ThatDonGuy
ThatDonGuy
  • Threads: 122
  • Posts: 6679
Joined: Jun 22, 2011
September 29th, 2017 at 1:40:29 PM permalink
Quote: DJTeddyBear

I'm not enough of a math guy to do the calculations, but an easy way to think of this is to just make the best 5 card hand out of the first 10 cards dealt. And then discount cases where you have multiple ways of getting the same best hand.


That will not work - here's why:

Suppose you are dealt As Ks Qs Js 3c
Also suppose the "next five cards," in order, are 2d 10s 8c Jc 3h.
The "best five cards" make a Royal Flush, but you can't get the 10 of spades unless you discard at least one of the cards in your hand that make that Royal Flush.
ThatDonGuy
ThatDonGuy
  • Threads: 122
  • Posts: 6679
Joined: Jun 22, 2011
September 29th, 2017 at 1:53:22 PM permalink
Quote: Wizard

Let's consider the "4" situation, where you say the probability is 1/47.

Isn't it possible that the next 5 cards in the draw are a royal to one of the other three suits? So, shouldn't the probability of 4 to a royal on the deal, where the 5th card is a 9 or less, 1/47 + 3*(1/1533939) ? Of course, many other lines will have this same issue of possible full royals on draw.


You are right, and when you take those into account, I get 1 / 20,292.64

With the exception of the dealt Royal, where the probability is already 1, there is a 1 / 1,533,939 chance of drawing five cards to a Royal for each suit without a high card in the deal. For example, with Ks Js 2h 6c 7d, you can be dealt a Royal in hearts, clubs, or diamonds.
Breakdown# of dealsProb of Royal
541
46401/47 + 3/1533939
4-13001/47 + 1/178365 + 2/1533939
3198401/1081 + 3/1533939
3-1192001/1081 + 1/178365 + 2/1533939
3-1-130001/1081 + 2/178365 + 1/1533939
3-212001/1081 + 2/16215 + 2/1533939
21984001/16215 + 3/1533939
2-12976001/16215 + 1/178365 + 2/1533939
2-1-1960001/16215 + 2/178365 + 1/1533939
2-1-1-150001/16215 + 3/178365
2-2192002/16215 + 2/1533939
2-2-160002/16215 + 1/178365 + 1/1533939
17192001/178365 + 3/1533939
1-17440002/178365 + 2/1533939
1-1-12480003/178365 + 1/1533939
1-1-1-1200004/178365
02013764/1533939

Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 29th, 2017 at 2:13:59 PM permalink
Quote: billryan

Does a game exist that shows you the next five cards or is this a Altuve vs Judge for MVP type of discussion?



As far as I know, it is just a math problem. I can't see how knowing the answer would help in any video poker game, except one that had a bug that somehow revealed the draw cards.

BTW, it is my understanding the draw cards are not predestined but the rest of the deck is shuffled over and over while the game waits for you to make a decision.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
Wizard
Administrator
Wizard
  • Threads: 1518
  • Posts: 27037
Joined: Oct 14, 2009
September 29th, 2017 at 3:50:03 PM permalink
BTW, I couple hours of programming could determine the answer to question number 1. However, it would help to have some kind of reason for the question before I fussed with it.
"For with much wisdom comes much sorrow." -- Ecclesiastes 1:18 (NIV)
DJTeddyBear
DJTeddyBear
  • Threads: 210
  • Posts: 11060
Joined: Nov 2, 2009
September 29th, 2017 at 3:57:23 PM permalink
Sigh, thanks for pointing out the error in my logic. That just confirms that I should avoid these complex math scenarios.
I invented a few casino games. Info: http://www.DaveMillerGaming.com/ ————————————————————————————————————— Superstitions are silly, childish, irrational rituals, born out of fear of the unknown. But how much does it cost to knock on wood? 😁
  • Jump to: