Use of law of total expectation without checking integrability











up vote
0
down vote

favorite












$newcommand{E}{mathbb E}$In basic probability classes, people often use the formula, namely the law of total expectation
$$E[X]=E[E[Xmid Y]]$$
without checking integrability of $X$.



I can't get my head around it, because we sometimes use it to check the integrability of $X$... Wow! We don't even know if $E[Xmid Y]$ exists, yet we use it.



Example.
For a simple example, I wanted to do it properly. For instance, consider nonnegative integrable random variables $Z$ and $X_i$ i.i.d. independent of $Z$. We need to check whether $$sum_{i= 1}^ZX_i $$
is integrable. I can do it like this
$$Eleft[sum_{i= 1}^ZX_i right]=Eleft[Eleft[sum_{i= 1}^ZX_imid Zright] right]=Eleft[sum_{i=1}^Z E[X_i] right]=E[Z]E[X_1]$$
But I thought this is cheating, so I considered $Xmathbb I_{X<K}$ for some constant $K>0$, then we have
begin{align}
sum_{i=1}^Z X_imathbb I_{X_i<K} leq ZK
end{align}

This is clearly integrable. So we can apply the same steps as before "legally" to show integrability and then MCT does the rest of the work
begin{align}
Eleft[sum_{i=1}^Z X_iright]stackrel{text{MCT}}{=}lim_{Ktoinfty}Eleft[sum_{i=1}^Z X_imathbb I_{X_i<K} right]=lim_{Ktoinfty}E[X_1mathbb I_{X_1<K}]E[Z]stackrel{text{MCT}}{=}E[X_1]E[Z]
end{align}

Do something similar always works, giving us the reason why people just use it? Indeed, I guess it is boring to repeat these kind of steps if it always works, therefore my question:




Question. Can we actually apply the law of total expectation to show integrability? If the answer is "yes", is there a general proof? If the answer is "no", are there examples where it fails?











