Pick 5 numbers - calculate probability that respective 4-number combinations appear for $n-th$ time (given...












0












$begingroup$


We pick 5 unique (distinct) numbers out of [1..36] numbers (like playing a lottery). Each time we pick 5 unique numbers ("play one ticket") thus we select 5 distinct combinations of 4 numbers out of these 5 (let call such a combination - "tuple4").



We repeat picking 5 unique (distinct) numbers ("play one ticket") many times. After that we average how often certain tuple4 appeared.



It turns out that in N plays there were




  1. 21322 (66%) distinct tuple4 that appeared exactly once (1 time)

  2. 8335 (26%) distinct tuple4 that appeared exactly 2 times (none of tuples from item above included here, same applies below)

  3. 2171 (7%) distinct tuple4 that appeared exactly 3 times

  4. 481 (1%) - distinct tuple4 that appeared exactly 4 times


Percentage is taken from total number of tuple4 appearances (that is: $N*5$).



Now we "play" again (pick 5 unique (distinct) numbers) - what is the probability that among 5 distinct tuple4 that sach a play generates:





  1. At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time)

  2. Exactly 2 would appear for the first time and any of the remaining 3 would appear for second or third time (but not for first or 4th+ time)


How can I construct such formulas?



P.S. In all 376'992 possible combinations of 5 numbers from [1..36] there are 58'905 possible distinct tuple4. But I think this information and number of plays (N) is not needed. In my case N = 9400.



My thinking was like



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time): $(0.66)*(0.66)*(1-0.66)*((1-0.66)+0.66)*((1-0.66)+0.66) =$ 15%



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - only for the second time or more (but not for the first time): $(0.66)*(0.66)*(1-0.66)*((1-0.66))*((1-0.66)) = $ 1,7%



But these results don't seem to reflect what happens really (I did a good random-number computer simulation), so I think I made a mistake somewhere.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
    $endgroup$
    – Matteo
    Jan 10 at 14:14










  • $begingroup$
    $21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
    $endgroup$
    – Daniel Mathias
    Jan 10 at 14:40
















0












$begingroup$


We pick 5 unique (distinct) numbers out of [1..36] numbers (like playing a lottery). Each time we pick 5 unique numbers ("play one ticket") thus we select 5 distinct combinations of 4 numbers out of these 5 (let call such a combination - "tuple4").



We repeat picking 5 unique (distinct) numbers ("play one ticket") many times. After that we average how often certain tuple4 appeared.



It turns out that in N plays there were




  1. 21322 (66%) distinct tuple4 that appeared exactly once (1 time)

  2. 8335 (26%) distinct tuple4 that appeared exactly 2 times (none of tuples from item above included here, same applies below)

  3. 2171 (7%) distinct tuple4 that appeared exactly 3 times

  4. 481 (1%) - distinct tuple4 that appeared exactly 4 times


Percentage is taken from total number of tuple4 appearances (that is: $N*5$).



Now we "play" again (pick 5 unique (distinct) numbers) - what is the probability that among 5 distinct tuple4 that sach a play generates:





  1. At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time)

  2. Exactly 2 would appear for the first time and any of the remaining 3 would appear for second or third time (but not for first or 4th+ time)


How can I construct such formulas?



P.S. In all 376'992 possible combinations of 5 numbers from [1..36] there are 58'905 possible distinct tuple4. But I think this information and number of plays (N) is not needed. In my case N = 9400.



My thinking was like



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time): $(0.66)*(0.66)*(1-0.66)*((1-0.66)+0.66)*((1-0.66)+0.66) =$ 15%



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - only for the second time or more (but not for the first time): $(0.66)*(0.66)*(1-0.66)*((1-0.66))*((1-0.66)) = $ 1,7%



But these results don't seem to reflect what happens really (I did a good random-number computer simulation), so I think I made a mistake somewhere.










share|cite|improve this question









$endgroup$












  • $begingroup$
    Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
    $endgroup$
    – Matteo
    Jan 10 at 14:14










  • $begingroup$
    $21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
    $endgroup$
    – Daniel Mathias
    Jan 10 at 14:40














0












0








0


1



$begingroup$


We pick 5 unique (distinct) numbers out of [1..36] numbers (like playing a lottery). Each time we pick 5 unique numbers ("play one ticket") thus we select 5 distinct combinations of 4 numbers out of these 5 (let call such a combination - "tuple4").



We repeat picking 5 unique (distinct) numbers ("play one ticket") many times. After that we average how often certain tuple4 appeared.



It turns out that in N plays there were




  1. 21322 (66%) distinct tuple4 that appeared exactly once (1 time)

  2. 8335 (26%) distinct tuple4 that appeared exactly 2 times (none of tuples from item above included here, same applies below)

  3. 2171 (7%) distinct tuple4 that appeared exactly 3 times

  4. 481 (1%) - distinct tuple4 that appeared exactly 4 times


