Definition of conditional mean of $ E[g(Y)X|Y=y]$ where Y is discrete.












0












$begingroup$


I got the following question:




$X$ and $Y$ are random variables upon the probability space $(S,F,P)$. $Y$ is discrete with range $W$. Let $g: Bbb Rto Bbb R$ be a function so that $g(Y)$ is a random variable.



Prove that for every $yin W$ for which $g(y)neq 0$, and for $X$ continuous given $Y=y$ we can obtain that:
$$E[g(Y)X|Y=y]=g(y)E[X|Y=y].$$




I managed to show that $$f_{g(Y)X|Y=y}(t)=f_{X|Y=y}left(frac{t}{g(Y)}right).$$



And now I am trying to use that in order to calculate $ E[g(Y)X|Y=y]$, but I find it difficult to understand the definition of this conditional mean:



Is it an integral (sum) of two variables $X$ and $g(Y)$ or an integral of one variable. If this is the case, what is the variable I'm integrating on? It made me confused, and it would be helpful if you can explain it to me.










share|cite|improve this question











$endgroup$












  • $begingroup$
    There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
    $endgroup$
    – Batominovski
    Dec 13 '18 at 12:26










  • $begingroup$
    @Batominovski it's $Bbb R to Bbb R$. fixed it.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 12:34
















0












$begingroup$


I got the following question:




$X$ and $Y$ are random variables upon the probability space $(S,F,P)$. $Y$ is discrete with range $W$. Let $g: Bbb Rto Bbb R$ be a function so that $g(Y)$ is a random variable.



Prove that for every $yin W$ for which $g(y)neq 0$, and for $X$ continuous given $Y=y$ we can obtain that:
$$E[g(Y)X|Y=y]=g(y)E[X|Y=y].$$




I managed to show that $$f_{g(Y)X|Y=y}(t)=f_{X|Y=y}left(frac{t}{g(Y)}right).$$



And now I am trying to use that in order to calculate $ E[g(Y)X|Y=y]$, but I find it difficult to understand the definition of this conditional mean:



Is it an integral (sum) of two variables $X$ and $g(Y)$ or an integral of one variable. If this is the case, what is the variable I'm integrating on? It made me confused, and it would be helpful if you can explain it to me.










share|cite|improve this question











$endgroup$












  • $begingroup$
    There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
    $endgroup$
    – Batominovski
    Dec 13 '18 at 12:26










  • $begingroup$
    @Batominovski it's $Bbb R to Bbb R$. fixed it.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 12:34














0












0








0





$begingroup$


I got the following question:




$X$ and $Y$ are random variables upon the probability space $(S,F,P)$. $Y$ is discrete with range $W$. Let $g: Bbb Rto Bbb R$ be a function so that $g(Y)$ is a random variable.



Prove that for every $yin W$ for which $g(y)neq 0$, and for $X$ continuous given $Y=y$ we can obtain that:
$$E[g(Y)X|Y=y]=g(y)E[X|Y=y].$$




I managed to show that $$f_{g(Y)X|Y=y}(t)=f_{X|Y=y}left(frac{t}{g(Y)}right).$$



And now I am trying to use that in order to calculate $ E[g(Y)X|Y=y]$, but I find it difficult to understand the definition of this conditional mean:



Is it an integral (sum) of two variables $X$ and $g(Y)$ or an integral of one variable. If this is the case, what is the variable I'm integrating on? It made me confused, and it would be helpful if you can explain it to me.










share|cite|improve this question











$endgroup$




I got the following question:




$X$ and $Y$ are random variables upon the probability space $(S,F,P)$. $Y$ is discrete with range $W$. Let $g: Bbb Rto Bbb R$ be a function so that $g(Y)$ is a random variable.



Prove that for every $yin W$ for which $g(y)neq 0$, and for $X$ continuous given $Y=y$ we can obtain that:
$$E[g(Y)X|Y=y]=g(y)E[X|Y=y].$$




I managed to show that $$f_{g(Y)X|Y=y}(t)=f_{X|Y=y}left(frac{t}{g(Y)}right).$$



