Find conditional expectation











up vote
0
down vote

favorite













Let $X$ and $Y$ be two independent uniform on $(0,1)$ . Compute $E(X
mid X < Y )$
.




I was asked this question on an exam and here is how I solved it:



We have $f_X(x)=f_Y(y)=1$ and by independence $f_{X,Y}(x,y)=1$. Hence,



$$ f_{X mid Y} (x mid y) = frac{ f_{X,Y}(x,y)}{f_{Y}(y) } = 1 $$



So,



$$ E(X mid X < Y) = intlimits_0^y x f_{X mid Y} (x mid y) d x = intlimits_0^y x dx = frac{y^2}{2} $$



I think my answer is reasonable. I only got 2 points out of 10 on this question which means the entire procedure is flawed? what is my mistake here?










share|cite|improve this question






















  • The conditional expectation is supposed to give you a real number.
    – StubbornAtom
    Nov 20 at 16:28















up vote
0
down vote

favorite













Let $X$ and $Y$ be two independent uniform on $(0,1)$ . Compute $E(X
mid X < Y )$
.




I was asked this question on an exam and here is how I solved it:



We have $f_X(x)=f_Y(y)=1$ and by independence $f_{X,Y}(x,y)=1$. Hence,



$$ f_{X mid Y} (x mid y) = frac{ f_{X,Y}(x,y)}{f_{Y}(y) } = 1 $$



So,



$$ E(X mid X < Y) = intlimits_0^y x f_{X mid Y} (x mid y) d x = intlimits_0^y x dx = frac{y^2}{2} $$



I think my answer is reasonable. I only got 2 points out of 10 on this question which means the entire procedure is flawed? what is my mistake here?










share|cite|improve this question






















  • The conditional expectation is supposed to give you a real number.
    – StubbornAtom
    Nov 20 at 16:28













up vote
0
down vote

favorite









up vote
0
down vote

favorite












Let $X$ and $Y$ be two independent uniform on $(0,1)$ . Compute $E(X
mid X < Y )$
.




I was asked this question on an exam and here is how I solved it:



We have $f_X(x)=f_Y(y)=1$ and by independence $f_{X,Y}(x,y)=1$. Hence,



$$ f_{X mid Y} (x mid y) = frac{ f_{X,Y}(x,y)}{f_{Y}(y) } = 1 $$



So,



$$ E(X mid X < Y) = intlimits_0^y x f_{X mid Y} (x mid y) d x = intlimits_0^y x dx = frac{y^2}{2} $$



I think my answer is reasonable. I only got 2 points out of 10 on this question which means the entire procedure is flawed? what is my mistake here?










share|cite|improve this question














Let $X$ and $Y$ be two independent uniform on $(0,1)$ . Compute $E(X
mid X < Y )$
.




I was asked this question on an exam and here is how I solved it:



We have $f_X(x)=f_Y(y)=1$ and by independence $f_{X,Y}(x,y)=1$. Hence,



$$ f_{X mid Y} (x mid y) = frac{ f_{X,Y}(x,y)}{f_{Y}(y) } = 1 $$



So,



$$ E(X mid X < Y) = intlimits_0^y x f_{X mid Y} (x mid y) d x = intlimits_0^y x dx = frac{y^2}{2} $$



I think my answer is reasonable. I only got 2 points out of 10 on this question which means the entire procedure is flawed? what is my mistake here?







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 20 at 16:15









Neymar

362113




362113












  • The conditional expectation is supposed to give you a real number.
    – StubbornAtom
    Nov 20 at 16:28


















  • The conditional expectation is supposed to give you a real number.
    – StubbornAtom
    Nov 20 at 16:28
















The conditional expectation is supposed to give you a real number.
– StubbornAtom
Nov 20 at 16:28




The conditional expectation is supposed to give you a real number.
– StubbornAtom
Nov 20 at 16:28










2 Answers
2






active

oldest

votes

















up vote
2
down vote



accepted










Concerning your mistake see the comment of StubbornAtom.



Note that $P(X<Y)=frac12$ by symmetry, so that:



$$frac{1}{2}mathbb{E}left(Xmid X<Yright)=mathbb{E}left(Xmid X<Yright)Pleft(X<Yright)=mathbb{E}Xmathbf{1}_{X<Y}=int_{0}^{1}int_{0}^{y}xdxdy=$$$$int_{0}^{1}frac{1}{2}y^{2}dy=left[frac{1}{6}y^{3}right]_{0}^{1}=frac{1}{6}$$



So the correct answer is: $$mathbb{E}left(Xmid X<Yright)=frac{1}{3}$$






