Calculating Odds of Getting at Least One Pair in Pai Gow

  • B
  • Thread starter bland
  • Start date
In summary, the conversation discusses the odds of getting at least one pair in Pai Gow, a game with 16 pairs of tiles and 32 tiles dealt out at 4 per hand. The speaker initially tried to simplify the problem by picking out 4 tiles and asking if there was a pair, but became confused. They then attempted to calculate the odds separately for two possible pairs, but did not know how to combine them. Another person provides a formula for calculating the probability and explains how to calculate the probabilities for having one pair and two different tiles, two pairs of tiles, and four different tiles. The speaker acknowledges their mistake and clarifies that they only want at least one pair, not necessarily two pairs.
  • #1
bland
146
42
TL;DR Summary
This looks like it should be simple but it has me flummoxed. I have been unable to find anything online to give me a clue.
To be sure there are very complex odds calculators that give you useful information but nothing that addresses what I want to know, which is simply what are the odds of getting at least one pair in Pai Gow.

Simply put. There are 16 pairs of tiles. The 32 tiles are dealt out at 4 tiles per hand. And I'm wanting to know what are the odds of one of the hands receiving at least one pair.

I began by putting reducing this to simply picking out 4 tiles out of a stack of 32 and asking do I have a pair.

So the first tile goes down. Then there are 31 tiles left so the odds of drawing a pair with the first two tiles are 1 chance in 31. That seemed OK then I thought the odds then of the third tile matching the first is 1 chance in 30, but then there is the second tile that could have been match. It got confusing so I started a different tack...

I thought I'd do the two possible pairs separately. So I figured let's just match the first tile only, that means there are 31 tiles and 3 chances to match, so that about 1 chance in 10 that seems right. But now there was also 2 chances in 30 that could match the 2nd tile. So I have approx 1 chance in 10 plus 1 chance in 15. But now I don't know how to combine them. I'm sure this is very simple but I'm still confused.
 
Physics news on Phys.org
  • #2
I have no knowledge of the game. If your question is probability of finding at least one pair in 4 tiles from 16 pairs tiles, I think it is
[tex] 16(\frac{4}{32})^2 = \frac{1}{4}[/tex]
Do I take it too simple ?
 
  • Skeptical
Likes PeroK
  • #3
Yes you have accurately grasped my problem. Thank you for that, no wonder I couldn't work it out, I shall attempt to understand your equation.
 
  • #4
bland said:
Summary:: This looks like it should be simple but it has me flummoxed. I have been unable to find anything online to give me a clue.

To be sure there are very complex odds calculators that give you useful information but nothing that addresses what I want to know, which is simply what are the odds of getting at least one pair in Pai Gow.

Simply put. There are 16 pairs of tiles. The 32 tiles are dealt out at 4 tiles per hand. And I'm wanting to know what are the odds of one of the hands receiving at least one pair.

I began by putting reducing this to simply picking out 4 tiles out of a stack of 32 and asking do I have a pair.

So the first tile goes down. Then there are 31 tiles left so the odds of drawing a pair with the first two tiles are 1 chance in 31. That seemed OK then I thought the odds then of the third tile matching the first is 1 chance in 30, but then there is the second tile that could have been match. It got confusing so I started a different tack...

I thought I'd do the two possible pairs separately. So I figured let's just match the first tile only, that means there are 31 tiles and 3 chances to match, so that about 1 chance in 10 that seems right. But now there was also 2 chances in 30 that could match the 2nd tile. So I have approx 1 chance in 10 plus 1 chance in 15. But now I don't know how to combine them. I'm sure this is very simple but I'm still confused.
If I've understood correctly, there are 16 pairs of tiles and you want the probability that;

a) You have one pair and two different tiles.

Plus

b) You have two pairs of tiles.

There are a number of ways to do this. The simplest perhaps is to note that there is only one further possibility, which is to have four different tiles.

c) Four different tiles.

We can calculate the probability of that and note that ##P(a) + P(b) = 1 - P(c)##.

To calculate ##P(c)## the first tile can be anything, the second tile mustn't be the same as the first (that's ##30/31##); the third time must be different from both the first two (that's ##28/30##); and the last one must be different from the first three (that's ##26/29##). So:
$$P(c) = \frac{30}{31}\cdot \frac{28}{30} \cdot \frac{26}{29} = \frac{728}{899} \approx 0.810$$So that
$$P(a) + P(b) = \frac{171}{899}$$
We can also calculate ##P(a)## and ##P(b)## directly. This gives:
$$P(a) = \frac{168}{899}, \ \ P(b) = \frac{3}{899}$$
 
  • Like
Likes Moes, anuttarasammyak and bland
  • #5
bland said:
Yes you have accurately grasped my problem. Thank you for that, no wonder I couldn't work it out, I shall attempt to understand your equation.
The answer in post #2 is not correct.
 
  • Like
Likes bland
  • #6
PeroK said:
If I've understood correctly, there are 16 pairs of tiles and you want the probability that;

a) You have one pair and two different tiles.

Plus

b) You have two pairs of tiles.

