What can I say about expected value of expected value of x given y: $E[E[X|Y]]$












0












$begingroup$


My question is about Y that is discrete and for some random variable X, but if its having a meaning for Y that is continuous then please give that case your attention.



What can I say about $E[E[X|Y]]$?



I know that E[X|Y] is random variable, so It's not trivial case when we calculate expected value of just a number.



And what about $E[E[X|Y]|Y]$? does something like this have a meaning?
if it's, then does for some function $g$ (for simplicity, assuming g with suitable range and continuous) it's true to say that:
$$E[g(Y)E[X|Y]|Y]=g(Y)E[E[X|Y]|Y]$$
Because of a theorem that I seen:
$$E[g(Y)X|Y]=g(Y)E[X|Y]$$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
    $endgroup$
    – Henry
    Dec 14 '18 at 9:25












  • $begingroup$
    @Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
    $endgroup$
    – Mr.OY
    Dec 14 '18 at 9:35










  • $begingroup$
    If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
    $endgroup$
    – Henry
    Dec 14 '18 at 16:03
















0












$begingroup$


My question is about Y that is discrete and for some random variable X, but if its having a meaning for Y that is continuous then please give that case your attention.



What can I say about $E[E[X|Y]]$?



I know that E[X|Y] is random variable, so It's not trivial case when we calculate expected value of just a number.



And what about $E[E[X|Y]|Y]$? does something like this have a meaning?
if it's, then does for some function $g$ (for simplicity, assuming g with suitable range and continuous) it's true to say that:
$$E[g(Y)E[X|Y]|Y]=g(Y)E[E[X|Y]|Y]$$
Because of a theorem that I seen:
$$E[g(Y)X|Y]=g(Y)E[X|Y]$$










share|cite|improve this question











$endgroup$








  • 1




    $begingroup$
    In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
    $endgroup$
    – Henry
    Dec 14 '18 at 9:25












  • $begingroup$
    @Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
    $endgroup$
    – Mr.OY
    Dec 14 '18 at 9:35










  • $begingroup$
    If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
    $endgroup$
    – Henry
    Dec 14 '18 at 16:03














0












0








0





$begingroup$


My question is about Y that is discrete and for some random variable X, but if its having a meaning for Y that is continuous then please give that case your attention.



What can I say about $E[E[X|Y]]$?



I know that E[X|Y] is random variable, so It's not trivial case when we calculate expected value of just a number.



And what about $E[E[X|Y]|Y]$? does something like this have a meaning?
if it's, then does for some function $g$ (for simplicity, assuming g with suitable range and continuous) it's true to say that:
$$E[g(Y)E[X|Y]|Y]=g(Y)E[E[X|Y]|Y]$$
Because of a theorem that I seen:
$$E[g(Y)X|Y]=g(Y)E[X|Y]$$










share|cite|improve this question











$endgroup$




My question is about Y that is discrete and for some random variable X, but if its having a meaning for Y that is continuous then please give that case your attention.



What can I say about $E[E[X|Y]]$?



I know that E[X|Y] is random variable, so It's not trivial case when we calculate expected value of just a number.



And what about $E[E[X|Y]|Y]$? does something like this have a meaning?
if it's, then does for some function $g$ (for simplicity, assuming g with suitable range and continuous) it's true to say that:
$$E[g(Y)E[X|Y]|Y]=g(Y)E[E[X|Y]|Y]$$
Because of a theorem that I seen:
$$E[g(Y)X|Y]=g(Y)E[X|Y]$$







probability means expected-value






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Dec 14 '18 at 9:22







Mr.OY

















asked Dec 14 '18 at 9:17









Mr.OYMr.OY

16610




16610








  • 1




    $begingroup$
    In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
    $endgroup$
    – Henry
    Dec 14 '18 at 9:25












  • $begingroup$
    @Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
    $endgroup$
    – Mr.OY
    Dec 14 '18 at 9:35










  • $begingroup$
    If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
    $endgroup$
    – Henry
    Dec 14 '18 at 16:03














  • 1




    $begingroup$
    In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
    $endgroup$
    – Henry
    Dec 14 '18 at 9:25












  • $begingroup$
    @Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
    $endgroup$
    – Mr.OY
    Dec 14 '18 at 9:35










  • $begingroup$
    If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
    $endgroup$
    – Henry
    Dec 14 '18 at 16:03








1




1




$begingroup$
In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
$endgroup$
– Henry
Dec 14 '18 at 9:25






$begingroup$
In $E[E[Xmid Y]]$ the inner expectation is over $X$ given $Y$ and is a function of $Y$, while the outer expectation is over $Y$ and is a numerical value. So to the extent that $E[E[Xmid Y] mid Y]$ has a meaning, it is the same thing
$endgroup$
– Henry
Dec 14 '18 at 9:25














$begingroup$
@Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
$endgroup$
– Mr.OY
Dec 14 '18 at 9:35




$begingroup$
@Henry $E[E[X∣Y]∣Y] $ is the same as $E[E[X∣Y]]$? or that you meant that the interpretation of this follows as it was with $E[E[X∣Y]]$?
$endgroup$
– Mr.OY
Dec 14 '18 at 9:35












