What is the expected result for the number of heads obtained in this coin/dice flipping example?











up vote
1
down vote

favorite












Suppose you roll one fair six-sided die and then flip as many coins as the number showing on the die. (For example, if the die shows 4, then you flip four coins.) Let Y be the number of heads obtained. Compute $E(Y)$.



So, $E(Y)=Sigma_{y=1}^{y=6}yP_{y}(y)$



We will define $X$ as the number on the die. Therefore:



$$E(Y)=sum_{y=1}^{y=6}yP_{y}(y)=sum_{y=0}^{y=6}sum_{x=1}^{x=6}(y)P(X=x,Y=y)=sum_{y=0}^{y=6}ysum_{x=1}^{x=6}(1/6)binom{x}{y}(1/2)^x$$



This inner equation is valid: $(1/6)binom{x}{y}(1/2)^x$



Basically, it says that if I roll a 3, and I get 1 head only, what is the probability of that occurring = $(1/6)text{[for the roll]}binom{3}{1}text{[from 3 rolls, we choose one head]}(1/2)^3=1/16$



Now, I need to simplify the above double sum, but I am not sure how to do it. The answer in my textbook is $7/4$, but it does not show steps. I think I am right until now, I just need help doing this summation.










share|cite|improve this question






















  • The double sum is finite? You just plug in the numbers? See here.
    – Mason
    6 hours ago










  • You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
    – Michael
    6 hours ago












  • @Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
    – K Split X
    6 hours ago










  • Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
    – Michael
    5 hours ago












  • What is the simpliest way?
    – K Split X
    5 hours ago















up vote
1
down vote

favorite












Suppose you roll one fair six-sided die and then flip as many coins as the number showing on the die. (For example, if the die shows 4, then you flip four coins.) Let Y be the number of heads obtained. Compute $E(Y)$.



So, $E(Y)=Sigma_{y=1}^{y=6}yP_{y}(y)$



We will define $X$ as the number on the die. Therefore:



$$E(Y)=sum_{y=1}^{y=6}yP_{y}(y)=sum_{y=0}^{y=6}sum_{x=1}^{x=6}(y)P(X=x,Y=y)=sum_{y=0}^{y=6}ysum_{x=1}^{x=6}(1/6)binom{x}{y}(1/2)^x$$



This inner equation is valid: $(1/6)binom{x}{y}(1/2)^x$



Basically, it says that if I roll a 3, and I get 1 head only, what is the probability of that occurring = $(1/6)text{[for the roll]}binom{3}{1}text{[from 3 rolls, we choose one head]}(1/2)^3=1/16$



Now, I need to simplify the above double sum, but I am not sure how to do it. The answer in my textbook is $7/4$, but it does not show steps. I think I am right until now, I just need help doing this summation.










share|cite|improve this question






















  • The double sum is finite? You just plug in the numbers? See here.
    – Mason
    6 hours ago










  • You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
    – Michael
    6 hours ago












  • @Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
    – K Split X
    6 hours ago










  • Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
    – Michael
    5 hours ago












  • What is the simpliest way?
    – K Split X
    5 hours ago













up vote
1
down vote

favorite









up vote
1
down vote

favorite











Suppose you roll one fair six-sided die and then flip as many coins as the number showing on the die. (For example, if the die shows 4, then you flip four coins.) Let Y be the number of heads obtained. Compute $E(Y)$.



So, $E(Y)=Sigma_{y=1}^{y=6}yP_{y}(y)$



We will define $X$ as the number on the die. Therefore:



$$E(Y)=sum_{y=1}^{y=6}yP_{y}(y)=sum_{y=0}^{y=6}sum_{x=1}^{x=6}(y)P(X=x,Y=y)=sum_{y=0}^{y=6}ysum_{x=1}^{x=6}(1/6)binom{x}{y}(1/2)^x$$



This inner equation is valid: $(1/6)binom{x}{y}(1/2)^x$



Basically, it says that if I roll a 3, and I get 1 head only, what is the probability of that occurring = $(1/6)text{[for the roll]}binom{3}{1}text{[from 3 rolls, we choose one head]}(1/2)^3=1/16$



Now, I need to simplify the above double sum, but I am not sure how to do it. The answer in my textbook is $7/4$, but it does not show steps. I think I am right until now, I just need help doing this summation.










share|cite|improve this question













Suppose you roll one fair six-sided die and then flip as many coins as the number showing on the die. (For example, if the die shows 4, then you flip four coins.) Let Y be the number of heads obtained. Compute $E(Y)$.



So, $E(Y)=Sigma_{y=1}^{y=6}yP_{y}(y)$



We will define $X$ as the number on the die. Therefore:



$$E(Y)=sum_{y=1}^{y=6}yP_{y}(y)=sum_{y=0}^{y=6}sum_{x=1}^{x=6}(y)P(X=x,Y=y)=sum_{y=0}^{y=6}ysum_{x=1}^{x=6}(1/6)binom{x}{y}(1/2)^x$$



This inner equation is valid: $(1/6)binom{x}{y}(1/2)^x$



Basically, it says that if I roll a 3, and I get 1 head only, what is the probability of that occurring = $(1/6)text{[for the roll]}binom{3}{1}text{[from 3 rolls, we choose one head]}(1/2)^3=1/16$



Now, I need to simplify the above double sum, but I am not sure how to do it. The answer in my textbook is $7/4$, but it does not show steps. I think I am right until now, I just need help doing this summation.