share|cite|improve this answer




























    up vote
    1
    down vote













    We have $$E(Xmid X<Y)=frac{E(Xmathbf1_{X<Y})}{P(X<Y)}=2E(Xmathbf1_{X<Y})$$



    And



    begin{align}
    E(Xmathbf1_{X<Y})&=iint xmathbf1_{x<y}f_{X,Y}(x,y),dx,dy
    end{align}






    share|cite|improve this answer





















      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: 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%2f3006515%2ffind-conditional-expectation%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








      up vote
      2
      down vote



      accepted










      Concerning your mistake see the comment of StubbornAtom.



      Note that $P(X<Y)=frac12$ by symmetry, so that:



      $$frac{1}{2}mathbb{E}left(Xmid X<Yright)=mathbb{E}left(Xmid X<Yright)Pleft(X<Yright)=mathbb{E}Xmathbf{1}_{X<Y}=int_{0}^{1}int_{0}^{y}xdxdy=$$$$int_{0}^{1}frac{1}{2}y^{2}dy=left[frac{1}{6}y^{3}right]_{0}^{1}=frac{1}{6}$$



      So the correct answer is: $$mathbb{E}left(Xmid X<Yright)=frac{1}{3}$$






      share|cite|improve this answer

























        up vote
        2
        down vote



        accepted










        Concerning your mistake see the comment of StubbornAtom.



        Note that $P(X<Y)=frac12$ by symmetry, so that:



        $$frac{1}{2}mathbb{E}left(Xmid X<Yright)=mathbb{E}left(Xmid X<Yright)Pleft(X<Yright)=mathbb{E}Xmathbf{1}_{X<Y}=int_{0}^{1}int_{0}^{y}xdxdy=$$$$int_{0}^{1}frac{1}{2}y^{2}dy=left[frac{1}{6}y^{3}right]_{0}^{1}=frac{1}{6}$$



        So the correct answer is: $$mathbb{E}left(Xmid X<Yright)=frac{1}{3}$$






        share|cite|improve this answer























          up vote
          2
          down vote



          accepted







          up vote
          2
          down vote



          accepted






          Concerning your mistake see the comment of StubbornAtom.



          Note that $P(X<Y)=frac12$ by symmetry, so that:



          $$frac{1}{2}mathbb{E}left(Xmid X<Yright)=mathbb{E}left(Xmid X<Yright)Pleft(X<Yright)=mathbb{E}Xmathbf{1}_{X<Y}=int_{0}^{1}int_{0}^{y}xdxdy=$$$$int_{0}^{1}frac{1}{2}y^{2}dy=left[frac{1}{6}y^{3}right]_{0}^{1}=frac{1}{6}$$



          So the correct answer is: $$mathbb{E}left(Xmid X<Yright)=frac{1}{3}$$






          share|cite|improve this answer












          Concerning your mistake see the comment of StubbornAtom.



          Note that $P(X<Y)=frac12$ by symmetry, so that:



          $$frac{1}{2}mathbb{E}left(Xmid X<Yright)=mathbb{E}left(Xmid X<Yright)Pleft(X<Yright)=mathbb{E}Xmathbf{1}_{X<Y}=int_{0}^{1}int_{0}^{y}xdxdy=$$$$int_{0}^{1}frac{1}{2}y^{2}dy=left[frac{1}{6}y^{3}right]_{0}^{1}=frac{1}{6}$$



          So the correct answer is: $$mathbb{E}left(Xmid X<Yright)=frac{1}{3}$$







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 20 at 16:32









          drhab

          95.4k543126




          95.4k543126






















              up vote
              1
              down vote













              We have $$E(Xmid X<Y)=frac{E(Xmathbf1_{X<Y})}{P(X<Y)}=2E(Xmathbf1_{X<Y})$$



              And



              begin{align}
              E(Xmathbf1_{X<Y})&=iint xmathbf1_{x<y}f_{X,Y}(x,y),dx,dy
              end{align}






              share|cite|improve this answer

























                up vote
                1
                down vote













                We have $$E(Xmid X<Y)=frac{E(Xmathbf1_{X<Y})}{P(X<Y)}=2E(Xmathbf1_{X<Y})$$



                And



                begin{align}
                E(Xmathbf1_{X<Y})&=iint xmathbf1_{x<y}f_{X,Y}(x,y),dx,dy
                end{align}






                share|cite|improve this answer























                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  We have $$E(Xmid X<Y)=frac{E(Xmathbf1_{X<Y})}{P(X<Y)}=2E(Xmathbf1_{X<Y})$$



                  And



                  begin{align}
                  E(Xmathbf1_{X<Y})&=iint xmathbf1_{x<y}f_{X,Y}(x,y),dx,dy
                  end{align}






                  share|cite|improve this answer












                  We have $$E(Xmid X<Y)=frac{E(Xmathbf1_{X<Y})}{P(X<Y)}=2E(Xmathbf1_{X<Y})$$



                  And



                  begin{align}
                  E(Xmathbf1_{X<Y})&=iint xmathbf1_{x<y}f_{X,Y}(x,y),dx,dy
                  end{align}







                  share|cite|improve this answer












                  share|cite|improve this answer



                  share|cite|improve this answer










                  answered Nov 20 at 16:30









                  StubbornAtom

                  4,97911137




                  4,97911137






























                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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.


                      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%2f3006515%2ffind-conditional-expectation%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

                      Probability when a professor distributes a quiz and homework assignment to a class of n students.

                      Aardman Animations

                      Are they similar matrix