The number of trials which maximizes the expectation of difference between the number of red balls and blue...












1












$begingroup$


There are $N$ balls with $K$ red balls and $N-K$ blue balls.
It means that the probability that the red ball is drawn with one draw is $K/N$.



There is a random variables



$X$ = the number of red balls drawn.



$Y$ = the number of blue balls drawn.



$Z$ = $X-Y$.



When I draw $M$ balls without replacement from $N$ balls ($K$ red balls and $N-K$ blue balls),
how can I find the proper $M$ which maximizes expectation $mathbb{E}[Z]$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
    $endgroup$
    – TheD0ubleT
    Dec 12 '18 at 9:39










  • $begingroup$
    Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
    $endgroup$
    – SmileyCraft
    Dec 12 '18 at 9:42










  • $begingroup$
    I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
    $endgroup$
    – kyub
    Dec 12 '18 at 9:53








  • 1




    $begingroup$
    It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
    $endgroup$
    – awkward
    Dec 12 '18 at 13:00
















1












$begingroup$


There are $N$ balls with $K$ red balls and $N-K$ blue balls.
It means that the probability that the red ball is drawn with one draw is $K/N$.



There is a random variables



$X$ = the number of red balls drawn.



$Y$ = the number of blue balls drawn.



$Z$ = $X-Y$.



When I draw $M$ balls without replacement from $N$ balls ($K$ red balls and $N-K$ blue balls),
how can I find the proper $M$ which maximizes expectation $mathbb{E}[Z]$?










share|cite|improve this question











$endgroup$












  • $begingroup$
    What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
    $endgroup$
    – TheD0ubleT
    Dec 12 '18 at 9:39










  • $begingroup$
    Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
    $endgroup$
    – SmileyCraft
    Dec 12 '18 at 9:42










  • $begingroup$
    I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
    $endgroup$
    – kyub
    Dec 12 '18 at 9:53








  • 1




    $begingroup$
    It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
    $endgroup$
    – awkward
    Dec 12 '18 at 13:00














1












1








1





$begingroup$


There are $N$ balls with $K$ red balls and $N-K$ blue balls.
It means that the probability that the red ball is drawn with one draw is $K/N$.



There is a random variables



$X$ = the number of red balls drawn.



$Y$ = the number of blue balls drawn.



$Z$ = $X-Y$.



When I draw $M$ balls without replacement from $N$ balls ($K$ red balls and $N-K$ blue balls),
how can I find the proper $M$ which maximizes expectation $mathbb{E}[Z]$?










share|cite|improve this question











$endgroup$




There are $N$ balls with $K$ red balls and $N-K$ blue balls.
It means that the probability that the red ball is drawn with one draw is $K/N$.



There is a random variables



$X$ = the number of red balls drawn.



$Y$ = the number of blue balls drawn.



$Z$ = $X-Y$.



When I draw $M$ balls without replacement from $N$ balls ($K$ red balls and $N-K$ blue balls),
how can I find the proper $M$ which maximizes expectation $mathbb{E}[Z]$?







probability combinatorics






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 12 '18 at 9:49







kyub

















asked Dec 12 '18 at 9:30









kyubkyub

376




376












  • $begingroup$
    What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
    $endgroup$
    – TheD0ubleT
    Dec 12 '18 at 9:39










  • $begingroup$
    Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
    $endgroup$
    – SmileyCraft
    Dec 12 '18 at 9:42










  • $begingroup$
    I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
    $endgroup$
    – kyub
    Dec 12 '18 at 9:53








  • 1




    $begingroup$
    It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
    $endgroup$
    – awkward
    Dec 12 '18 at 13:00


















  • $begingroup$
    What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
    $endgroup$
    – TheD0ubleT
    Dec 12 '18 at 9:39










  • $begingroup$
    Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
    $endgroup$
    – SmileyCraft
    Dec 12 '18 at 9:42










  • $begingroup$
    I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
    $endgroup$
    – kyub
    Dec 12 '18 at 9:53








  • 1




    $begingroup$
    It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
    $endgroup$
    – awkward
    Dec 12 '18 at 13:00
















$begingroup$
What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
$endgroup$
– TheD0ubleT
Dec 12 '18 at 9:39




$begingroup$
What have you tried? Have you tried caculating $Bbb P(Z=i)$ for any $i$ and $M$ for example, or have you tried finding $Bbb E(Z)$ for small values of M?
$endgroup$
– TheD0ubleT
Dec 12 '18 at 9:39












$begingroup$
Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
$endgroup$
– SmileyCraft
Dec 12 '18 at 9:42




$begingroup$
Since $K<<N$ I assume $K<N/2$ in which case drawing $M>0$ balls without replacement always gives $mathbb{E}[Z]<0$, but $M=0$ gives $mathbb{E}[Z]=0$. Am I missing something?
$endgroup$
– SmileyCraft
Dec 12 '18 at 9:42












$begingroup$
I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
$endgroup$
– kyub
Dec 12 '18 at 9:53






$begingroup$
I want to find the value of $M$. If $K<<N$, i think that the proper value of $M$ maximizing $mathbb{E}[Z]$ is $0$. My question is that $M$ which maximizes the $mathbb{E}[Z]$ can be expressed with parameter $N,K$?
$endgroup$
– kyub
Dec 12 '18 at 9:53






1




1




$begingroup$
It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
$endgroup$
– awkward
Dec 12 '18 at 13:00




$begingroup$
It seems the relation $E(Z) = E(X)-E(Y)$ might be relevant here.
$endgroup$
– awkward
Dec 12 '18 at 13:00










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%2f3036460%2fthe-number-of-trials-which-maximizes-the-expectation-of-difference-between-the-n%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%2f3036460%2fthe-number-of-trials-which-maximizes-the-expectation-of-difference-between-the-n%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

Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

ComboBox Display Member on multiple fields

Is it possible to collect Nectar points via Trainline?