And now I am trying to use that in order to calculate $ E[g(Y)X|Y=y]$, but I find it difficult to understand the definition of this conditional mean:



Is it an integral (sum) of two variables $X$ and $g(Y)$ or an integral of one variable. If this is the case, what is the variable I'm integrating on? It made me confused, and it would be helpful if you can explain it to me.







probability conditional-expectation means






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 13 '18 at 12:32







Mr.OY

















asked Dec 13 '18 at 12:01









Mr.OYMr.OY

16610




16610












  • $begingroup$
    There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
    $endgroup$
    – Batominovski
    Dec 13 '18 at 12:26










  • $begingroup$
    @Batominovski it's $Bbb R to Bbb R$. fixed it.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 12:34


















  • $begingroup$
    There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
    $endgroup$
    – Batominovski
    Dec 13 '18 at 12:26










  • $begingroup$
    @Batominovski it's $Bbb R to Bbb R$. fixed it.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 12:34
















$begingroup$
There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
$endgroup$
– Batominovski
Dec 13 '18 at 12:26




$begingroup$
There are some confusing notations. Is $g:Wto R$, and not $Rto R$? Is $R$ the set of real numbers $mathbb{R}$?
$endgroup$
– Batominovski
Dec 13 '18 at 12:26












$begingroup$
@Batominovski it's $Bbb R to Bbb R$. fixed it.
$endgroup$
– Mr.OY
Dec 13 '18 at 12:34




$begingroup$
@Batominovski it's $Bbb R to Bbb R$. fixed it.
$endgroup$
– Mr.OY
Dec 13 '18 at 12:34










1 Answer
1






active

oldest

votes


















2












$begingroup$

It is enough to observe here that:$$mathbb E[g(Y)Xmid Y=y]=mathbb E[g(y)Xmid Y=y]=g(y)mathbb E[Xmid Y=y]$$



This also holds if $g(y)=0$ and continuity of $X$ under $Y=y$ is redundant as well.



Essential for the first equality is that under condition $Y=y$ it is immediate that $g(Y)X=g(y)X$.



The second equality is an application of $mathbb E[aZ]=amathbb E[Z]$ where $a$ denotes a constant.





edit:



Integration:



$mathbb E[g(Y)Xmid Y=y]=int g(y)x P_{X|Y=y}(dx)=g(y)int xP_{X|Y=y}(dx)=g(y)mathbb E[Xmid Y=y]$



It is enough if $g$ is a measurable function. So continuity is okay, but is not necessary.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 13:48






  • 1




    $begingroup$
    I have added something.
    $endgroup$
    – drhab
    Dec 13 '18 at 14:04













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%2f3037912%2fdefinition-of-conditional-mean-of-egyxy-y-where-y-is-discrete%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









2












$begingroup$

It is enough to observe here that:$$mathbb E[g(Y)Xmid Y=y]=mathbb E[g(y)Xmid Y=y]=g(y)mathbb E[Xmid Y=y]$$



This also holds if $g(y)=0$ and continuity of $X$ under $Y=y$ is redundant as well.



Essential for the first equality is that under condition $Y=y$ it is immediate that $g(Y)X=g(y)X$.



The second equality is an application of $mathbb E[aZ]=amathbb E[Z]$ where $a$ denotes a constant.





edit:



Integration:



$mathbb E[g(Y)Xmid Y=y]=int g(y)x P_{X|Y=y}(dx)=g(y)int xP_{X|Y=y}(dx)=g(y)mathbb E[Xmid Y=y]$



It is enough if $g$ is a measurable function. So continuity is okay, but is not necessary.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 13:48






  • 1




    $begingroup$
    I have added something.
    $endgroup$
    – drhab
    Dec 13 '18 at 14:04


















2












$begingroup$

It is enough to observe here that:$$mathbb E[g(Y)Xmid Y=y]=mathbb E[g(y)Xmid Y=y]=g(y)mathbb E[Xmid Y=y]$$



This also holds if $g(y)=0$ and continuity of $X$ under $Y=y$ is redundant as well.



