Quadratic expansion of function with random variable, deriving random variable












0












$begingroup$


Let $mathbf{x} in mathbb{R}^M$, $b in mathbb{R}$, $q_m=b cdot e^{-x_m}$, $p_m sim Poisson(b cdot e^{-x_m})$ be a Poisson random variable and



$$E(mathbf{x})=sum_{m=1}^M (b cdot e^{-x_m}-p_m cdot log(b cdot e^{x_m}))$$



In the paper I'm reading, it says, that the quadratic expansion with respect to $mathbf{x}$ around the point $-(ln(frac{q_m}{b}))$ is



$$Q(E(mathbf{mathbf{x}}))=sum_{m=1}^M frac{1}{2} bcdot e^{-x_m}(mathbf{x}-log(frac{b}{p_m}))^2$$





But how do I get there? (First of all, I think we could simplify $-(ln(frac{q_m}{b}))=x_m$, but that won't really help, so I'll just go with $-(ln(frac{q_m}{b}))$.)
As for the quadratic expansion, the formula is:



$$Q(E)= E(mathbf{x})+frac{d}{d mathbf{x}} E(mathbf{x}) + frac{1}{2} frac{d^2}{d mathbf{x}^2} E(mathbf{x}) \$$
$$=sum_{m=1}^M E(x_m)
+frac{d}{d mathbf{x}} left( sum_{m=1}^M E(x_m)right) (mathbf{x}+ln(frac{q_m}{b})) \
+frac{1}{2} frac{d^2}{d mathbf{x}^2} left( sum_{m=1}^M E(x_m) right) (mathbf{x}+ln(frac{q_m}{b}))^2$$



But how do I go on from here? Especially, how do I treat the random variable $p_m$ when deriving $E$?
Can I assume $p_m=q_m$? I did so and got:



$$E(x_m)=sum_{m=1}^M(bcdot e^{-x_m}-bcdot e^{-x_m} log(bcdot e^{-x_m}))$$
and
$$frac{d}{d mathbf{x}} sum_{m=1}^M E(x_m)= sum_{m=1}^M bcdot e^{-x_m} log(bcdot e^{-x_m})$$
and
$$frac{d^2}{d mathbf{x}^2} sum_{m=1}^M E(x_m)= sum_{m=1}^M b cdot e^{-x_m} (log(bcdot e^{-x_m})+1)$$



(I derived each summand by the $m$th component, is this correct?)
However, putting everything together, did not give me the expression from above, so I obviously made mistakes.



I'd be thankful for any kind of help. Thank you very much. (I also posted a more detailed version of this question some days ago here, but didn't get any responses, so I decided to make the question simpler. Of course, I will delete this first question, but I'll let it stay for the time being, in case someone's interested.)










share|cite|improve this question









