Moment generating function of a binary variable












0












$begingroup$


We have a set of Random Variables $Y_i$ which takes the value $alpha$ with probability $(1-p)$ and takes the value $1-alpha$ with a probability of $p$.



We have been tasked with finding the Moment Generating Function (and the Cumulant Generating Function) of the sample mean of $Y_i$ (ie $S_N=frac{1}{N}sum^{N}_{i=0}Y_i$)



Knowing that I can simply use the formula:



$M_{S_N}(t)=[M_{Y_i}(frac{t}{N})]^N$



I just need to find the MGF of $Y_i$. However, I am having issues obtaining it's pdf and trying to get it into a nice form. I have tried defining it as:



$P(Y_i=y)=(1-p)delta_{y,alpha} + pdelta_{y,(1-alpha)}$



But still can't get the pdf into a usable form.










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    We have a set of Random Variables $Y_i$ which takes the value $alpha$ with probability $(1-p)$ and takes the value $1-alpha$ with a probability of $p$.



    We have been tasked with finding the Moment Generating Function (and the Cumulant Generating Function) of the sample mean of $Y_i$ (ie $S_N=frac{1}{N}sum^{N}_{i=0}Y_i$)



    Knowing that I can simply use the formula:



    $M_{S_N}(t)=[M_{Y_i}(frac{t}{N})]^N$



    I just need to find the MGF of $Y_i$. However, I am having issues obtaining it's pdf and trying to get it into a nice form. I have tried defining it as:



    $P(Y_i=y)=(1-p)delta_{y,alpha} + pdelta_{y,(1-alpha)}$



    But still can't get the pdf into a usable form.










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      We have a set of Random Variables $Y_i$ which takes the value $alpha$ with probability $(1-p)$ and takes the value $1-alpha$ with a probability of $p$.



      We have been tasked with finding the Moment Generating Function (and the Cumulant Generating Function) of the sample mean of $Y_i$ (ie $S_N=frac{1}{N}sum^{N}_{i=0}Y_i$)



      Knowing that I can simply use the formula:



      $M_{S_N}(t)=[M_{Y_i}(frac{t}{N})]^N$



      I just need to find the MGF of $Y_i$. However, I am having issues obtaining it's pdf and trying to get it into a nice form. I have tried defining it as:



      $P(Y_i=y)=(1-p)delta_{y,alpha} + pdelta_{y,(1-alpha)}$



      But still can't get the pdf into a usable form.










      share|cite|improve this question









      $endgroup$




      We have a set of Random Variables $Y_i$ which takes the value $alpha$ with probability $(1-p)$ and takes the value $1-alpha$ with a probability of $p$.



      We have been tasked with finding the Moment Generating Function (and the Cumulant Generating Function) of the sample mean of $Y_i$ (ie $S_N=frac{1}{N}sum^{N}_{i=0}Y_i$)



      Knowing that I can simply use the formula:



      $M_{S_N}(t)=[M_{Y_i}(frac{t}{N})]^N$



      I just need to find the MGF of $Y_i$. However, I am having issues obtaining it's pdf and trying to get it into a nice form. I have tried defining it as:



      $P(Y_i=y)=(1-p)delta_{y,alpha} + pdelta_{y,(1-alpha)}$



      But still can't get the pdf into a usable form.







      statistics binomial-coefficients moment-generating-functions






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Dec 11 '18 at 2:04









      ASRASR

      11




      11






















          1 Answer
          1






          active

          oldest

          votes


















          0












          $begingroup$

          Why is this difficult? You simply apply the definition:



          $$M_{Y_i}(t) = operatorname{E}[e^{tY_i}] = e^{talpha} Pr[Y_i = alpha] + e^{t(1-alpha)}Pr[Y_i = 1-alpha] = e^{talpha} (1-p) + e^{t(1-alpha)}p.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
            $endgroup$
            – ASR
            Dec 11 '18 at 2:19











          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%2f3034775%2fmoment-generating-function-of-a-binary-variable%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









          0












          $begingroup$

          Why is this difficult? You simply apply the definition:



          $$M_{Y_i}(t) = operatorname{E}[e^{tY_i}] = e^{talpha} Pr[Y_i = alpha] + e^{t(1-alpha)}Pr[Y_i = 1-alpha] = e^{talpha} (1-p) + e^{t(1-alpha)}p.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
            $endgroup$
            – ASR
            Dec 11 '18 at 2:19
















          0












          $begingroup$

          Why is this difficult? You simply apply the definition:



          $$M_{Y_i}(t) = operatorname{E}[e^{tY_i}] = e^{talpha} Pr[Y_i = alpha] + e^{t(1-alpha)}Pr[Y_i = 1-alpha] = e^{talpha} (1-p) + e^{t(1-alpha)}p.$$






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
            $endgroup$
            – ASR
            Dec 11 '18 at 2:19














          0












          0








          0





          $begingroup$

          Why is this difficult? You simply apply the definition:



          $$M_{Y_i}(t) = operatorname{E}[e^{tY_i}] = e^{talpha} Pr[Y_i = alpha] + e^{t(1-alpha)}Pr[Y_i = 1-alpha] = e^{talpha} (1-p) + e^{t(1-alpha)}p.$$






          share|cite|improve this answer











          $endgroup$



          Why is this difficult? You simply apply the definition:



          $$M_{Y_i}(t) = operatorname{E}[e^{tY_i}] = e^{talpha} Pr[Y_i = alpha] + e^{t(1-alpha)}Pr[Y_i = 1-alpha] = e^{talpha} (1-p) + e^{t(1-alpha)}p.$$







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Dec 11 '18 at 2:51

























          answered Dec 11 '18 at 2:08









          heropupheropup

          63.9k762102




          63.9k762102












          • $begingroup$
            So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
            $endgroup$
            – ASR
            Dec 11 '18 at 2:19


















          • $begingroup$
            So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
            $endgroup$
            – ASR
            Dec 11 '18 at 2:19
















          $begingroup$
          So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
          $endgroup$
          – ASR
          Dec 11 '18 at 2:19




          $begingroup$
          So I reached this answer too, however my problem actually arose when obtaining the Cumulant Generating Function of $S_N$. My teacher has told me I should not be left with any logs when I simplify the equation, but with this MGF it seems impossible- so I thought the MGF might be wrong. I am pretty sure the teacher is just messing with me but just wanted to check (I really should have been clearer in my question, sorry)
          $endgroup$
          – ASR
          Dec 11 '18 at 2:19


















          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%2f3034775%2fmoment-generating-function-of-a-binary-variable%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

          Plaza Victoria

          Puebla de Zaragoza

          Musa