Essential for the first equality is that under condition $Y=y$ it is immediate that $g(Y)X=g(y)X$.



The second equality is an application of $mathbb E[aZ]=amathbb E[Z]$ where $a$ denotes a constant.





edit:



Integration:



$mathbb E[g(Y)Xmid Y=y]=int g(y)x P_{X|Y=y}(dx)=g(y)int xP_{X|Y=y}(dx)=g(y)mathbb E[Xmid Y=y]$



It is enough if $g$ is a measurable function. So continuity is okay, but is not necessary.






share|cite|improve this answer











$endgroup$













  • $begingroup$
    it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 13:48






  • 1




    $begingroup$
    I have added something.
    $endgroup$
    – drhab
    Dec 13 '18 at 14:04
















2












2








2





$begingroup$

It is enough to observe here that:$$mathbb E[g(Y)Xmid Y=y]=mathbb E[g(y)Xmid Y=y]=g(y)mathbb E[Xmid Y=y]$$



This also holds if $g(y)=0$ and continuity of $X$ under $Y=y$ is redundant as well.



Essential for the first equality is that under condition $Y=y$ it is immediate that $g(Y)X=g(y)X$.



The second equality is an application of $mathbb E[aZ]=amathbb E[Z]$ where $a$ denotes a constant.





edit:



Integration:



$mathbb E[g(Y)Xmid Y=y]=int g(y)x P_{X|Y=y}(dx)=g(y)int xP_{X|Y=y}(dx)=g(y)mathbb E[Xmid Y=y]$



It is enough if $g$ is a measurable function. So continuity is okay, but is not necessary.






share|cite|improve this answer











$endgroup$



It is enough to observe here that:$$mathbb E[g(Y)Xmid Y=y]=mathbb E[g(y)Xmid Y=y]=g(y)mathbb E[Xmid Y=y]$$



This also holds if $g(y)=0$ and continuity of $X$ under $Y=y$ is redundant as well.



Essential for the first equality is that under condition $Y=y$ it is immediate that $g(Y)X=g(y)X$.



The second equality is an application of $mathbb E[aZ]=amathbb E[Z]$ where $a$ denotes a constant.





edit:



Integration:



$mathbb E[g(Y)Xmid Y=y]=int g(y)x P_{X|Y=y}(dx)=g(y)int xP_{X|Y=y}(dx)=g(y)mathbb E[Xmid Y=y]$



It is enough if $g$ is a measurable function. So continuity is okay, but is not necessary.







share|cite|improve this answer














share|cite|improve this answer



share|cite|improve this answer








edited Dec 13 '18 at 14:13









Did

248k23224463




248k23224463










answered Dec 13 '18 at 13:35









drhabdrhab

102k545136




102k545136












  • $begingroup$
    it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 13:48






  • 1




    $begingroup$
    I have added something.
    $endgroup$
    – drhab
    Dec 13 '18 at 14:04




















  • $begingroup$
    it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
    $endgroup$
    – Mr.OY
    Dec 13 '18 at 13:48






  • 1




    $begingroup$
    I have added something.
    $endgroup$
    – drhab
    Dec 13 '18 at 14:04


















$begingroup$
it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
$endgroup$
– Mr.OY
Dec 13 '18 at 13:48




$begingroup$
it's true also for $g$ that maybe not continuous? if it's, then why? But by the way it was not the point of my question, I just tried to understand How I define $ E[g(Y)X|Y=y]$ as Integral. if you can add it, it can be wonderful. explaining also on which variable I integrate. Thank you.
$endgroup$
– Mr.OY
Dec 13 '18 at 13:48




1




1




$begingroup$
I have added something.
$endgroup$
– drhab
Dec 13 '18 at 14:04






$begingroup$
I have added something.
$endgroup$
– drhab
Dec 13 '18 at 14:04




















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%2f3037912%2fdefinition-of-conditional-mean-of-egyxy-y-where-y-is-discrete%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

Plaza Victoria

Puebla de Zaragoza

Musa