$begingroup$
If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
$endgroup$
– Henry
Dec 14 '18 at 16:03




$begingroup$
If you define $g(y)=E[X mid Y=y]$ then $E[X mid Y] = g(Y)$ and $E[E[X mid Y]] = E[g(Y)]=E[X]$. You can also say that conditioned on $Y=y$ you have $g(Y)=g(y)$ and thus in general and rather obviously $g(Y)=g(Y)$, so in that sense $E[E[X mid Y]mid Y]$ ought to mean $E[g(Y) mid Y] = E[g(Y)]$ and we already know that is $E[X]$
$endgroup$
– Henry
Dec 14 '18 at 16:03










2 Answers
2






active

oldest

votes


















1












$begingroup$

If $X$ is measurable wrt $sigma(Y)$ i.e. the $sigma$-algebra generated by random variable $Y$ then $mathbb E[Xmid Y]=X$.



This can be applied on $Z:=mathbb E[Xmid Y]$ because $mathbb E[Xmid Y]$ is by definition measurable wrt $sigma(Y)$.



This results in $mathbb E[Zmid Y]=Z$ or equivalently: $$mathbb E[mathbb E[Xmid Y]mid Y]=mathbb E[Xmid Y]$$






share|cite|improve this answer









$endgroup$





















    2












    $begingroup$

    It is a basic fact about conditional expectations that $E(E(X|Y))=EX$.






    share|cite|improve this answer









    $endgroup$













      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%2f3039137%2fwhat-can-i-say-about-expected-value-of-expected-value-of-x-given-y-eexy%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      1












      $begingroup$

      If $X$ is measurable wrt $sigma(Y)$ i.e. the $sigma$-algebra generated by random variable $Y$ then $mathbb E[Xmid Y]=X$.



      This can be applied on $Z:=mathbb E[Xmid Y]$ because $mathbb E[Xmid Y]$ is by definition measurable wrt $sigma(Y)$.



      This results in $mathbb E[Zmid Y]=Z$ or equivalently: $$mathbb E[mathbb E[Xmid Y]mid Y]=mathbb E[Xmid Y]$$






      share|cite|improve this answer









      $endgroup$


















        1












        $begingroup$

        If $X$ is measurable wrt $sigma(Y)$ i.e. the $sigma$-algebra generated by random variable $Y$ then $mathbb E[Xmid Y]=X$.



        This can be applied on $Z:=mathbb E[Xmid Y]$ because $mathbb E[Xmid Y]$ is by definition measurable wrt $sigma(Y)$.



        This results in $mathbb E[Zmid Y]=Z$ or equivalently: $$mathbb E[mathbb E[Xmid Y]mid Y]=mathbb E[Xmid Y]$$






        share|cite|improve this answer









        $endgroup$
















          1












          1








          1





          $begingroup$

          If $X$ is measurable wrt $sigma(Y)$ i.e. the $sigma$-algebra generated by random variable $Y$ then $mathbb E[Xmid Y]=X$.



          This can be applied on $Z:=mathbb E[Xmid Y]$ because $mathbb E[Xmid Y]$ is by definition measurable wrt $sigma(Y)$.



          This results in $mathbb E[Zmid Y]=Z$ or equivalently: $$mathbb E[mathbb E[Xmid Y]mid Y]=mathbb E[Xmid Y]$$






          share|cite|improve this answer









          $endgroup$



          If $X$ is measurable wrt $sigma(Y)$ i.e. the $sigma$-algebra generated by random variable $Y$ then $mathbb E[Xmid Y]=X$.



          This can be applied on $Z:=mathbb E[Xmid Y]$ because $mathbb E[Xmid Y]$ is by definition measurable wrt $sigma(Y)$.



          This results in $mathbb E[Zmid Y]=Z$ or equivalently: $$mathbb E[mathbb E[Xmid Y]mid Y]=mathbb E[Xmid Y]$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Dec 14 '18 at 11:58









          drhabdrhab

          101k545136




          101k545136























              2












              $begingroup$

              It is a basic fact about conditional expectations that $E(E(X|Y))=EX$.






              share|cite|improve this answer









              $endgroup$


















                2












                $begingroup$

                It is a basic fact about conditional expectations that $E(E(X|Y))=EX$.






                share|cite|improve this answer









                $endgroup$
















                  2












                  2








                  2





                  $begingroup$

                  It is a basic fact about conditional expectations that $E(E(X|Y))=EX$.






                  share|cite|improve this answer









                  $endgroup$



                  It is a basic fact about conditional expectations that $E(E(X|Y))=EX$.







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Dec 14 '18 at 9:19









                  Kavi Rama MurthyKavi Rama Murthy

                  60.6k42161




                  60.6k42161






























                      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%2f3039137%2fwhat-can-i-say-about-expected-value-of-expected-value-of-x-given-y-eexy%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

                      How do I know what Microsoft account the skydrive app is syncing to?

                      Grease: Live!

                      When does type information flow backwards in C++?