There are a number of ways to do this. The simplest perhaps is to note that there is only one further possibility, which is to have four different tiles.

c) Four different tiles.

We can calculate the probability of that and note that ##P(a) + P(b) = 1 - P(c)##.

To calculate ##P(c)## the first tile can be anything, the second tile mustn't be the same as the first (that's ##30/31##); the third time must be different from both the first two (that's ##28/30##); and the last one must be different from the first three (that's ##26/29##). So:
$$P(c) = \frac{30}{31}\cdot \frac{28}{30} \cdot \frac{26}{29} = \frac{728}{899} \approx 0.810$$So that
$$P(a) + P(b) = \frac{171}{899}$$
We can also calculate ##P(a)## and ##P(b)## directly. This gives:
$$P(a) = \frac{168}{899}, \ \ P(b) = \frac{3}{899}$$

I am actually after something in between a) and b) although although b) is also good to know.

But I can see what I was doing wrong now by looking at your working out.

Out of the four tiles I just want at least one pair, I don't care if the other two match or not. I don't need to exclude a second pair, if that makes sense. For example it's as if I bet someone I would draw a pair from the four tile, if I drew two pair, it doesn't matter.Strangely enough this talk of 'at least' reminded me of a very simple problem that I estimate 95% of people I ask get wrong that is...

There are six single black socks and six single white socks in a box in a completely dark room with you. You need to grab a matching pair in the dark. Q: What is the minimum quantity of single socks that you need to take to be absolutely certain that you have at least one matching pair. When asked almost everyone gets this wrong.
 
  • #7
bland said:
I am actually after something in between a) and b) although although b) is also good to know.

But I can see what I was doing wrong now by looking at your working out.

Out of the four tiles I just want at least one pair, I don't care if the other two match or not. I don't need to exclude a second pair, if that makes sense. For example it's as if I bet someone I would draw a pair from the four tile, if I drew two pair, it doesn't matter.
That's what I've calculated. a) is exactly one pair and b) is two pairs. So, at least one pair is a + b.

bland said:
Strangely enough this talk of 'at least' reminded me of a very simple problem that I estimate 95% of people I ask get wrong that is...

There are six single black socks and six single white socks in a box in a completely dark room with you. You need to grab a matching pair in the dark. Q: What is the minimum quantity of single socks that you need to take to be absolutely certain that you have at least one matching pair. When asked almost everyone gets this wrong.
If you take three socks, they can't all be different!
 
  • Like
Likes Dale
  • #8
bland said:
There are six single black socks and six single white socks in a box in a completely dark room with you. You need to grab a matching pair in the dark. Q: What is the minimum quantity of single socks that you need to take to be absolutely certain that you have at least one matching pair. When asked almost everyone gets this wrong.
There is another solution: you could switch the light on!
 
  • #9
PeroK said:
That's what I've calculated. a) is exactly one pair and b) is two pairs. So, at least one pair is a + b.If you take three socks, they can't all be different!

OK that's excellent thank you.

Yes pretty obviously 3 but ask someone and they'll probably say 7, although I can also get other answers. They'll say 7 and I'll say, no it's 3 and they'll say "but what if you get three black socks". And I'll say well you have a pair then don't you. It's crazy I know, try it.
 
  • Like
Likes PeroK
  • #10
PeroK said:
There is another solution: you could switch the light on!

Yes, this is why it's always better to add that it's not a trick. Try it and see! I even tell people before I ask it that almost no one ever gets this right, I explain it's just what it sounds like. Still they say 7, almost every time.
 
  • #11
PeroK said:
We can also calculate ##P(a)## and ##P(b)## directly. This gives:
$$P(a) = \frac{168}{899}, \ \ P(b) = \frac{3}{899}$$
I'll show you how I calculated ##P(b)##. In general, there are two approaches: counting and direct probabilities. I like to use direct probabilities unless it gets too difficult.

The first thing to note is that if we have two pairs, then we have one of the following:
$$XXYY, XYXY, XYYX$$The second point is that each of these is equally likely. You might have to think about this. So, we could calculate the probability of getting ##XXYY## and multiply by three. I.e.
$$P(b) = 3\times P(XXYY)$$Finally, we can use the direct probabilities to calculate ##P(XXYY)##:

The first tile can be anything, but the second must match the first. Then, the third tile can be anything, but the fourth must match the third. This gives:
$$P(XXYY) = \frac{1}{31}\cdot\frac{1}{29} = \frac{1}{899}$$Note that we can get ##P(a)## as:
$$P(a) = 1 - P(b) - P(c) = 1 - \frac{3}{899} - \frac{728}{899} = \frac{168}{899}$$A final exercise is to double check this by calculating ##P(a)## independently. Hint:
$$P(a) = 6 \times P(XXYZ)$$
 
  • Informative
  • Like
Likes Moes and bland
  • #12
The reason that this came up is that I was using this online Pai Gow practice tool, and I've seen hundreds of Pai Gow games played live in a casino and I am assuming that this site is using a random generator to select the tiles, and yet the hands it deals both to itself and to the player look completely wrong, if you saw it in a casino you'd think something was up. So now I know the proper probabilities, I can check the actual odds against what I see coming up.
 
  • #13
