Prove $mathbbV(Y) = mathbbEmathbbV(Y mid X) + mathbbVmathbbE(Y mid X)$ The 2019 Stack Overflow Developer Survey Results Are InIndependence of $min(X,Y)$ and $|X-Y|$ when $(X,Y)$ are i.i.d. exponentialA problem of regular distributionConditional expectation (mixed with an iterated expectation) $E[E(Xmid Y)mid Y]=E(Xmid Y)$Finding conditional expectation $mathbbE(Xmid (X-0.5)^2)$Prove $E[XE[YmidmathcalG]] = E[YE[XmidmathcalG]]$Breaking sides of equation to prove a probability.How to prove that a conditional pdf sums to 1?How to show that $f(x,y,mumid a,b,Sigma) = f(x,ymid mu, a,b,Sigma)cdot p(mu)$ if $(x,y)$ are MVN and $a,b,Sigma$ are hyperparameters?Gambler's ruin: $mathbbPleft X_tau=n mid X_1 = k+1right=mathbbPleft X_tau = nmid X_0 = k+1right,?$Showing $E(S^2mid bar X)=bar X$ for i.i.d Poisson random variables $X_i$
It's possible to achieve negative score?
What does "sndry explns" mean in one of the Hitchhiker's guide books?
Does a dangling wire really electrocute me if I'm standing in water?
How to manage monthly salary
Why is it "Tumoren" and not "Tumore"?
Does it makes sense to buy a new cycle to learn riding?
Inflated grade on resume at previous job, might former employer tell new employer?
How to create dashed lines/arrows in Illustrator
Is flight data recorder erased after every flight?
Can we apply L'Hospital's rule where the derivative is not continuous?
is usb on wall sockets live all the time with out switches off
If the Wish spell is used to duplicate the effect of Simulacrum, are existing duplicates destroyed?
Falsification in Math vs Science
Geography at the pixel level
What is this 4-propeller plane?
Where to refill my bottle in India?
Access elements in std::string where positon of string is greater than its size
"To split hairs" vs "To be pedantic"
Is three citations per paragraph excessive for undergraduate research paper?
What function has this graph?
Springs with some finite mass
Is it possible for the two major parties in the UK to form a coalition with each other instead of a much smaller party?
Why is Grand Jury testimony secret?
Is "plugging out" electronic devices an American expression?
Prove $mathbbV(Y) = mathbbEmathbbV(Y mid X) + mathbbVmathbbE(Y mid X)$
The 2019 Stack Overflow Developer Survey Results Are InIndependence of $min(X,Y)$ and $|X-Y|$ when $(X,Y)$ are i.i.d. exponentialA problem of regular distributionConditional expectation (mixed with an iterated expectation) $E[E(Xmid Y)mid Y]=E(Xmid Y)$Finding conditional expectation $mathbbE(Xmid (X-0.5)^2)$Prove $E[XE[YmidmathcalG]] = E[YE[XmidmathcalG]]$Breaking sides of equation to prove a probability.How to prove that a conditional pdf sums to 1?How to show that $f(x,y,mumid a,b,Sigma) = f(x,ymid mu, a,b,Sigma)cdot p(mu)$ if $(x,y)$ are MVN and $a,b,Sigma$ are hyperparameters?Gambler's ruin: $mathbbPleft X_tau=n mid X_1 = k+1right=mathbbPleft X_tau = nmid X_0 = k+1right,?$Showing $E(S^2mid bar X)=bar X$ for i.i.d Poisson random variables $X_i$
$begingroup$
Trying to figure out how to prove this statement
$mathbbV(Y) = mathbbEV(Ymid X) + mathbbVE(Ymid X)$
Tried expanding RHS as follows:
beginalign&= mathbbEV(Ymid X)+mathbbVE(Ymid X)\
&= mathbbE[int [y-mathbbE(Ymid X)]^2f(ymid x),dy] + int[mathbbE(Ymid X)-mathbbEmathbbE(Ymid X)]^2 f(x),dx \
&= intint (y-mathbbE(Y|X)^2f(y|x)dyf(x),dx + int[mathbbE(Y|X)-mathbbE(Y)]^2 f(x),dx;text since ;mathbbEE(Y|X) = mathbbE(Y)\
&= intint[y^2 -2ymathbbE(Y|X) + mathbbE(Y|X)^2]f(x,y),dy,dx + int[mathbbE(Y|X)^2 -2mathbbE(Y)mathbbE(Y|X)+mathbbE(Y)^2]f(x),dx\
&= cdots
endalign
probability statistics
$endgroup$
add a comment |
$begingroup$
Trying to figure out how to prove this statement
$mathbbV(Y) = mathbbEV(Ymid X) + mathbbVE(Ymid X)$
Tried expanding RHS as follows:
beginalign&= mathbbEV(Ymid X)+mathbbVE(Ymid X)\
&= mathbbE[int [y-mathbbE(Ymid X)]^2f(ymid x),dy] + int[mathbbE(Ymid X)-mathbbEmathbbE(Ymid X)]^2 f(x),dx \
&= intint (y-mathbbE(Y|X)^2f(y|x)dyf(x),dx + int[mathbbE(Y|X)-mathbbE(Y)]^2 f(x),dx;text since ;mathbbEE(Y|X) = mathbbE(Y)\
&= intint[y^2 -2ymathbbE(Y|X) + mathbbE(Y|X)^2]f(x,y),dy,dx + int[mathbbE(Y|X)^2 -2mathbbE(Y)mathbbE(Y|X)+mathbbE(Y)^2]f(x),dx\
&= cdots
endalign
probability statistics
$endgroup$
4
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11
add a comment |
$begingroup$
Trying to figure out how to prove this statement
$mathbbV(Y) = mathbbEV(Ymid X) + mathbbVE(Ymid X)$
Tried expanding RHS as follows:
beginalign&= mathbbEV(Ymid X)+mathbbVE(Ymid X)\
&= mathbbE[int [y-mathbbE(Ymid X)]^2f(ymid x),dy] + int[mathbbE(Ymid X)-mathbbEmathbbE(Ymid X)]^2 f(x),dx \
&= intint (y-mathbbE(Y|X)^2f(y|x)dyf(x),dx + int[mathbbE(Y|X)-mathbbE(Y)]^2 f(x),dx;text since ;mathbbEE(Y|X) = mathbbE(Y)\
&= intint[y^2 -2ymathbbE(Y|X) + mathbbE(Y|X)^2]f(x,y),dy,dx + int[mathbbE(Y|X)^2 -2mathbbE(Y)mathbbE(Y|X)+mathbbE(Y)^2]f(x),dx\
&= cdots
endalign
probability statistics
$endgroup$
Trying to figure out how to prove this statement
$mathbbV(Y) = mathbbEV(Ymid X) + mathbbVE(Ymid X)$
Tried expanding RHS as follows:
beginalign&= mathbbEV(Ymid X)+mathbbVE(Ymid X)\
&= mathbbE[int [y-mathbbE(Ymid X)]^2f(ymid x),dy] + int[mathbbE(Ymid X)-mathbbEmathbbE(Ymid X)]^2 f(x),dx \
&= intint (y-mathbbE(Y|X)^2f(y|x)dyf(x),dx + int[mathbbE(Y|X)-mathbbE(Y)]^2 f(x),dx;text since ;mathbbEE(Y|X) = mathbbE(Y)\
&= intint[y^2 -2ymathbbE(Y|X) + mathbbE(Y|X)^2]f(x,y),dy,dx + int[mathbbE(Y|X)^2 -2mathbbE(Y)mathbbE(Y|X)+mathbbE(Y)^2]f(x),dx\
&= cdots
endalign
probability statistics
probability statistics
edited Mar 23 at 0:03
Peiffap
10312
10312
asked Mar 22 at 23:09
ZanderZander
384
384
4
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11
add a comment |
4
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11
4
4
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
As @Minus One-Twelfth mentioned, this is the law of total variance.
Proof
beginalign
mathbbV[Y] &= mathbbE[Y^2] - mathbbE[Y]^2\
&= mathbbEBig[mathbbE[Y^2 mid X]Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X] + mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbEBig[mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbVBig[mathbbE[Y mid X]Big],.
endalign
The first step is just the definition of the variance;
the second step is introducing an independent variable $X$,
the third step then applies the definition of variance, but ``the other way around''.
The fourth step uses the linearity of the expected value operator,
and the fifth and final step then reapplies the definition of the variance to group the rightmost terms into a single variance term.
$endgroup$
add a comment |
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%2f3158777%2fprove-mathbbvy-mathbbe-mathbbvy-mid-x-mathbbv-mathbbey%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
$begingroup$
As @Minus One-Twelfth mentioned, this is the law of total variance.
Proof
beginalign
mathbbV[Y] &= mathbbE[Y^2] - mathbbE[Y]^2\
&= mathbbEBig[mathbbE[Y^2 mid X]Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X] + mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbEBig[mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbVBig[mathbbE[Y mid X]Big],.
endalign
The first step is just the definition of the variance;
the second step is introducing an independent variable $X$,
the third step then applies the definition of variance, but ``the other way around''.
The fourth step uses the linearity of the expected value operator,
and the fifth and final step then reapplies the definition of the variance to group the rightmost terms into a single variance term.
$endgroup$
add a comment |
$begingroup$
As @Minus One-Twelfth mentioned, this is the law of total variance.
Proof
beginalign
mathbbV[Y] &= mathbbE[Y^2] - mathbbE[Y]^2\
&= mathbbEBig[mathbbE[Y^2 mid X]Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X] + mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbEBig[mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbVBig[mathbbE[Y mid X]Big],.
endalign
The first step is just the definition of the variance;
the second step is introducing an independent variable $X$,
the third step then applies the definition of variance, but ``the other way around''.
The fourth step uses the linearity of the expected value operator,
and the fifth and final step then reapplies the definition of the variance to group the rightmost terms into a single variance term.
$endgroup$
add a comment |
$begingroup$
As @Minus One-Twelfth mentioned, this is the law of total variance.
Proof
beginalign
mathbbV[Y] &= mathbbE[Y^2] - mathbbE[Y]^2\
&= mathbbEBig[mathbbE[Y^2 mid X]Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X] + mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbEBig[mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbVBig[mathbbE[Y mid X]Big],.
endalign
The first step is just the definition of the variance;
the second step is introducing an independent variable $X$,
the third step then applies the definition of variance, but ``the other way around''.
The fourth step uses the linearity of the expected value operator,
and the fifth and final step then reapplies the definition of the variance to group the rightmost terms into a single variance term.
$endgroup$
As @Minus One-Twelfth mentioned, this is the law of total variance.
Proof
beginalign
mathbbV[Y] &= mathbbE[Y^2] - mathbbE[Y]^2\
&= mathbbEBig[mathbbE[Y^2 mid X]Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X] + mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbEBig[mathbbE[Y mid X]^2Big] - mathbbEBig[mathbbE[Y mid X]Big]^2\
&= mathbbEBig[mathbbV[Y mid X]Big] + mathbbVBig[mathbbE[Y mid X]Big],.
endalign
The first step is just the definition of the variance;
the second step is introducing an independent variable $X$,
the third step then applies the definition of variance, but ``the other way around''.
The fourth step uses the linearity of the expected value operator,
and the fifth and final step then reapplies the definition of the variance to group the rightmost terms into a single variance term.
edited Mar 22 at 23:39
answered Mar 22 at 23:33
PeiffapPeiffap
10312
10312
add a comment |
add a comment |
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.
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%2f3158777%2fprove-mathbbvy-mathbbe-mathbbvy-mid-x-mathbbv-mathbbey%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
4
$begingroup$
This is the law of total variance. A proof can be found here: en.wikipedia.org/wiki/Law_of_total_variance#Proof.
$endgroup$
– Minus One-Twelfth
Mar 22 at 23:11