probability summation binomial-distribution expected-value






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 6 hours ago









K Split X

4,0521031




4,0521031












  • The double sum is finite? You just plug in the numbers? See here.
    – Mason
    6 hours ago










  • You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
    – Michael
    6 hours ago












  • @Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
    – K Split X
    6 hours ago










  • Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
    – Michael
    5 hours ago












  • What is the simpliest way?
    – K Split X
    5 hours ago


















  • The double sum is finite? You just plug in the numbers? See here.
    – Mason
    6 hours ago










  • You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
    – Michael
    6 hours ago












  • @Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
    – K Split X
    6 hours ago










  • Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
    – Michael
    5 hours ago












  • What is the simpliest way?
    – K Split X
    5 hours ago
















The double sum is finite? You just plug in the numbers? See here.
– Mason
6 hours ago




The double sum is finite? You just plug in the numbers? See here.
– Mason
6 hours ago












You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
– Michael
6 hours ago






You can also use the "law of total expectation" $E[Y] = sum_{d=1}^6 E[Y|X=d]P[X=d]$.
– Michael
6 hours ago














@Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
– K Split X
6 hours ago




@Michael well it's actually supposed to be $binom{x}{y}(1/2)^y(1/2)^{x-y}$, but I simplified it
– K Split X
6 hours ago












Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
– Michael
5 hours ago






Oh you are right, I was misinterpreting $x$ (I will delete that comment). But that is a difficult way to solve the problem.
– Michael
5 hours ago














What is the simpliest way?
– K Split X
5 hours ago




What is the simpliest way?
– K Split X
5 hours ago










1 Answer
1






active

oldest

votes

















up vote
2
down vote













If $D$ is the result of the die-throw, $E(Y) = sum_{d=1}^6 E(Y|D=d)P(D=d)$.



Clearly $E(Y|D=d)= frac{d}{2}$. So we are left with $$E(Y) = sum_{d=1}^6 frac{1}{6}frac{d}{2} = frac{1}{12}sum_{d=1}^6 d = frac{21}{12}$$






share|cite|improve this answer





















  • Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
    – K Split X
    5 hours ago






  • 1




    @KSplitX binomial expectation is nr of trials time chance of success.
    – Henno Brandsma
    5 hours ago











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',
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%2f2995477%2fwhat-is-the-expected-result-for-the-number-of-heads-obtained-in-this-coin-dice-f%23new-answer', 'question_page');
}
);

Post as a guest
































1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
2
down vote













If $D$ is the result of the die-throw, $E(Y) = sum_{d=1}^6 E(Y|D=d)P(D=d)$.



Clearly $E(Y|D=d)= frac{d}{2}$. So we are left with $$E(Y) = sum_{d=1}^6 frac{1}{6}frac{d}{2} = frac{1}{12}sum_{d=1}^6 d = frac{21}{12}$$






share|cite|improve this answer





















  • Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
    – K Split X
    5 hours ago






  • 1




    @KSplitX binomial expectation is nr of trials time chance of success.
    – Henno Brandsma
    5 hours ago















up vote
2
down vote













If $D$ is the result of the die-throw, $E(Y) = sum_{d=1}^6 E(Y|D=d)P(D=d)$.



Clearly $E(Y|D=d)= frac{d}{2}$. So we are left with $$E(Y) = sum_{d=1}^6 frac{1}{6}frac{d}{2} = frac{1}{12}sum_{d=1}^6 d = frac{21}{12}$$






share|cite|improve this answer





















  • Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
    – K Split X
    5 hours ago






  • 1




    @KSplitX binomial expectation is nr of trials time chance of success.
    – Henno Brandsma
    5 hours ago













up vote
2
down vote










up vote
2
down vote









If $D$ is the result of the die-throw, $E(Y) = sum_{d=1}^6 E(Y|D=d)P(D=d)$.



Clearly $E(Y|D=d)= frac{d}{2}$. So we are left with $$E(Y) = sum_{d=1}^6 frac{1}{6}frac{d}{2} = frac{1}{12}sum_{d=1}^6 d = frac{21}{12}$$






share|cite|improve this answer












If $D$ is the result of the die-throw, $E(Y) = sum_{d=1}^6 E(Y|D=d)P(D=d)$.



Clearly $E(Y|D=d)= frac{d}{2}$. So we are left with $$E(Y) = sum_{d=1}^6 frac{1}{6}frac{d}{2} = frac{1}{12}sum_{d=1}^6 d = frac{21}{12}$$







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 5 hours ago









Henno Brandsma

100k344107




100k344107












  • Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
    – K Split X
    5 hours ago






  • 1




    @KSplitX binomial expectation is nr of trials time chance of success.
    – Henno Brandsma
    5 hours ago


















  • Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
    – K Split X
    5 hours ago






  • 1




    @KSplitX binomial expectation is nr of trials time chance of success.
    – Henno Brandsma
    5 hours ago
















Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
– K Split X
5 hours ago




Sorry, I have not learned this conditional expectation yet, but regardless, how did you get $d/2$? Is it just the probability of a head?
– K Split X
5 hours ago




1




1




@KSplitX binomial expectation is nr of trials time chance of success.
– Henno Brandsma
5 hours ago




@KSplitX binomial expectation is nr of trials time chance of success.
– Henno Brandsma
5 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2995477%2fwhat-is-the-expected-result-for-the-number-of-heads-obtained-in-this-coin-dice-f%23new-answer', 'question_page');
}
);

Post as a guest




















































































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?