share|cite|improve this question




























    up vote
    0
    down vote

    favorite












    $newcommand{E}{mathbb E}$In basic probability classes, people often use the formula, namely the law of total expectation
    $$E[X]=E[E[Xmid Y]]$$
    without checking integrability of $X$.



    I can't get my head around it, because we sometimes use it to check the integrability of $X$... Wow! We don't even know if $E[Xmid Y]$ exists, yet we use it.



    Example.
    For a simple example, I wanted to do it properly. For instance, consider nonnegative integrable random variables $Z$ and $X_i$ i.i.d. independent of $Z$. We need to check whether $$sum_{i= 1}^ZX_i $$
    is integrable. I can do it like this
    $$Eleft[sum_{i= 1}^ZX_i right]=Eleft[Eleft[sum_{i= 1}^ZX_imid Zright] right]=Eleft[sum_{i=1}^Z E[X_i] right]=E[Z]E[X_1]$$
    But I thought this is cheating, so I considered $Xmathbb I_{X<K}$ for some constant $K>0$, then we have
    begin{align}
    sum_{i=1}^Z X_imathbb I_{X_i<K} leq ZK
    end{align}

    This is clearly integrable. So we can apply the same steps as before "legally" to show integrability and then MCT does the rest of the work
    begin{align}
    Eleft[sum_{i=1}^Z X_iright]stackrel{text{MCT}}{=}lim_{Ktoinfty}Eleft[sum_{i=1}^Z X_imathbb I_{X_i<K} right]=lim_{Ktoinfty}E[X_1mathbb I_{X_1<K}]E[Z]stackrel{text{MCT}}{=}E[X_1]E[Z]
    end{align}

    Do something similar always works, giving us the reason why people just use it? Indeed, I guess it is boring to repeat these kind of steps if it always works, therefore my question:




    Question. Can we actually apply the law of total expectation to show integrability? If the answer is "yes", is there a general proof? If the answer is "no", are there examples where it fails?











    share|cite|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      $newcommand{E}{mathbb E}$In basic probability classes, people often use the formula, namely the law of total expectation
      $$E[X]=E[E[Xmid Y]]$$
      without checking integrability of $X$.



      I can't get my head around it, because we sometimes use it to check the integrability of $X$... Wow! We don't even know if $E[Xmid Y]$ exists, yet we use it.



      Example.
      For a simple example, I wanted to do it properly. For instance, consider nonnegative integrable random variables $Z$ and $X_i$ i.i.d. independent of $Z$. We need to check whether $$sum_{i= 1}^ZX_i $$
      is integrable. I can do it like this
      $$Eleft[sum_{i= 1}^ZX_i right]=Eleft[Eleft[sum_{i= 1}^ZX_imid Zright] right]=Eleft[sum_{i=1}^Z E[X_i] right]=E[Z]E[X_1]$$
      But I thought this is cheating, so I considered $Xmathbb I_{X<K}$ for some constant $K>0$, then we have
      begin{align}
      sum_{i=1}^Z X_imathbb I_{X_i<K} leq ZK
      end{align}

      This is clearly integrable. So we can apply the same steps as before "legally" to show integrability and then MCT does the rest of the work
      begin{align}
      Eleft[sum_{i=1}^Z X_iright]stackrel{text{MCT}}{=}lim_{Ktoinfty}Eleft[sum_{i=1}^Z X_imathbb I_{X_i<K} right]=lim_{Ktoinfty}E[X_1mathbb I_{X_1<K}]E[Z]stackrel{text{MCT}}{=}E[X_1]E[Z]
      end{align}

      Do something similar always works, giving us the reason why people just use it? Indeed, I guess it is boring to repeat these kind of steps if it always works, therefore my question:




      Question. Can we actually apply the law of total expectation to show integrability? If the answer is "yes", is there a general proof? If the answer is "no", are there examples where it fails?











      share|cite|improve this question















      $newcommand{E}{mathbb E}$In basic probability classes, people often use the formula, namely the law of total expectation
      $$E[X]=E[E[Xmid Y]]$$
      without checking integrability of $X$.



      I can't get my head around it, because we sometimes use it to check the integrability of $X$... Wow! We don't even know if $E[Xmid Y]$ exists, yet we use it.



      Example.
      For a simple example, I wanted to do it properly. For instance, consider nonnegative integrable random variables $Z$ and $X_i$ i.i.d. independent of $Z$. We need to check whether $$sum_{i= 1}^ZX_i $$
      is integrable. I can do it like this
      $$Eleft[sum_{i= 1}^ZX_i right]=Eleft[Eleft[sum_{i= 1}^ZX_imid Zright] right]=Eleft[sum_{i=1}^Z E[X_i] right]=E[Z]E[X_1]$$
      But I thought this is cheating, so I considered $Xmathbb I_{X<K}$ for some constant $K>0$, then we have
      begin{align}
      sum_{i=1}^Z X_imathbb I_{X_i<K} leq ZK
      end{align}

      This is clearly integrable. So we can apply the same steps as before "legally" to show integrability and then MCT does the rest of the work
      begin{align}
      Eleft[sum_{i=1}^Z X_iright]stackrel{text{MCT}}{=}lim_{Ktoinfty}Eleft[sum_{i=1}^Z X_imathbb I_{X_i<K} right]=lim_{Ktoinfty}E[X_1mathbb I_{X_1<K}]E[Z]stackrel{text{MCT}}{=}E[X_1]E[Z]
      end{align}

      Do something similar always works, giving us the reason why people just use it? Indeed, I guess it is boring to repeat these kind of steps if it always works, therefore my question:




      Question. Can we actually apply the law of total expectation to show integrability? If the answer is "yes", is there a general proof? If the answer is "no", are there examples where it fails?








      probability-theory conditional-expectation expected-value






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Nov 17 at 15:50

























      asked Nov 17 at 15:43









      Shashi

      6,9661527




      6,9661527






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          All the usual laws of conditional expectation work for nonnegative random variables, integrable or not, if you allow the value $+infty$. For instance, if $X$ is nonnegative, $E[X mid Y]$ will always exist, but potentially could equal $+infty$ with positive probability. And if $X$ is nonnegative and not integrable, then you will get $E[E[X mid Y]] = +infty$ as well (i.e. $E[X mid Y]$ is nonnegative and not integrable). These cases are often left as exercises since it is a little tedious to write out the proofs, but you can show it by considering "cut off" random variables like $X_n = X 1_{X le n}$ and using monotone convergence.



          The properties do not necessarily hold for signed random variables that may not be integrable. However, you can determine whether a random variable $X$ is integrable by computing $E[|X| mid Y]$ and seeing if $E[E[|X| mid Y]] < infty$, and if so then you will know that $E[X] = E[E[X mid Y]]$.






          share|cite|improve this answer





















          • So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
            – Shashi
            Nov 17 at 16:05











          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%2f3002485%2fuse-of-law-of-total-expectation-without-checking-integrability%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








          up vote
          1
          down vote



          accepted










          All the usual laws of conditional expectation work for nonnegative random variables, integrable or not, if you allow the value $+infty$. For instance, if $X$ is nonnegative, $E[X mid Y]$ will always exist, but potentially could equal $+infty$ with positive probability. And if $X$ is nonnegative and not integrable, then you will get $E[E[X mid Y]] = +infty$ as well (i.e. $E[X mid Y]$ is nonnegative and not integrable). These cases are often left as exercises since it is a little tedious to write out the proofs, but you can show it by considering "cut off" random variables like $X_n = X 1_{X le n}$ and using monotone convergence.



          The properties do not necessarily hold for signed random variables that may not be integrable. However, you can determine whether a random variable $X$ is integrable by computing $E[|X| mid Y]$ and seeing if $E[E[|X| mid Y]] < infty$, and if so then you will know that $E[X] = E[E[X mid Y]]$.






          share|cite|improve this answer





















          • So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
            – Shashi
            Nov 17 at 16:05















          up vote
          1
          down vote



          accepted










          All the usual laws of conditional expectation work for nonnegative random variables, integrable or not, if you allow the value $+infty$. For instance, if $X$ is nonnegative, $E[X mid Y]$ will always exist, but potentially could equal $+infty$ with positive probability. And if $X$ is nonnegative and not integrable, then you will get $E[E[X mid Y]] = +infty$ as well (i.e. $E[X mid Y]$ is nonnegative and not integrable). These cases are often left as exercises since it is a little tedious to write out the proofs, but you can show it by considering "cut off" random variables like $X_n = X 1_{X le n}$ and using monotone convergence.



          The properties do not necessarily hold for signed random variables that may not be integrable. However, you can determine whether a random variable $X$ is integrable by computing $E[|X| mid Y]$ and seeing if $E[E[|X| mid Y]] < infty$, and if so then you will know that $E[X] = E[E[X mid Y]]$.






          share|cite|improve this answer





















          • So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
            – Shashi
            Nov 17 at 16:05













          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          All the usual laws of conditional expectation work for nonnegative random variables, integrable or not, if you allow the value $+infty$. For instance, if $X$ is nonnegative, $E[X mid Y]$ will always exist, but potentially could equal $+infty$ with positive probability. And if $X$ is nonnegative and not integrable, then you will get $E[E[X mid Y]] = +infty$ as well (i.e. $E[X mid Y]$ is nonnegative and not integrable). These cases are often left as exercises since it is a little tedious to write out the proofs, but you can show it by considering "cut off" random variables like $X_n = X 1_{X le n}$ and using monotone convergence.



          The properties do not necessarily hold for signed random variables that may not be integrable. However, you can determine whether a random variable $X$ is integrable by computing $E[|X| mid Y]$ and seeing if $E[E[|X| mid Y]] < infty$, and if so then you will know that $E[X] = E[E[X mid Y]]$.






          share|cite|improve this answer












          All the usual laws of conditional expectation work for nonnegative random variables, integrable or not, if you allow the value $+infty$. For instance, if $X$ is nonnegative, $E[X mid Y]$ will always exist, but potentially could equal $+infty$ with positive probability. And if $X$ is nonnegative and not integrable, then you will get $E[E[X mid Y]] = +infty$ as well (i.e. $E[X mid Y]$ is nonnegative and not integrable). These cases are often left as exercises since it is a little tedious to write out the proofs, but you can show it by considering "cut off" random variables like $X_n = X 1_{X le n}$ and using monotone convergence.



          The properties do not necessarily hold for signed random variables that may not be integrable. However, you can determine whether a random variable $X$ is integrable by computing $E[|X| mid Y]$ and seeing if $E[E[|X| mid Y]] < infty$, and if so then you will know that $E[X] = E[E[X mid Y]]$.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Nov 17 at 15:58









          Nate Eldredge

          61.7k680167




          61.7k680167












          • So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
            – Shashi
            Nov 17 at 16:05


















          • So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
            – Shashi
            Nov 17 at 16:05
















          So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
          – Shashi
          Nov 17 at 16:05




          So it actually makes sense to use the law of total expectation for checking integrability. Many thanks! I suddenly remember that there is an exercise like that in Rick Durret's book. Silly me that I forgot about it. Thanks again!
          – Shashi
          Nov 17 at 16:05


















          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%2f3002485%2fuse-of-law-of-total-expectation-without-checking-integrability%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 to change which sound is reproduced for terminal bell?

          Can I use Tabulator js library in my java Spring + Thymeleaf project?

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents