Show that if $X$ and $Y$ are independent then $E_X(g(X,Y))=E(g(X,Y)|Y).$

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












Let $X$ and $Y$ be random variables and let $g:mathbb R^2 to mathbb R$ be a non-negative measurable function. If you like assume that $g(X,Y)$ has finite expectation. Let
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x),$$
where $P_X=Pcirc X^-1$ is the distribution of $X.$



I am interested in the relationship between $E_X(g(X,Y))$ and $E(g(X,Y)|Y).$ I suspect that the following holds:




If $X$ and $Y$ are independent then
$$E_X(g(X,Y))=E(g(X,Y)|Y).tag*$$




Since I don't have a lot of experience writing proofs with measure-theoretic arguments it would be nice if someone with more experience could have a look at this proof I wrote:



Proof.



In order to show $(*)$ we need to verify



  1. $E_X(g(X,Y))$ is $sigma(Y)$-measurable

  2. $forall Ainsigma(Y)$ we have
    $$E[1_A E_X(g(X,Y))] = E[1_A g(X,Y)].$$

Regarding 1.:



It is
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x)=h(Y),$$
where $h(y)=int_mathbb R g(x,y)dP_X(x)$ is a measurable function. Hence $E_X(g(X,Y))$ is $sigma(Y)$-measurable.



Regarding 2.:



Let $Ainsigma(Y).$ Note that $1_A$ can be written as $1_A=f(Y)$ for some measurable function $f.$ Moreover, since $X$ and $Y$ are independent, it holds that
$$P_(X,Y)=P_Xotimes P_Y.$$
Now write
beginalign
E[1_A g(X,Y)] &= int_Omega 1_A g(X,Y) dP\
&= int_Omega f(Y) g(X,Y) dP\
&= int_mathbb R^2 f(y) g(x,y) dP_(X,Y)(x,y)\
&= int_mathbb R^2 f(y) g(x,y) d(P_Xotimes P_Y)(x,y)\
&= int_mathbb Rint_mathbb R f(y) g(x,y) dP_X(x) dP_Y(y) quadtextby Fubini\
&= int_mathbb Rf(y) int_mathbb R g(x,y) dP_X(x) dP_Y(y)\
&= int_mathbb Rf(y) h(y) dP_Y(y)\
&= int_Omega f(Y) h(Y) dP\
&= int_Omega 1_A E_X(g(X,Y)) dP\
&= E[1_A E_X(g(X,Y))].\
endalign







share|cite|improve this question
















  • 1




    Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
    – Kavi Rama Murthy
    Aug 22 at 9:14










  • Great, thank you.
    – Epiousios
    Aug 22 at 9:20










  • Nothing to add. Well done.
    – Did
    Aug 22 at 10:23






  • 2




    Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
    – Gordon
    Aug 22 at 16:32














up vote
2
down vote

favorite












Let $X$ and $Y$ be random variables and let $g:mathbb R^2 to mathbb R$ be a non-negative measurable function. If you like assume that $g(X,Y)$ has finite expectation. Let
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x),$$
where $P_X=Pcirc X^-1$ is the distribution of $X.$



I am interested in the relationship between $E_X(g(X,Y))$ and $E(g(X,Y)|Y).$ I suspect that the following holds:




If $X$ and $Y$ are independent then
$$E_X(g(X,Y))=E(g(X,Y)|Y).tag*$$




Since I don't have a lot of experience writing proofs with measure-theoretic arguments it would be nice if someone with more experience could have a look at this proof I wrote:



Proof.



In order to show $(*)$ we need to verify



  1. $E_X(g(X,Y))$ is $sigma(Y)$-measurable

  2. $forall Ainsigma(Y)$ we have
    $$E[1_A E_X(g(X,Y))] = E[1_A g(X,Y)].$$

Regarding 1.:



It is
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x)=h(Y),$$
where $h(y)=int_mathbb R g(x,y)dP_X(x)$ is a measurable function. Hence $E_X(g(X,Y))$ is $sigma(Y)$-measurable.



Regarding 2.:



Let $Ainsigma(Y).$ Note that $1_A$ can be written as $1_A=f(Y)$ for some measurable function $f.$ Moreover, since $X$ and $Y$ are independent, it holds that
$$P_(X,Y)=P_Xotimes P_Y.$$
Now write
beginalign
E[1_A g(X,Y)] &= int_Omega 1_A g(X,Y) dP\
&= int_Omega f(Y) g(X,Y) dP\
&= int_mathbb R^2 f(y) g(x,y) dP_(X,Y)(x,y)\
&= int_mathbb R^2 f(y) g(x,y) d(P_Xotimes P_Y)(x,y)\
&= int_mathbb Rint_mathbb R f(y) g(x,y) dP_X(x) dP_Y(y) quadtextby Fubini\
&= int_mathbb Rf(y) int_mathbb R g(x,y) dP_X(x) dP_Y(y)\
&= int_mathbb Rf(y) h(y) dP_Y(y)\
&= int_Omega f(Y) h(Y) dP\
&= int_Omega 1_A E_X(g(X,Y)) dP\
&= E[1_A E_X(g(X,Y))].\
endalign







share|cite|improve this question
















  • 1




    Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
    – Kavi Rama Murthy
    Aug 22 at 9:14










  • Great, thank you.
    – Epiousios
    Aug 22 at 9:20










  • Nothing to add. Well done.
    – Did
    Aug 22 at 10:23






  • 2




    Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
    – Gordon
    Aug 22 at 16:32












up vote
2
down vote

favorite









up vote
2
down vote

favorite











Let $X$ and $Y$ be random variables and let $g:mathbb R^2 to mathbb R$ be a non-negative measurable function. If you like assume that $g(X,Y)$ has finite expectation. Let
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x),$$
where $P_X=Pcirc X^-1$ is the distribution of $X.$



I am interested in the relationship between $E_X(g(X,Y))$ and $E(g(X,Y)|Y).$ I suspect that the following holds:




If $X$ and $Y$ are independent then
$$E_X(g(X,Y))=E(g(X,Y)|Y).tag*$$




Since I don't have a lot of experience writing proofs with measure-theoretic arguments it would be nice if someone with more experience could have a look at this proof I wrote:



Proof.



In order to show $(*)$ we need to verify



  1. $E_X(g(X,Y))$ is $sigma(Y)$-measurable

  2. $forall Ainsigma(Y)$ we have
    $$E[1_A E_X(g(X,Y))] = E[1_A g(X,Y)].$$

Regarding 1.:



It is
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x)=h(Y),$$
where $h(y)=int_mathbb R g(x,y)dP_X(x)$ is a measurable function. Hence $E_X(g(X,Y))$ is $sigma(Y)$-measurable.



Regarding 2.:



Let $Ainsigma(Y).$ Note that $1_A$ can be written as $1_A=f(Y)$ for some measurable function $f.$ Moreover, since $X$ and $Y$ are independent, it holds that
$$P_(X,Y)=P_Xotimes P_Y.$$
Now write
beginalign
E[1_A g(X,Y)] &= int_Omega 1_A g(X,Y) dP\
&= int_Omega f(Y) g(X,Y) dP\
&= int_mathbb R^2 f(y) g(x,y) dP_(X,Y)(x,y)\
&= int_mathbb R^2 f(y) g(x,y) d(P_Xotimes P_Y)(x,y)\
&= int_mathbb Rint_mathbb R f(y) g(x,y) dP_X(x) dP_Y(y) quadtextby Fubini\
&= int_mathbb Rf(y) int_mathbb R g(x,y) dP_X(x) dP_Y(y)\
&= int_mathbb Rf(y) h(y) dP_Y(y)\
&= int_Omega f(Y) h(Y) dP\
&= int_Omega 1_A E_X(g(X,Y)) dP\
&= E[1_A E_X(g(X,Y))].\
endalign







share|cite|improve this question












Let $X$ and $Y$ be random variables and let $g:mathbb R^2 to mathbb R$ be a non-negative measurable function. If you like assume that $g(X,Y)$ has finite expectation. Let
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x),$$
where $P_X=Pcirc X^-1$ is the distribution of $X.$



I am interested in the relationship between $E_X(g(X,Y))$ and $E(g(X,Y)|Y).$ I suspect that the following holds:




If $X$ and $Y$ are independent then
$$E_X(g(X,Y))=E(g(X,Y)|Y).tag*$$




Since I don't have a lot of experience writing proofs with measure-theoretic arguments it would be nice if someone with more experience could have a look at this proof I wrote:



Proof.



In order to show $(*)$ we need to verify



  1. $E_X(g(X,Y))$ is $sigma(Y)$-measurable

  2. $forall Ainsigma(Y)$ we have
    $$E[1_A E_X(g(X,Y))] = E[1_A g(X,Y)].$$

Regarding 1.:



It is
$$E_X(g(X,Y))=int_mathbb R g(x,Y)dP_X(x)=h(Y),$$
where $h(y)=int_mathbb R g(x,y)dP_X(x)$ is a measurable function. Hence $E_X(g(X,Y))$ is $sigma(Y)$-measurable.



Regarding 2.:



Let $Ainsigma(Y).$ Note that $1_A$ can be written as $1_A=f(Y)$ for some measurable function $f.$ Moreover, since $X$ and $Y$ are independent, it holds that
$$P_(X,Y)=P_Xotimes P_Y.$$
Now write
beginalign
E[1_A g(X,Y)] &= int_Omega 1_A g(X,Y) dP\
&= int_Omega f(Y) g(X,Y) dP\
&= int_mathbb R^2 f(y) g(x,y) dP_(X,Y)(x,y)\
&= int_mathbb R^2 f(y) g(x,y) d(P_Xotimes P_Y)(x,y)\
&= int_mathbb Rint_mathbb R f(y) g(x,y) dP_X(x) dP_Y(y) quadtextby Fubini\
&= int_mathbb Rf(y) int_mathbb R g(x,y) dP_X(x) dP_Y(y)\
&= int_mathbb Rf(y) h(y) dP_Y(y)\
&= int_Omega f(Y) h(Y) dP\
&= int_Omega 1_A E_X(g(X,Y)) dP\
&= E[1_A E_X(g(X,Y))].\
endalign









share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Aug 22 at 8:56









Epiousios

1,501522




1,501522







  • 1




    Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
    – Kavi Rama Murthy
    Aug 22 at 9:14










  • Great, thank you.
    – Epiousios
    Aug 22 at 9:20










  • Nothing to add. Well done.
    – Did
    Aug 22 at 10:23






  • 2




    Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
    – Gordon
    Aug 22 at 16:32












  • 1




    Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
    – Kavi Rama Murthy
    Aug 22 at 9:14










  • Great, thank you.
    – Epiousios
    Aug 22 at 9:20










  • Nothing to add. Well done.
    – Did
    Aug 22 at 10:23






  • 2




    Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
    – Gordon
    Aug 22 at 16:32







1




1




Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
– Kavi Rama Murthy
Aug 22 at 9:14




Your proof looks fine. Just want to point out that Fubini/Tonelli is applicable because $f$ is actually non-negative.
– Kavi Rama Murthy
Aug 22 at 9:14












Great, thank you.
– Epiousios
Aug 22 at 9:20




Great, thank you.
– Epiousios
Aug 22 at 9:20












Nothing to add. Well done.
– Did
Aug 22 at 10:23




Nothing to add. Well done.
– Did
Aug 22 at 10:23




2




2




Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
– Gordon
Aug 22 at 16:32




Possible duplicate of Define the function $g (y) = E[f(X,y)]$. Show that $g$ is Borel-measurable, and that $E[f (X,Y)|Y=y] = g(y)$
– Gordon
Aug 22 at 16:32















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',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
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%2f2890815%2fshow-that-if-x-and-y-are-independent-then-e-xgx-y-egx-yy%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2890815%2fshow-that-if-x-and-y-are-independent-then-e-xgx-y-egx-yy%23new-answer', 'question_page');

);

Post as a guest













































































這個網誌中的熱門文章

How to combine Bézier curves to a surface?

Mutual Information Always Non-negative

Why am i infinitely getting the same tweet with the Twitter Search API?