Conditional variance and expectancy of two independent poisson variables












0












$begingroup$


Le $ X sim Pois(5) , Y sim Pois(10) $ both independent. Suppose I draw and rectangle with width $ X $ and length $ Y $. Suppose the circumference of the rectangle is $ 28 $ what is $ Var(X) $ ?
First I set another variable $ S $ to be the circumference . So $ S = 2X + 2Y $



$$ Var(X) = E[Var(X|S=28)] + Var(E[X|S = 28]) = \E[Var(X|Y=14-X)] + Var(E[X|Y=14-X]) $$



I'm really having hard time grasping this concept, what is $ E[X|S = 28 ] $ ? and what is the variance of such variable? Maybe I should set new variable $ T = (X|S=28) $ and try to understand what distribution it has?










share|cite|improve this question









$endgroup$












  • $begingroup$
    You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
    $endgroup$
    – Song
    Jan 18 at 13:55












  • $begingroup$
    I'm looking for $ Var(X|X+Y=14) $
    $endgroup$
    – bm1125
    Jan 18 at 14:21
















0












$begingroup$


Le $ X sim Pois(5) , Y sim Pois(10) $ both independent. Suppose I draw and rectangle with width $ X $ and length $ Y $. Suppose the circumference of the rectangle is $ 28 $ what is $ Var(X) $ ?
First I set another variable $ S $ to be the circumference . So $ S = 2X + 2Y $



$$ Var(X) = E[Var(X|S=28)] + Var(E[X|S = 28]) = \E[Var(X|Y=14-X)] + Var(E[X|Y=14-X]) $$



I'm really having hard time grasping this concept, what is $ E[X|S = 28 ] $ ? and what is the variance of such variable? Maybe I should set new variable $ T = (X|S=28) $ and try to understand what distribution it has?










share|cite|improve this question









$endgroup$












  • $begingroup$
    You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
    $endgroup$
    – Song
    Jan 18 at 13:55












  • $begingroup$
    I'm looking for $ Var(X|X+Y=14) $
    $endgroup$
    – bm1125
    Jan 18 at 14:21














0












0








0





$begingroup$


Le $ X sim Pois(5) , Y sim Pois(10) $ both independent. Suppose I draw and rectangle with width $ X $ and length $ Y $. Suppose the circumference of the rectangle is $ 28 $ what is $ Var(X) $ ?
First I set another variable $ S $ to be the circumference . So $ S = 2X + 2Y $



$$ Var(X) = E[Var(X|S=28)] + Var(E[X|S = 28]) = \E[Var(X|Y=14-X)] + Var(E[X|Y=14-X]) $$



I'm really having hard time grasping this concept, what is $ E[X|S = 28 ] $ ? and what is the variance of such variable? Maybe I should set new variable $ T = (X|S=28) $ and try to understand what distribution it has?










share|cite|improve this question









$endgroup$




Le $ X sim Pois(5) , Y sim Pois(10) $ both independent. Suppose I draw and rectangle with width $ X $ and length $ Y $. Suppose the circumference of the rectangle is $ 28 $ what is $ Var(X) $ ?
First I set another variable $ S $ to be the circumference . So $ S = 2X + 2Y $



$$ Var(X) = E[Var(X|S=28)] + Var(E[X|S = 28]) = \E[Var(X|Y=14-X)] + Var(E[X|Y=14-X]) $$



I'm really having hard time grasping this concept, what is $ E[X|S = 28 ] $ ? and what is the variance of such variable? Maybe I should set new variable $ T = (X|S=28) $ and try to understand what distribution it has?







conditional-expectation poisson-distribution variance






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Jan 18 at 13:14









bm1125bm1125

65116




65116












  • $begingroup$
    You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
    $endgroup$
    – Song
    Jan 18 at 13:55












  • $begingroup$
    I'm looking for $ Var(X|X+Y=14) $
    $endgroup$
    – bm1125
    Jan 18 at 14:21


















  • $begingroup$
    You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
    $endgroup$
    – Song
    Jan 18 at 13:55












  • $begingroup$
    I'm looking for $ Var(X|X+Y=14) $
    $endgroup$
    – bm1125
    Jan 18 at 14:21
















$begingroup$
You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
$endgroup$
– Song
Jan 18 at 13:55






$begingroup$
You are looking for $text{Var}(X)$ or $text{Var}(X|X+Y=14)?$ They are totally different. Also the law of tatal variance should be $$text{Var}(X)=E[text{Var}(X|S)]+text{Var}(E[X|S]).$$ (It is different from yours.) You can't calculate it from $E[X|S=28]$ and $text{Var}(X|S=28)$ since they are constants. And you cannot also get $text{Var}(X|S=28)$ and $E[X|S=28]$ from $E[text{Var}(X|S)]$ or $text{Var}(E[X|S])$.
$endgroup$
– Song
Jan 18 at 13:55