$endgroup$

















    0












    $begingroup$


    Let $mathbf{x} in mathbb{R}^M$, $b in mathbb{R}$, $q_m=b cdot e^{-x_m}$, $p_m sim Poisson(b cdot e^{-x_m})$ be a Poisson random variable and



    $$E(mathbf{x})=sum_{m=1}^M (b cdot e^{-x_m}-p_m cdot log(b cdot e^{x_m}))$$



    In the paper I'm reading, it says, that the quadratic expansion with respect to $mathbf{x}$ around the point $-(ln(frac{q_m}{b}))$ is



    $$Q(E(mathbf{mathbf{x}}))=sum_{m=1}^M frac{1}{2} bcdot e^{-x_m}(mathbf{x}-log(frac{b}{p_m}))^2$$





    But how do I get there? (First of all, I think we could simplify $-(ln(frac{q_m}{b}))=x_m$, but that won't really help, so I'll just go with $-(ln(frac{q_m}{b}))$.)
    As for the quadratic expansion, the formula is:



    $$Q(E)= E(mathbf{x})+frac{d}{d mathbf{x}} E(mathbf{x}) + frac{1}{2} frac{d^2}{d mathbf{x}^2} E(mathbf{x}) \$$
    $$=sum_{m=1}^M E(x_m)
    +frac{d}{d mathbf{x}} left( sum_{m=1}^M E(x_m)right) (mathbf{x}+ln(frac{q_m}{b})) \
    +frac{1}{2} frac{d^2}{d mathbf{x}^2} left( sum_{m=1}^M E(x_m) right) (mathbf{x}+ln(frac{q_m}{b}))^2$$



    But how do I go on from here? Especially, how do I treat the random variable $p_m$ when deriving $E$?
    Can I assume $p_m=q_m$? I did so and got:



    $$E(x_m)=sum_{m=1}^M(bcdot e^{-x_m}-bcdot e^{-x_m} log(bcdot e^{-x_m}))$$
    and
    $$frac{d}{d mathbf{x}} sum_{m=1}^M E(x_m)= sum_{m=1}^M bcdot e^{-x_m} log(bcdot e^{-x_m})$$
    and
    $$frac{d^2}{d mathbf{x}^2} sum_{m=1}^M E(x_m)= sum_{m=1}^M b cdot e^{-x_m} (log(bcdot e^{-x_m})+1)$$



    (I derived each summand by the $m$th component, is this correct?)
    However, putting everything together, did not give me the expression from above, so I obviously made mistakes.



    I'd be thankful for any kind of help. Thank you very much. (I also posted a more detailed version of this question some days ago here, but didn't get any responses, so I decided to make the question simpler. Of course, I will delete this first question, but I'll let it stay for the time being, in case someone's interested.)










    share|cite|improve this question









    $endgroup$















      0












      0








      0





      $begingroup$


      Let $mathbf{x} in mathbb{R}^M$, $b in mathbb{R}$, $q_m=b cdot e^{-x_m}$, $p_m sim Poisson(b cdot e^{-x_m})$ be a Poisson random variable and



      $$E(mathbf{x})=sum_{m=1}^M (b cdot e^{-x_m}-p_m cdot log(b cdot e^{x_m}))$$



      In the paper I'm reading, it says, that the quadratic expansion with respect to $mathbf{x}$ around the point $-(ln(frac{q_m}{b}))$ is



      $$Q(E(mathbf{mathbf{x}}))=sum_{m=1}^M frac{1}{2} bcdot e^{-x_m}(mathbf{x}-log(frac{b}{p_m}))^2$$





      But how do I get there? (First of all, I think we could simplify $-(ln(frac{q_m}{b}))=x_m$, but that won't really help, so I'll just go with $-(ln(frac{q_m}{b}))$.)
      As for the quadratic expansion, the formula is:



      $$Q(E)= E(mathbf{x})+frac{d}{d mathbf{x}} E(mathbf{x}) + frac{1}{2} frac{d^2}{d mathbf{x}^2} E(mathbf{x}) \$$
      $$=sum_{m=1}^M E(x_m)
      +frac{d}{d mathbf{x}} left( sum_{m=1}^M E(x_m)right) (mathbf{x}+ln(frac{q_m}{b})) \
      +frac{1}{2} frac{d^2}{d mathbf{x}^2} left( sum_{m=1}^M E(x_m) right) (mathbf{x}+ln(frac{q_m}{b}))^2$$



      But how do I go on from here? Especially, how do I treat the random variable $p_m$ when deriving $E$?
      Can I assume $p_m=q_m$? I did so and got:



      $$E(x_m)=sum_{m=1}^M(bcdot e^{-x_m}-bcdot e^{-x_m} log(bcdot e^{-x_m}))$$
      and
      $$frac{d}{d mathbf{x}} sum_{m=1}^M E(x_m)= sum_{m=1}^M bcdot e^{-x_m} log(bcdot e^{-x_m})$$
      and
      $$frac{d^2}{d mathbf{x}^2} sum_{m=1}^M E(x_m)= sum_{m=1}^M b cdot e^{-x_m} (log(bcdot e^{-x_m})+1)$$



      (I derived each summand by the $m$th component, is this correct?)
      However, putting everything together, did not give me the expression from above, so I obviously made mistakes.



      I'd be thankful for any kind of help. Thank you very much. (I also posted a more detailed version of this question some days ago here, but didn't get any responses, so I decided to make the question simpler. Of course, I will delete this first question, but I'll let it stay for the time being, in case someone's interested.)










      share|cite|improve this question









      $endgroup$




      Let $mathbf{x} in mathbb{R}^M$, $b in mathbb{R}$, $q_m=b cdot e^{-x_m}$, $p_m sim Poisson(b cdot e^{-x_m})$ be a Poisson random variable and



      $$E(mathbf{x})=sum_{m=1}^M (b cdot e^{-x_m}-p_m cdot log(b cdot e^{x_m}))$$



      In the paper I'm reading, it says, that the quadratic expansion with respect to $mathbf{x}$ around the point $-(ln(frac{q_m}{b}))$ is



      $$Q(E(mathbf{mathbf{x}}))=sum_{m=1}^M frac{1}{2} bcdot e^{-x_m}(mathbf{x}-log(frac{b}{p_m}))^2$$





      But how do I get there? (First of all, I think we could simplify $-(ln(frac{q_m}{b}))=x_m$, but that won't really help, so I'll just go with $-(ln(frac{q_m}{b}))$.)
      As for the quadratic expansion, the formula is:



      $$Q(E)= E(mathbf{x})+frac{d}{d mathbf{x}} E(mathbf{x}) + frac{1}{2} frac{d^2}{d mathbf{x}^2} E(mathbf{x}) \$$
      $$=sum_{m=1}^M E(x_m)
      +frac{d}{d mathbf{x}} left( sum_{m=1}^M E(x_m)right) (mathbf{x}+ln(frac{q_m}{b})) \
      +frac{1}{2} frac{d^2}{d mathbf{x}^2} left( sum_{m=1}^M E(x_m) right) (mathbf{x}+ln(frac{q_m}{b}))^2$$



      But how do I go on from here? Especially, how do I treat the random variable $p_m$ when deriving $E$?
      Can I assume $p_m=q_m$? I did so and got:



      $$E(x_m)=sum_{m=1}^M(bcdot e^{-x_m}-bcdot e^{-x_m} log(bcdot e^{-x_m}))$$
      and
      $$frac{d}{d mathbf{x}} sum_{m=1}^M E(x_m)= sum_{m=1}^M bcdot e^{-x_m} log(bcdot e^{-x_m})$$
      and
      $$frac{d^2}{d mathbf{x}^2} sum_{m=1}^M E(x_m)= sum_{m=1}^M b cdot e^{-x_m} (log(bcdot e^{-x_m})+1)$$



      (I derived each summand by the $m$th component, is this correct?)
      However, putting everything together, did not give me the expression from above, so I obviously made mistakes.



      I'd be thankful for any kind of help. Thank you very much. (I also posted a more detailed version of this question some days ago here, but didn't get any responses, so I decided to make the question simpler. Of course, I will delete this first question, but I'll let it stay for the time being, in case someone's interested.)







      taylor-expansion






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Jan 9 at 14:56









      M. EvansM. Evans

      257




      257






















          0






          active

          oldest

          votes











          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%2f3067534%2fquadratic-expansion-of-function-with-random-variable-deriving-random-variable%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          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%2f3067534%2fquadratic-expansion-of-function-with-random-variable-deriving-random-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

          Mario Kart Wii

          What does “Dominus providebit” mean?

          Antonio Litta Visconti Arese