Finding the moment generating function of $min(Y,1)$












0












$begingroup$


Let $Ysimtext{Exp}(1)$ be a random variable. I denote the random variable $X$ as $X=min(Y,1)$. The task is to find the moment generating function of $X$.



By simply calculating the probability I managed to find the CDF of $X$ is:
$$F_X(t) = begin{cases}
1-e^{-t}, & 0 le t <1\
1, & t ge 1\
0, & text{otherwise}
end{cases}$$



Here I got stuck. Since $X$ is not a continuous variable, it does not have a PDF, and without it I do not know how to calculate the moment generating function. ($X$ is also not discrete).



I will appreciate some help.










share|cite|improve this question











$endgroup$

















    0












    $begingroup$


    Let $Ysimtext{Exp}(1)$ be a random variable. I denote the random variable $X$ as $X=min(Y,1)$. The task is to find the moment generating function of $X$.



    By simply calculating the probability I managed to find the CDF of $X$ is:
    $$F_X(t) = begin{cases}
    1-e^{-t}, & 0 le t <1\
    1, & t ge 1\
    0, & text{otherwise}
    end{cases}$$



    Here I got stuck. Since $X$ is not a continuous variable, it does not have a PDF, and without it I do not know how to calculate the moment generating function. ($X$ is also not discrete).



    I will appreciate some help.










    share|cite|improve this question











    $endgroup$















      0












      0








      0





      $begingroup$


      Let $Ysimtext{Exp}(1)$ be a random variable. I denote the random variable $X$ as $X=min(Y,1)$. The task is to find the moment generating function of $X$.



      By simply calculating the probability I managed to find the CDF of $X$ is:
      $$F_X(t) = begin{cases}
      1-e^{-t}, & 0 le t <1\
      1, & t ge 1\
      0, & text{otherwise}
      end{cases}$$



      Here I got stuck. Since $X$ is not a continuous variable, it does not have a PDF, and without it I do not know how to calculate the moment generating function. ($X$ is also not discrete).



      I will appreciate some help.










      share|cite|improve this question











      $endgroup$




      Let $Ysimtext{Exp}(1)$ be a random variable. I denote the random variable $X$ as $X=min(Y,1)$. The task is to find the moment generating function of $X$.



      By simply calculating the probability I managed to find the CDF of $X$ is:
      $$F_X(t) = begin{cases}
      1-e^{-t}, & 0 le t <1\
      1, & t ge 1\
      0, & text{otherwise}
      end{cases}$$



      Here I got stuck. Since $X$ is not a continuous variable, it does not have a PDF, and without it I do not know how to calculate the moment generating function. ($X$ is also not discrete).



      I will appreciate some help.







      probability moment-generating-functions exponential-distribution






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 10 '18 at 9:47









      Saad

      19.7k92352




      19.7k92352










      asked Dec 10 '18 at 0:52









      Gabi GGabi G

      39819




      39819






















          1 Answer
          1






          active

          oldest

          votes


















          1












          $begingroup$

          The definition of the moment generating function does not require a PDF.
          $$phi_X(t) := E[e^{tX}].$$



          From here, it may be helpful to write
          $$e^{tX} = e^{tX} mathbf{1}{Y > 1} + e^{tX} mathbf{1}{Y le 1}$$
          and compute the expectation of the two terms separately.





          Edit for more details:



          $$E[e^{tX} mathbf{1}{Y > 1}] = E[e^{tY} mathbf{1}{Y > 1}] = int_1^infty e^{ty} f_Y(y) , dy = cdots.$$
          $$E[e^{tX} mathbf{1}{Y le 1}] = e^t E[mathbf{1}{Y le 1}] = e^t P(Y le 1) = cdots.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Could you show me how?
            $endgroup$
            – Gabi G
            Dec 10 '18 at 7:25










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59











          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%2f3033272%2ffinding-the-moment-generating-function-of-miny-1%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









          1












          $begingroup$

          The definition of the moment generating function does not require a PDF.
          $$phi_X(t) := E[e^{tX}].$$



          From here, it may be helpful to write
          $$e^{tX} = e^{tX} mathbf{1}{Y > 1} + e^{tX} mathbf{1}{Y le 1}$$
          and compute the expectation of the two terms separately.





          Edit for more details:



          $$E[e^{tX} mathbf{1}{Y > 1}] = E[e^{tY} mathbf{1}{Y > 1}] = int_1^infty e^{ty} f_Y(y) , dy = cdots.$$
          $$E[e^{tX} mathbf{1}{Y le 1}] = e^t E[mathbf{1}{Y le 1}] = e^t P(Y le 1) = cdots.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Could you show me how?
            $endgroup$
            – Gabi G
            Dec 10 '18 at 7:25










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59
















          1












          $begingroup$

          The definition of the moment generating function does not require a PDF.
          $$phi_X(t) := E[e^{tX}].$$



          From here, it may be helpful to write
          $$e^{tX} = e^{tX} mathbf{1}{Y > 1} + e^{tX} mathbf{1}{Y le 1}$$
          and compute the expectation of the two terms separately.





          Edit for more details:



          $$E[e^{tX} mathbf{1}{Y > 1}] = E[e^{tY} mathbf{1}{Y > 1}] = int_1^infty e^{ty} f_Y(y) , dy = cdots.$$
          $$E[e^{tX} mathbf{1}{Y le 1}] = e^t E[mathbf{1}{Y le 1}] = e^t P(Y le 1) = cdots.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            Could you show me how?
            $endgroup$
            – Gabi G
            Dec 10 '18 at 7:25










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59














          1












          1








          1





          $begingroup$

          The definition of the moment generating function does not require a PDF.
          $$phi_X(t) := E[e^{tX}].$$



          From here, it may be helpful to write
          $$e^{tX} = e^{tX} mathbf{1}{Y > 1} + e^{tX} mathbf{1}{Y le 1}$$
          and compute the expectation of the two terms separately.





          Edit for more details:



          $$E[e^{tX} mathbf{1}{Y > 1}] = E[e^{tY} mathbf{1}{Y > 1}] = int_1^infty e^{ty} f_Y(y) , dy = cdots.$$
          $$E[e^{tX} mathbf{1}{Y le 1}] = e^t E[mathbf{1}{Y le 1}] = e^t P(Y le 1) = cdots.$$






          share|cite|improve this answer











          $endgroup$



          The definition of the moment generating function does not require a PDF.
          $$phi_X(t) := E[e^{tX}].$$



          From here, it may be helpful to write
          $$e^{tX} = e^{tX} mathbf{1}{Y > 1} + e^{tX} mathbf{1}{Y le 1}$$
          and compute the expectation of the two terms separately.





          Edit for more details:



          $$E[e^{tX} mathbf{1}{Y > 1}] = E[e^{tY} mathbf{1}{Y > 1}] = int_1^infty e^{ty} f_Y(y) , dy = cdots.$$
          $$E[e^{tX} mathbf{1}{Y le 1}] = e^t E[mathbf{1}{Y le 1}] = e^t P(Y le 1) = cdots.$$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 10 '18 at 17:11

























          answered Dec 10 '18 at 1:00









          angryavianangryavian

          40.6k23380




          40.6k23380












          • $begingroup$
            Could you show me how?
            $endgroup$
            – Gabi G
            Dec 10 '18 at 7:25










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59


















          • $begingroup$
            Could you show me how?
            $endgroup$
            – Gabi G
            Dec 10 '18 at 7:25










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59










          • $begingroup$
            Thank you! But I think the integral needs to be from 0 to 1
            $endgroup$
            – Gabi G
            Dec 10 '18 at 11:59
















          $begingroup$
          Could you show me how?
          $endgroup$
          – Gabi G
          Dec 10 '18 at 7:25




          $begingroup$
          Could you show me how?
          $endgroup$
          – Gabi G
          Dec 10 '18 at 7:25












          $begingroup$
          Thank you! But I think the integral needs to be from 0 to 1
          $endgroup$
          – Gabi G
          Dec 10 '18 at 11:59




          $begingroup$
          Thank you! But I think the integral needs to be from 0 to 1
          $endgroup$
          – Gabi G
          Dec 10 '18 at 11:59












          $begingroup$
          Thank you! But I think the integral needs to be from 0 to 1
          $endgroup$
          – Gabi G
          Dec 10 '18 at 11:59




          $begingroup$
          Thank you! But I think the integral needs to be from 0 to 1
          $endgroup$
          – Gabi G
          Dec 10 '18 at 11:59


















          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%2f3033272%2ffinding-the-moment-generating-function-of-miny-1%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

          Quarter-circle Tiles

          build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

          Mont Emei