PeroK said:
The answer in post #2 is not correct.
Yea. I agree with you that
[tex]P(c)=\frac{\ _{16}C_4\ 2^4}{\ _{32}C_4}[/tex]
[tex]P(b)=\frac{\ _{16}C_2}{\ _{32}C_4}[/tex]
[tex]P(a)=\frac{\ _{16}C_1 (\ _{30}C_2 - \ _{15}C_1)}{\ _{32}C_4}[/tex]
Thanks.
 
Last edited:
  • Like
Likes bland and PeroK
  • #14
anuttarasammyak said:
Yea. I agree with you that
[tex]P(c)=\frac{\ _{16}C_4\ 2^4}{\ _{32}C_4}[/tex]
Thanks.
The number of hands is ##\binom{32}{4}## and the number of two-pair hands is ##\binom{16}{2}##. So:$$P(b)= \frac{ \binom{16}{2}}{\binom{32}{4}} = 0.003337 = \frac{3}{899}$$
 
Last edited:
  • Like
Likes bland
  • #15
Any time you have a problem that says "at least one pair", you should expect the answer to be one of two forms:
1) Sum of P(1 pair) + P(2 pair) + P(3 pair) + ...
or
2) 1 - P(0 pair)
 
  • Like
Likes bland
  • #16
Please stay on topic. I had to remove a couple of posts. If you want to discuss QM, start a thread in our QM forum. This is about mathematics, and as far as I can tell very classical mathematics.
 
  • #17
bland said:
So the first tile goes down. Then there are 31 tiles left so the odds of drawing a pair with the first two tiles are 1 chance in 31. That seemed OK then I thought the odds then of the third tile matching the first is 1 chance in 30, but then there is the second tile that could have been match. It got confusing so I started a different tack...
I also thought this method should work and I like figuring out what was wrong with the way I was thinking, so I went through it. I’m not sure why you got confused, but you were actually correct. The third tile would have a 1 in 30 chance of matching the first tile but also a 1 in 30 chance of matching the second, so it would have a 2 in 30 chance of matching either. Then the fourth tile would have a 3 in 29 chance of matching one of the other 3 tiles. The question is just how to combine these probabilities. That’s why it’s easier to do it the way PeroK did it. But this is the way I combined the probabilities and got the same answer.

1/31 + (2/30 × (1 - 1/31)) + (3/29 × (1 - ((1/31) + (2/30 × (1 - 1/31))))) = 171/899Never mind how I got that, but the point is even though there is an easier way to do it, this way also worked.
 
  • Like
Likes bland
  • #18
bland said:
Yes pretty obviously 3 but ask someone and they'll probably say 7, although I can also get other answers. They'll say 7 and I'll say, no it's 3 and they'll say "but what if you get three black socks". And I'll say well you have a pair then don't you. It's crazy I know, try it.
For some reason people think of a pair as a kind of set where you need one of each instead of two of the same items. It’s interesting. But I actually don’t think their mistake is with the math.
 
  • #19
Moes said:
... The question is just how to combine these probabilities.
Yes, it was when I tried to combine the probabilities that I got confused. I'll work through your example
Moes said:
r some reason people think of a pair as a kind of set where you need one of each instead of two of the same items. It’s interesting. But I actually don’t think their mistake is with the math.
Yes people do answer as if the question was 'at least one non matching pair', but you can ask the question in such a way as to eliminate all possibility of this error, yet you'll still get 7 very often. But when no one has ever said that they thought I meant a non matching pair, so they do understand it must be a matching pair. It's just one of those strange things.
 
  • Like
Likes Moes and PeroK

1. How do I calculate odds?

To calculate odds, you need to first determine the total number of possible outcomes and the number of favorable outcomes. Then, divide the number of favorable outcomes by the total number of possible outcomes and multiply by 100 to get the odds as a percentage.

2. What is the difference between odds and probability?

Odds and probability both represent the likelihood of an event occurring. However, odds are typically expressed as a ratio of favorable outcomes to total outcomes, while probability is expressed as a decimal or percentage.

3. How do I convert odds to probability?

To convert odds to probability, divide the odds by the sum of the odds and 1. For example, if the odds are 2:1, the probability would be 2/(2+1) = 2/3 or 0.667.

4. Can odds be negative?

No, odds cannot be negative. They represent the ratio of favorable outcomes to total outcomes, so they must be greater than or equal to 0.

5. How can I use odds to make predictions?

Odds can be used to make predictions by comparing the odds of different outcomes and determining which one has a higher likelihood of occurring. However, it is important to note that odds do not guarantee an outcome and should be used in conjunction with other factors.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
2K
  • Programming and Computer Science
Replies
1
Views
2K
  • Programming and Computer Science
2
Replies
37
Views
3K
  • Programming and Computer Science
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
14
Views
1K
  • Quantum Physics
Replies
1
Views
805
Replies
9
Views
939
  • Set Theory, Logic, Probability, Statistics
Replies
9
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
Back
Top