“Fair” random pick with different pool size
$begingroup$
I'm working on a little tool for drafting cards, but I'm having trouble wrapping my head around a probability problem I've run into.
The scenario is the following: (context is changed for easier explanation)
There's a deck of 10 cards, numbered 1-10. All the cards are red, except the last 2 (9 and 10), which are blue.
Then 3 players get "random" cards:
John will get a random red card
Bob will get a random red card
Annie will get a random card from the deck
In order to make sure a larger number of people can participate without their "pool" being empty when it's their turn to randomly get a card, the player with the smallest "pool" available gets to pick first. (In this case the guys who can only get red cards).
Now here's the thing.
Since John and Bob has already taken 2 of the red cards, it seems to me that the chance of Annie getting any one of the red cards is smaller, and thus, the chance of her having a blue card is greater.
Let's say I were to guess at which card Annie has. Would I be better off guessing "10", than say, "2"?
And if yes - is this possible to mitigate in some way, by for example applying a higher "Weight" on the random number generator to the pool already chosen from by others?
probability
$endgroup$
add a comment |
$begingroup$
I'm working on a little tool for drafting cards, but I'm having trouble wrapping my head around a probability problem I've run into.
The scenario is the following: (context is changed for easier explanation)
There's a deck of 10 cards, numbered 1-10. All the cards are red, except the last 2 (9 and 10), which are blue.
Then 3 players get "random" cards:
John will get a random red card
Bob will get a random red card
Annie will get a random card from the deck
In order to make sure a larger number of people can participate without their "pool" being empty when it's their turn to randomly get a card, the player with the smallest "pool" available gets to pick first. (In this case the guys who can only get red cards).
Now here's the thing.
Since John and Bob has already taken 2 of the red cards, it seems to me that the chance of Annie getting any one of the red cards is smaller, and thus, the chance of her having a blue card is greater.
Let's say I were to guess at which card Annie has. Would I be better off guessing "10", than say, "2"?
And if yes - is this possible to mitigate in some way, by for example applying a higher "Weight" on the random number generator to the pool already chosen from by others?
probability
$endgroup$
add a comment |
$begingroup$
I'm working on a little tool for drafting cards, but I'm having trouble wrapping my head around a probability problem I've run into.
The scenario is the following: (context is changed for easier explanation)
There's a deck of 10 cards, numbered 1-10. All the cards are red, except the last 2 (9 and 10), which are blue.
Then 3 players get "random" cards:
John will get a random red card
Bob will get a random red card
Annie will get a random card from the deck
In order to make sure a larger number of people can participate without their "pool" being empty when it's their turn to randomly get a card, the player with the smallest "pool" available gets to pick first. (In this case the guys who can only get red cards).
Now here's the thing.
Since John and Bob has already taken 2 of the red cards, it seems to me that the chance of Annie getting any one of the red cards is smaller, and thus, the chance of her having a blue card is greater.
Let's say I were to guess at which card Annie has. Would I be better off guessing "10", than say, "2"?
And if yes - is this possible to mitigate in some way, by for example applying a higher "Weight" on the random number generator to the pool already chosen from by others?
probability
$endgroup$
I'm working on a little tool for drafting cards, but I'm having trouble wrapping my head around a probability problem I've run into.
The scenario is the following: (context is changed for easier explanation)
There's a deck of 10 cards, numbered 1-10. All the cards are red, except the last 2 (9 and 10), which are blue.
Then 3 players get "random" cards:
John will get a random red card
Bob will get a random red card
Annie will get a random card from the deck
In order to make sure a larger number of people can participate without their "pool" being empty when it's their turn to randomly get a card, the player with the smallest "pool" available gets to pick first. (In this case the guys who can only get red cards).
Now here's the thing.
Since John and Bob has already taken 2 of the red cards, it seems to me that the chance of Annie getting any one of the red cards is smaller, and thus, the chance of her having a blue card is greater.
Let's say I were to guess at which card Annie has. Would I be better off guessing "10", than say, "2"?
And if yes - is this possible to mitigate in some way, by for example applying a higher "Weight" on the random number generator to the pool already chosen from by others?
probability
probability
asked Dec 19 '18 at 13:52
ScherlingScherling
1185
1185
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
You are right that the probability of picking a "10" is more likely than a "2". Intuitively, this is because it's possible that John or Bob picked a "2", but not possible that they picked "10". This is called conditional probability.
More precisely, the chance that Anne picks a "10" is 1/8 since there are 8 cards remaining when she draws, and one of them is a "10".
On the other hand, in order to draw a "2" we need that John and Bob have not drawn a "2". There is a $frac{7}{8}$ chance that John does not draw a "2", and a $frac{6}{7}$ chance that Bob does not draw a "2" given that John did not draw a "2".
Therefore, there is a $frac{7}{8}cdotfrac{6}{7} = frac{3}{4} $ chance that there is a "2" in the deck when Annie draws.
If there is a "2" in the deck, she has a 1/8 chance of drawing it, but if there is no "2" in the deck she has no chance of drawing a "2". So the probability she draws a "2" is $ frac{3}{4}cdotfrac{1}{8} + frac{1}{4}cdot 0 = frac{3}{32}$ chance of drawing a "2".
Note that $frac{1}{8} = frac{4}{32}$ is larger than $frac{3}{32}$.
How to mitigate this depends a bit more on the exact setup of the game. There is no way to change the fact that she is more likely to draw the value on the blue card. However, it you randomly picked 2 cards to be the "blue" ones (without looking at them before dealing), then the probability of picking any given number would be uniform.
$endgroup$
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3046412%2ffair-random-pick-with-different-pool-size%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
You are right that the probability of picking a "10" is more likely than a "2". Intuitively, this is because it's possible that John or Bob picked a "2", but not possible that they picked "10". This is called conditional probability.
More precisely, the chance that Anne picks a "10" is 1/8 since there are 8 cards remaining when she draws, and one of them is a "10".
On the other hand, in order to draw a "2" we need that John and Bob have not drawn a "2". There is a $frac{7}{8}$ chance that John does not draw a "2", and a $frac{6}{7}$ chance that Bob does not draw a "2" given that John did not draw a "2".
Therefore, there is a $frac{7}{8}cdotfrac{6}{7} = frac{3}{4} $ chance that there is a "2" in the deck when Annie draws.
If there is a "2" in the deck, she has a 1/8 chance of drawing it, but if there is no "2" in the deck she has no chance of drawing a "2". So the probability she draws a "2" is $ frac{3}{4}cdotfrac{1}{8} + frac{1}{4}cdot 0 = frac{3}{32}$ chance of drawing a "2".
Note that $frac{1}{8} = frac{4}{32}$ is larger than $frac{3}{32}$.
How to mitigate this depends a bit more on the exact setup of the game. There is no way to change the fact that she is more likely to draw the value on the blue card. However, it you randomly picked 2 cards to be the "blue" ones (without looking at them before dealing), then the probability of picking any given number would be uniform.
$endgroup$
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
add a comment |
$begingroup$
You are right that the probability of picking a "10" is more likely than a "2". Intuitively, this is because it's possible that John or Bob picked a "2", but not possible that they picked "10". This is called conditional probability.
More precisely, the chance that Anne picks a "10" is 1/8 since there are 8 cards remaining when she draws, and one of them is a "10".
On the other hand, in order to draw a "2" we need that John and Bob have not drawn a "2". There is a $frac{7}{8}$ chance that John does not draw a "2", and a $frac{6}{7}$ chance that Bob does not draw a "2" given that John did not draw a "2".
Therefore, there is a $frac{7}{8}cdotfrac{6}{7} = frac{3}{4} $ chance that there is a "2" in the deck when Annie draws.
If there is a "2" in the deck, she has a 1/8 chance of drawing it, but if there is no "2" in the deck she has no chance of drawing a "2". So the probability she draws a "2" is $ frac{3}{4}cdotfrac{1}{8} + frac{1}{4}cdot 0 = frac{3}{32}$ chance of drawing a "2".
Note that $frac{1}{8} = frac{4}{32}$ is larger than $frac{3}{32}$.
How to mitigate this depends a bit more on the exact setup of the game. There is no way to change the fact that she is more likely to draw the value on the blue card. However, it you randomly picked 2 cards to be the "blue" ones (without looking at them before dealing), then the probability of picking any given number would be uniform.
$endgroup$
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
add a comment |
$begingroup$
You are right that the probability of picking a "10" is more likely than a "2". Intuitively, this is because it's possible that John or Bob picked a "2", but not possible that they picked "10". This is called conditional probability.
More precisely, the chance that Anne picks a "10" is 1/8 since there are 8 cards remaining when she draws, and one of them is a "10".
On the other hand, in order to draw a "2" we need that John and Bob have not drawn a "2". There is a $frac{7}{8}$ chance that John does not draw a "2", and a $frac{6}{7}$ chance that Bob does not draw a "2" given that John did not draw a "2".
Therefore, there is a $frac{7}{8}cdotfrac{6}{7} = frac{3}{4} $ chance that there is a "2" in the deck when Annie draws.
If there is a "2" in the deck, she has a 1/8 chance of drawing it, but if there is no "2" in the deck she has no chance of drawing a "2". So the probability she draws a "2" is $ frac{3}{4}cdotfrac{1}{8} + frac{1}{4}cdot 0 = frac{3}{32}$ chance of drawing a "2".
Note that $frac{1}{8} = frac{4}{32}$ is larger than $frac{3}{32}$.
How to mitigate this depends a bit more on the exact setup of the game. There is no way to change the fact that she is more likely to draw the value on the blue card. However, it you randomly picked 2 cards to be the "blue" ones (without looking at them before dealing), then the probability of picking any given number would be uniform.
$endgroup$
You are right that the probability of picking a "10" is more likely than a "2". Intuitively, this is because it's possible that John or Bob picked a "2", but not possible that they picked "10". This is called conditional probability.
More precisely, the chance that Anne picks a "10" is 1/8 since there are 8 cards remaining when she draws, and one of them is a "10".
On the other hand, in order to draw a "2" we need that John and Bob have not drawn a "2". There is a $frac{7}{8}$ chance that John does not draw a "2", and a $frac{6}{7}$ chance that Bob does not draw a "2" given that John did not draw a "2".
Therefore, there is a $frac{7}{8}cdotfrac{6}{7} = frac{3}{4} $ chance that there is a "2" in the deck when Annie draws.
If there is a "2" in the deck, she has a 1/8 chance of drawing it, but if there is no "2" in the deck she has no chance of drawing a "2". So the probability she draws a "2" is $ frac{3}{4}cdotfrac{1}{8} + frac{1}{4}cdot 0 = frac{3}{32}$ chance of drawing a "2".
Note that $frac{1}{8} = frac{4}{32}$ is larger than $frac{3}{32}$.
How to mitigate this depends a bit more on the exact setup of the game. There is no way to change the fact that she is more likely to draw the value on the blue card. However, it you randomly picked 2 cards to be the "blue" ones (without looking at them before dealing), then the probability of picking any given number would be uniform.
answered Dec 19 '18 at 16:24
tchtch
823310
823310
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
add a comment |
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
$begingroup$
Thank you for your answer - since I'm doing this programatically, there are indeed ways to apply "weight" to the chance, but I think I have enough to work on from your answer. I just needed to make sure my thoughts were correct, and how the math behind it works exactly
$endgroup$
– Scherling
Dec 20 '18 at 8:30
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3046412%2ffair-random-pick-with-different-pool-size%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown