Computation of the expectation $E(2^{X-2})$ for $X$ negative binomial
If I have a coin with $ 0.6$ probability of getting $ H $and I throw it until I get $ H $ for the second time. If $ Y $ is the number of $ T$ I get and $ 2^Y $ is my revenue. how do I calculate my revenue expectancy ?
If I set $ X $ as my total number of throws then $ Y = X-2 $
I know $ X sim NB(2,0.6) $ so $ E[X] = frac{2}{0.6} = frac{10}{3} $
$$ E[2^Y] = E[2^{x-2}]$$
but now I need some algebraic manipulation so I'll have something like $ E[aX + b] $ ?
I also tried different direction based on the probability function of negative binomial $ P{X = i} = { i-1 choose r-1 } (1-p)^{i-r} cdot p^r$ $$ E[2^Y] = E[2^{x-2}] = sum_{x} g(x)cdot p_x(x) = sum_{i=2}^infty 2^i cdot {i-1choose r-1} cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot { i-1 choose 1 }cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot(i-1) cdot 0.4^{i-2}cdot 0.6^2$$
Any suggestions?
probability-theory expected-value negative-binomial
add a comment |
If I have a coin with $ 0.6$ probability of getting $ H $and I throw it until I get $ H $ for the second time. If $ Y $ is the number of $ T$ I get and $ 2^Y $ is my revenue. how do I calculate my revenue expectancy ?
If I set $ X $ as my total number of throws then $ Y = X-2 $
I know $ X sim NB(2,0.6) $ so $ E[X] = frac{2}{0.6} = frac{10}{3} $
$$ E[2^Y] = E[2^{x-2}]$$
but now I need some algebraic manipulation so I'll have something like $ E[aX + b] $ ?
I also tried different direction based on the probability function of negative binomial $ P{X = i} = { i-1 choose r-1 } (1-p)^{i-r} cdot p^r$ $$ E[2^Y] = E[2^{x-2}] = sum_{x} g(x)cdot p_x(x) = sum_{i=2}^infty 2^i cdot {i-1choose r-1} cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot { i-1 choose 1 }cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot(i-1) cdot 0.4^{i-2}cdot 0.6^2$$
Any suggestions?
probability-theory expected-value negative-binomial
1
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
1
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53
add a comment |
If I have a coin with $ 0.6$ probability of getting $ H $and I throw it until I get $ H $ for the second time. If $ Y $ is the number of $ T$ I get and $ 2^Y $ is my revenue. how do I calculate my revenue expectancy ?
If I set $ X $ as my total number of throws then $ Y = X-2 $
I know $ X sim NB(2,0.6) $ so $ E[X] = frac{2}{0.6} = frac{10}{3} $
$$ E[2^Y] = E[2^{x-2}]$$
but now I need some algebraic manipulation so I'll have something like $ E[aX + b] $ ?
I also tried different direction based on the probability function of negative binomial $ P{X = i} = { i-1 choose r-1 } (1-p)^{i-r} cdot p^r$ $$ E[2^Y] = E[2^{x-2}] = sum_{x} g(x)cdot p_x(x) = sum_{i=2}^infty 2^i cdot {i-1choose r-1} cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot { i-1 choose 1 }cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot(i-1) cdot 0.4^{i-2}cdot 0.6^2$$
Any suggestions?
probability-theory expected-value negative-binomial
If I have a coin with $ 0.6$ probability of getting $ H $and I throw it until I get $ H $ for the second time. If $ Y $ is the number of $ T$ I get and $ 2^Y $ is my revenue. how do I calculate my revenue expectancy ?
If I set $ X $ as my total number of throws then $ Y = X-2 $
I know $ X sim NB(2,0.6) $ so $ E[X] = frac{2}{0.6} = frac{10}{3} $
$$ E[2^Y] = E[2^{x-2}]$$
but now I need some algebraic manipulation so I'll have something like $ E[aX + b] $ ?
I also tried different direction based on the probability function of negative binomial $ P{X = i} = { i-1 choose r-1 } (1-p)^{i-r} cdot p^r$ $$ E[2^Y] = E[2^{x-2}] = sum_{x} g(x)cdot p_x(x) = sum_{i=2}^infty 2^i cdot {i-1choose r-1} cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot { i-1 choose 1 }cdot 0.4^{i-2} cdot 0.6^2 = sum_{i=2}^infty 2^i cdot(i-1) cdot 0.4^{i-2}cdot 0.6^2$$
Any suggestions?
probability-theory expected-value negative-binomial
probability-theory expected-value negative-binomial
edited Dec 9 at 10:09
Did
246k23220454
246k23220454
asked Dec 9 at 9:12
bm1125
60516
60516
1
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
1
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53
add a comment |
1
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
1
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53
1
1
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
1
1
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53
add a comment |
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
});
}
});
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%2f3032186%2fcomputation-of-the-expectation-e2x-2-for-x-negative-binomial%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
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.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- 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.
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%2f3032186%2fcomputation-of-the-expectation-e2x-2-for-x-negative-binomial%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
1
Here are two basic facts to enable you to conclude: $$sum_{i=2}^infty 2^i(i-1)(0.4)^{i-2}=4sum_{j=0}^infty(j+1)(0.8)^j$$ and, for every $|x|<1$, $$sum_{j=0}^infty(j+1)x^j=frac d{dx}sum_{k=0}^infty x^k=frac d{dx}frac1{1-x}=frac1{(1-x)^2}$$
– Did
Dec 9 at 10:07
Thanks for the answer. Took me a while to understand what you did there in the first line algebrically. Could you explain the second line?I have this identity I know $$ sum_{i=0}^infty x^i = frac{1}{1-x} $$ so not sure how did you use it for $ sum_{j=0}^infty (j+1)x^j $ ? Does it mean the final answer should be just $ frac{1}{0.2^2} $ ?
– bm1125
Dec 9 at 10:33
As is written, "what I did" is considering the derivative of the series you know. // It seems all this is rather pointing to a "final answer" equal to $4/(0.2)^2=100$.
– Did
Dec 9 at 10:39
1
Two things: first, in your formula $2^i$ should read $2^{i-2}$; secondly, you forgot to take into account the factor $(0.6)^2$. Correcting the first mistake divides $100$ by $4$, correcting the second mistake multiplies it by $(0.6)^2$. And $(100div4)cdot(0.6)^2=$ ...
– Did
Dec 9 at 10:53