Expectation of the function of multiple random variables












0












$begingroup$


I am working through some basic probability stuff and have a question regarding functions of multiple variables. If I have two random variables $X,Y$ which have some joint probability distribution $P_{XY}(x,y)$ I can obtain expected value of some function $f(x,y)$ by integrating across both variables:
$$
E[f(x,y)] = int int f(x,y) P_{XY}(x,y) dx dy
$$



we can also obtain the expected value of a function of a single variable by following the workings here
$$
E[g(x)] = int g(x) P_{X}(x) dx
$$



If the integration across a function of a single value has meaning I am wondering how we would interpret the integration of a function of multiple variables across a single value
$$
int f(x,y) P_X(x)dx
$$



and wether this expression has any meaning?










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    I am working through some basic probability stuff and have a question regarding functions of multiple variables. If I have two random variables $X,Y$ which have some joint probability distribution $P_{XY}(x,y)$ I can obtain expected value of some function $f(x,y)$ by integrating across both variables:
    $$
    E[f(x,y)] = int int f(x,y) P_{XY}(x,y) dx dy
    $$



    we can also obtain the expected value of a function of a single variable by following the workings here
    $$
    E[g(x)] = int g(x) P_{X}(x) dx
    $$



    If the integration across a function of a single value has meaning I am wondering how we would interpret the integration of a function of multiple variables across a single value
    $$
    int f(x,y) P_X(x)dx
    $$



    and wether this expression has any meaning?










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      I am working through some basic probability stuff and have a question regarding functions of multiple variables. If I have two random variables $X,Y$ which have some joint probability distribution $P_{XY}(x,y)$ I can obtain expected value of some function $f(x,y)$ by integrating across both variables:
      $$
      E[f(x,y)] = int int f(x,y) P_{XY}(x,y) dx dy
      $$



      we can also obtain the expected value of a function of a single variable by following the workings here
      $$
      E[g(x)] = int g(x) P_{X}(x) dx
      $$



      If the integration across a function of a single value has meaning I am wondering how we would interpret the integration of a function of multiple variables across a single value
      $$
      int f(x,y) P_X(x)dx
      $$



      and wether this expression has any meaning?










      share|cite|improve this question











      $endgroup$




      I am working through some basic probability stuff and have a question regarding functions of multiple variables. If I have two random variables $X,Y$ which have some joint probability distribution $P_{XY}(x,y)$ I can obtain expected value of some function $f(x,y)$ by integrating across both variables:
      $$
      E[f(x,y)] = int int f(x,y) P_{XY}(x,y) dx dy
      $$



      we can also obtain the expected value of a function of a single variable by following the workings here
      $$
      E[g(x)] = int g(x) P_{X}(x) dx
      $$



      If the integration across a function of a single value has meaning I am wondering how we would interpret the integration of a function of multiple variables across a single value
      $$
      int f(x,y) P_X(x)dx
      $$



      and wether this expression has any meaning?







      probability probability-theory random-variables






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Jan 8 at 11:55







      Tom

















      asked Jan 8 at 11:48









      TomTom

      266




      266






















          1 Answer
          1






          active

          oldest

          votes


















          2












          $begingroup$

          The last expression gives you the expectation of $f(X,y)$ where $X$ denotes the random variable and $y$ is fixed.



          So defining $Z_y:=f(X,y)$ it gives the expectation of random variable $Z_y$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
            $endgroup$
            – Tom
            Jan 8 at 12:10












          • $begingroup$
            There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
            $endgroup$
            – drhab
            Jan 8 at 12:18










          • $begingroup$
            $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
            $endgroup$
            – drhab
            Jan 8 at 12:25











          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%2f3066079%2fexpectation-of-the-function-of-multiple-random-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









          2












          $begingroup$

          The last expression gives you the expectation of $f(X,y)$ where $X$ denotes the random variable and $y$ is fixed.



          So defining $Z_y:=f(X,y)$ it gives the expectation of random variable $Z_y$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
            $endgroup$
            – Tom
            Jan 8 at 12:10












          • $begingroup$
            There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
            $endgroup$
            – drhab
            Jan 8 at 12:18










          • $begingroup$
            $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
            $endgroup$
            – drhab
            Jan 8 at 12:25
















          2












          $begingroup$

          The last expression gives you the expectation of $f(X,y)$ where $X$ denotes the random variable and $y$ is fixed.



          So defining $Z_y:=f(X,y)$ it gives the expectation of random variable $Z_y$.






          share|cite|improve this answer









          $endgroup$













          • $begingroup$
            Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
            $endgroup$
            – Tom
            Jan 8 at 12:10












          • $begingroup$
            There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
            $endgroup$
            – drhab
            Jan 8 at 12:18










          • $begingroup$
            $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
            $endgroup$
            – drhab
            Jan 8 at 12:25














          2












          2








          2





          $begingroup$

          The last expression gives you the expectation of $f(X,y)$ where $X$ denotes the random variable and $y$ is fixed.



          So defining $Z_y:=f(X,y)$ it gives the expectation of random variable $Z_y$.






          share|cite|improve this answer









          $endgroup$



          The last expression gives you the expectation of $f(X,y)$ where $X$ denotes the random variable and $y$ is fixed.



          So defining $Z_y:=f(X,y)$ it gives the expectation of random variable $Z_y$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Jan 8 at 12:01









          drhabdrhab

          99.7k544130




          99.7k544130












          • $begingroup$
            Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
            $endgroup$
            – Tom
            Jan 8 at 12:10












          • $begingroup$
            There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
            $endgroup$
            – drhab
            Jan 8 at 12:18










          • $begingroup$
            $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
            $endgroup$
            – drhab
            Jan 8 at 12:25


















          • $begingroup$
            Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
            $endgroup$
            – Tom
            Jan 8 at 12:10












          • $begingroup$
            There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
            $endgroup$
            – drhab
            Jan 8 at 12:18










          • $begingroup$
            $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
            $endgroup$
            – drhab
            Jan 8 at 12:25
















          $begingroup$
          Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
          $endgroup$
          – Tom
          Jan 8 at 12:10






          $begingroup$
          Thank you for your answer! Am i right in thinking that in this case $E[Z_y]$ would be the expectation given a particular value of y and therefore still dependent on the joint distribution?
          $endgroup$
          – Tom
          Jan 8 at 12:10














          $begingroup$
          There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
          $endgroup$
          – drhab
          Jan 8 at 12:18




          $begingroup$
          There is only dependence wrt the original joint distribution in the sense that the distribution of $X$ is deduced from the joint distribution. That's all. The calculation of $mathbb EZ_y$ does not depend on some condition $Y=y$ as you seem to think.
          $endgroup$
          – drhab
          Jan 8 at 12:18












          $begingroup$
          $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
          $endgroup$
          – drhab
          Jan 8 at 12:25




          $begingroup$
          $mathbb Ef(X,y)$ and $mathbb E[f(X,Y)mid Y=y]$ are essentially different. If e.g. $X=Y$ then $mathbb E[f(X,Y)mid Y=y]=f(y,y)$, but $mathbb Ef(X,y)$ is calculated on base of the distribution of $X$ and the equality $X=Y$ plays no part in that.
          $endgroup$
          – drhab
          Jan 8 at 12:25


















          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%2f3066079%2fexpectation-of-the-function-of-multiple-random-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

          An IMO inspired problem

          Management

          Has there ever been an instance of an active nuclear power plant within or near a war zone?