$begingroup$
I'm looking for $ Var(X|X+Y=14) $
$endgroup$
– bm1125
Jan 18 at 14:21




$begingroup$
I'm looking for $ Var(X|X+Y=14) $
$endgroup$
– bm1125
Jan 18 at 14:21










1 Answer
1






active

oldest

votes


















1












$begingroup$

Observe that for $k=0,1,2,dots$ we have the following conditional probabilities : $$p_k=P(X=kmid S=28)=frac{P(X=kwedge S=28)}{P(S=28)}=frac{P(X=kwedge X+Y=14)}{P(X+Y=14)}$$



Here $sum_kp_k=1$ so we can speak of a distribution.



In that context there is a variance which can be written as:$$sum_kp_kk^2-left(sum_kp_kkright)^2$$This on base of the general identity $mathsf{Var}(Z)=mathbb EZ^2-(mathbb EZ)^2$.



This is actually the variance that you are after and can be denoted as $mathsf{Var}(Xmid S=28)$.



Further here $sum_kp_kk$ is the expectation and can be denoted as $mathbb E[Xmid S=28]$. So it is not a random variable but a real number, so that your question "what is the variance of such variable" can only be answered with: its variance is $0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Why $ sum_k pk = 1 $ it is not clear to me?
    $endgroup$
    – bm1125
    Jan 18 at 14:08






  • 1




    $begingroup$
    Because $sum_kP (X=kwedge S=28)=P (S=28) $.
    $endgroup$
    – drhab
    Jan 18 at 14:35










  • $begingroup$
    And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
    $endgroup$
    – bm1125
    Jan 18 at 14:37










  • $begingroup$
    Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
    $endgroup$
    – drhab
    Jan 18 at 15:18











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%2f3078233%2fconditional-variance-and-expectancy-of-two-independent-poisson-variables%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









1












$begingroup$

Observe that for $k=0,1,2,dots$ we have the following conditional probabilities : $$p_k=P(X=kmid S=28)=frac{P(X=kwedge S=28)}{P(S=28)}=frac{P(X=kwedge X+Y=14)}{P(X+Y=14)}$$



Here $sum_kp_k=1$ so we can speak of a distribution.



In that context there is a variance which can be written as:$$sum_kp_kk^2-left(sum_kp_kkright)^2$$This on base of the general identity $mathsf{Var}(Z)=mathbb EZ^2-(mathbb EZ)^2$.



This is actually the variance that you are after and can be denoted as $mathsf{Var}(Xmid S=28)$.



Further here $sum_kp_kk$ is the expectation and can be denoted as $mathbb E[Xmid S=28]$. So it is not a random variable but a real number, so that your question "what is the variance of such variable" can only be answered with: its variance is $0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Why $ sum_k pk = 1 $ it is not clear to me?
    $endgroup$
    – bm1125
    Jan 18 at 14:08






  • 1




    $begingroup$
    Because $sum_kP (X=kwedge S=28)=P (S=28) $.
    $endgroup$
    – drhab
    Jan 18 at 14:35










  • $begingroup$
    And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
    $endgroup$
    – bm1125
    Jan 18 at 14:37










  • $begingroup$
    Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
    $endgroup$
    – drhab
    Jan 18 at 15:18
















1












$begingroup$

Observe that for $k=0,1,2,dots$ we have the following conditional probabilities : $$p_k=P(X=kmid S=28)=frac{P(X=kwedge S=28)}{P(S=28)}=frac{P(X=kwedge X+Y=14)}{P(X+Y=14)}$$



Here $sum_kp_k=1$ so we can speak of a distribution.



In that context there is a variance which can be written as:$$sum_kp_kk^2-left(sum_kp_kkright)^2$$This on base of the general identity $mathsf{Var}(Z)=mathbb EZ^2-(mathbb EZ)^2$.



This is actually the variance that you are after and can be denoted as $mathsf{Var}(Xmid S=28)$.



Further here $sum_kp_kk$ is the expectation and can be denoted as $mathbb E[Xmid S=28]$. So it is not a random variable but a real number, so that your question "what is the variance of such variable" can only be answered with: its variance is $0$.






share|cite|improve this answer









$endgroup$













  • $begingroup$
    Why $ sum_k pk = 1 $ it is not clear to me?
    $endgroup$
    – bm1125
    Jan 18 at 14:08






  • 1




    $begingroup$
    Because $sum_kP (X=kwedge S=28)=P (S=28) $.
    $endgroup$
    – drhab
    Jan 18 at 14:35










  • $begingroup$
    And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
    $endgroup$
    – bm1125
    Jan 18 at 14:37










  • $begingroup$
    Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
    $endgroup$
    – drhab
    Jan 18 at 15:18