Percentage is taken from total number of tuple4 appearances (that is: $N*5$).



Now we "play" again (pick 5 unique (distinct) numbers) - what is the probability that among 5 distinct tuple4 that sach a play generates:





  1. At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time)

  2. Exactly 2 would appear for the first time and any of the remaining 3 would appear for second or third time (but not for first or 4th+ time)


How can I construct such formulas?



P.S. In all 376'992 possible combinations of 5 numbers from [1..36] there are 58'905 possible distinct tuple4. But I think this information and number of plays (N) is not needed. In my case N = 9400.



My thinking was like



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time): $(0.66)*(0.66)*(1-0.66)*((1-0.66)+0.66)*((1-0.66)+0.66) =$ 15%



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - only for the second time or more (but not for the first time): $(0.66)*(0.66)*(1-0.66)*((1-0.66))*((1-0.66)) = $ 1,7%



But these results don't seem to reflect what happens really (I did a good random-number computer simulation), so I think I made a mistake somewhere.










share|cite|improve this question









$endgroup$




We pick 5 unique (distinct) numbers out of [1..36] numbers (like playing a lottery). Each time we pick 5 unique numbers ("play one ticket") thus we select 5 distinct combinations of 4 numbers out of these 5 (let call such a combination - "tuple4").



We repeat picking 5 unique (distinct) numbers ("play one ticket") many times. After that we average how often certain tuple4 appeared.



It turns out that in N plays there were




  1. 21322 (66%) distinct tuple4 that appeared exactly once (1 time)

  2. 8335 (26%) distinct tuple4 that appeared exactly 2 times (none of tuples from item above included here, same applies below)

  3. 2171 (7%) distinct tuple4 that appeared exactly 3 times

  4. 481 (1%) - distinct tuple4 that appeared exactly 4 times


Percentage is taken from total number of tuple4 appearances (that is: $N*5$).



Now we "play" again (pick 5 unique (distinct) numbers) - what is the probability that among 5 distinct tuple4 that sach a play generates:





  1. At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time)

  2. Exactly 2 would appear for the first time and any of the remaining 3 would appear for second or third time (but not for first or 4th+ time)


How can I construct such formulas?



P.S. In all 376'992 possible combinations of 5 numbers from [1..36] there are 58'905 possible distinct tuple4. But I think this information and number of plays (N) is not needed. In my case N = 9400.



My thinking was like



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - we don't care (also for the first time or for any $k-th$ time): $(0.66)*(0.66)*(1-0.66)*((1-0.66)+0.66)*((1-0.66)+0.66) =$ 15%



At least 3 would appear for the first time (thinking of all last N plays), remaining 2 - only for the second time or more (but not for the first time): $(0.66)*(0.66)*(1-0.66)*((1-0.66))*((1-0.66)) = $ 1,7%



But these results don't seem to reflect what happens really (I did a good random-number computer simulation), so I think I made a mistake somewhere.







probability combinatorics probability-theory probability-distributions conditional-probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 10 at 12:09









user10777718user10777718

1464




1464












  • $begingroup$
    Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
    $endgroup$
    – Matteo
    Jan 10 at 14:14










  • $begingroup$
    $21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
    $endgroup$
    – Daniel Mathias
    Jan 10 at 14:40


















  • $begingroup$
    Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
    $endgroup$
    – Matteo
    Jan 10 at 14:14










  • $begingroup$
    $21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
    $endgroup$
    – Daniel Mathias
    Jan 10 at 14:40
















$begingroup$
Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
$endgroup$
– Matteo
Jan 10 at 14:14




$begingroup$
Not sure I got question number 1. Do you mean: what is the probability that at least 3 of the 5 new 4-tuples never appeared in the previous last $N$ game sessions?
$endgroup$
– Matteo
Jan 10 at 14:14












$begingroup$
$21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
$endgroup$
– Daniel Mathias
Jan 10 at 14:40




$begingroup$
$21322+8335cdot 2+2171cdot 3+481cdot 4=46429$ occurrences. The total number of occurrences is $Ncdot 5=9400cdot 5=47000$, so $571$ occurrences are missing. These are the 4-tuples that occurred more than 4 times, but we do not know how many distinct 4-tuples this represents. As such, we cannot determine how many distinct 4-tuples have not yet appeared or find the probability that some of these will for the first time with the next pick.
$endgroup$
– Daniel Mathias
Jan 10 at 14:40










0






active

oldest

votes











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068561%2fpick-5-numbers-calculate-probability-that-respective-4-number-combinations-app%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































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.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3068561%2fpick-5-numbers-calculate-probability-that-respective-4-number-combinations-app%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

SQL update select statement

'app-layout' is not a known element: how to share Component with different Modules