1












1








1





$begingroup$

Observe that for $k=0,1,2,dots$ we have the following conditional probabilities : $$p_k=P(X=kmid S=28)=frac{P(X=kwedge S=28)}{P(S=28)}=frac{P(X=kwedge X+Y=14)}{P(X+Y=14)}$$



Here $sum_kp_k=1$ so we can speak of a distribution.



In that context there is a variance which can be written as:$$sum_kp_kk^2-left(sum_kp_kkright)^2$$This on base of the general identity $mathsf{Var}(Z)=mathbb EZ^2-(mathbb EZ)^2$.



This is actually the variance that you are after and can be denoted as $mathsf{Var}(Xmid S=28)$.



Further here $sum_kp_kk$ is the expectation and can be denoted as $mathbb E[Xmid S=28]$. So it is not a random variable but a real number, so that your question "what is the variance of such variable" can only be answered with: its variance is $0$.






share|cite|improve this answer









$endgroup$



Observe that for $k=0,1,2,dots$ we have the following conditional probabilities : $$p_k=P(X=kmid S=28)=frac{P(X=kwedge S=28)}{P(S=28)}=frac{P(X=kwedge X+Y=14)}{P(X+Y=14)}$$



Here $sum_kp_k=1$ so we can speak of a distribution.



In that context there is a variance which can be written as:$$sum_kp_kk^2-left(sum_kp_kkright)^2$$This on base of the general identity $mathsf{Var}(Z)=mathbb EZ^2-(mathbb EZ)^2$.



This is actually the variance that you are after and can be denoted as $mathsf{Var}(Xmid S=28)$.



Further here $sum_kp_kk$ is the expectation and can be denoted as $mathbb E[Xmid S=28]$. So it is not a random variable but a real number, so that your question "what is the variance of such variable" can only be answered with: its variance is $0$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Jan 18 at 13:38









drhabdrhab

102k545136




102k545136












  • $begingroup$
    Why $ sum_k pk = 1 $ it is not clear to me?
    $endgroup$
    – bm1125
    Jan 18 at 14:08






  • 1




    $begingroup$
    Because $sum_kP (X=kwedge S=28)=P (S=28) $.
    $endgroup$
    – drhab
    Jan 18 at 14:35










  • $begingroup$
    And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
    $endgroup$
    – bm1125
    Jan 18 at 14:37










  • $begingroup$
    Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
    $endgroup$
    – drhab
    Jan 18 at 15:18


















  • $begingroup$
    Why $ sum_k pk = 1 $ it is not clear to me?
    $endgroup$
    – bm1125
    Jan 18 at 14:08






  • 1




    $begingroup$
    Because $sum_kP (X=kwedge S=28)=P (S=28) $.
    $endgroup$
    – drhab
    Jan 18 at 14:35










  • $begingroup$
    And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
    $endgroup$
    – bm1125
    Jan 18 at 14:37










  • $begingroup$
    Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
    $endgroup$
    – drhab
    Jan 18 at 15:18
















$begingroup$
Why $ sum_k pk = 1 $ it is not clear to me?
$endgroup$
– bm1125
Jan 18 at 14:08




$begingroup$
Why $ sum_k pk = 1 $ it is not clear to me?
$endgroup$
– bm1125
Jan 18 at 14:08




1




1




$begingroup$
Because $sum_kP (X=kwedge S=28)=P (S=28) $.
$endgroup$
– drhab
Jan 18 at 14:35




$begingroup$
Because $sum_kP (X=kwedge S=28)=P (S=28) $.
$endgroup$
– drhab
Jan 18 at 14:35












$begingroup$
And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
$endgroup$
– bm1125
Jan 18 at 14:37




$begingroup$
And why is the variance is $ 0 $ ? that doesn't make any sense. I mean if $ X + Y =14 $ each of the variable may get any value between $ 0 $ to $ 14 $ ...
$endgroup$
– bm1125
Jan 18 at 14:37












$begingroup$
Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
$endgroup$
– drhab
Jan 18 at 15:18




$begingroup$
Not the variance that you are asked to find is $0$. However you wondered "what is the variance of $E[Xmid S=28]$?" That one is $0$ because $E[Xmid S=28]$ is a real number, so is at most a degenerated random variable.
$endgroup$
– drhab
Jan 18 at 15:18


















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%2f3078233%2fconditional-variance-and-expectancy-of-two-independent-poisson-variables%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

MongoDB - Not Authorized To Execute Command

in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

How to fix TextFormField cause rebuild widget in Flutter