Truncation of infinite summation involving a probability mass function












1












$begingroup$


Suppose we want to compute an infinite sum of the form $S := sum_{x=0}^infty f(x)p(x)$ within a tolerance error $epsilon$, where $f : mathcal{X} to mathbb{R}^+$ is some functional of interest and $p(x)$ is a probability mass function. For convenience, write $S = S_b + S_a$.



If $g(x) := f(x)p(x)$ achieves a single maximum, $g(n^star)$, I claim one can use some standard results on infinite series (e.g. the ones presented here) to approximate $S_a = sum_{k = n^star +1}^infty g(k)$ by exploiting the fact that for $n > n^star$ we have a sequence which is positive, decreasing with $r_n:= g(n+1)/g(n)$ such that $lim_{ntoinfty} r_n = 0$. If we define $z_n = frac{g(n + 1)}{1 - r_n}$ $-$ see equation (2) in the linked notes $-$, I think we can finally claim that there exists $n^prime(epsilon)$ such that
$$ left|S - left(S_b + S_{n'} + frac{z_{n'}}{2}right)right| < epsilon, $$
where $S_b := sum_{k= 0}^{n^star} g(k)$ and $S_{n^prime}:= sum_{j= n^star}^{n^prime} g(j)$.



Questions:




  1. I couldn't find these calculations anywhere on the web, suggesting it's not in the toolkit of statisticians. Is this technique useful in general or is the restriction of a single maximum a bit much?

  2. Is there a more general solution along the same lines that relaxes these assumptions (positivity of $f$ and the concavity of $pf$)?










share|cite|improve this question











$endgroup$

















    1












    $begingroup$


    Suppose we want to compute an infinite sum of the form $S := sum_{x=0}^infty f(x)p(x)$ within a tolerance error $epsilon$, where $f : mathcal{X} to mathbb{R}^+$ is some functional of interest and $p(x)$ is a probability mass function. For convenience, write $S = S_b + S_a$.



    If $g(x) := f(x)p(x)$ achieves a single maximum, $g(n^star)$, I claim one can use some standard results on infinite series (e.g. the ones presented here) to approximate $S_a = sum_{k = n^star +1}^infty g(k)$ by exploiting the fact that for $n > n^star$ we have a sequence which is positive, decreasing with $r_n:= g(n+1)/g(n)$ such that $lim_{ntoinfty} r_n = 0$. If we define $z_n = frac{g(n + 1)}{1 - r_n}$ $-$ see equation (2) in the linked notes $-$, I think we can finally claim that there exists $n^prime(epsilon)$ such that
    $$ left|S - left(S_b + S_{n'} + frac{z_{n'}}{2}right)right| < epsilon, $$
    where $S_b := sum_{k= 0}^{n^star} g(k)$ and $S_{n^prime}:= sum_{j= n^star}^{n^prime} g(j)$.



    Questions:




    1. I couldn't find these calculations anywhere on the web, suggesting it's not in the toolkit of statisticians. Is this technique useful in general or is the restriction of a single maximum a bit much?

    2. Is there a more general solution along the same lines that relaxes these assumptions (positivity of $f$ and the concavity of $pf$)?










    share|cite|improve this question











    $endgroup$















      1












      1








      1





      $begingroup$


      Suppose we want to compute an infinite sum of the form $S := sum_{x=0}^infty f(x)p(x)$ within a tolerance error $epsilon$, where $f : mathcal{X} to mathbb{R}^+$ is some functional of interest and $p(x)$ is a probability mass function. For convenience, write $S = S_b + S_a$.



      If $g(x) := f(x)p(x)$ achieves a single maximum, $g(n^star)$, I claim one can use some standard results on infinite series (e.g. the ones presented here) to approximate $S_a = sum_{k = n^star +1}^infty g(k)$ by exploiting the fact that for $n > n^star$ we have a sequence which is positive, decreasing with $r_n:= g(n+1)/g(n)$ such that $lim_{ntoinfty} r_n = 0$. If we define $z_n = frac{g(n + 1)}{1 - r_n}$ $-$ see equation (2) in the linked notes $-$, I think we can finally claim that there exists $n^prime(epsilon)$ such that
      $$ left|S - left(S_b + S_{n'} + frac{z_{n'}}{2}right)right| < epsilon, $$
      where $S_b := sum_{k= 0}^{n^star} g(k)$ and $S_{n^prime}:= sum_{j= n^star}^{n^prime} g(j)$.



      Questions:




      1. I couldn't find these calculations anywhere on the web, suggesting it's not in the toolkit of statisticians. Is this technique useful in general or is the restriction of a single maximum a bit much?

      2. Is there a more general solution along the same lines that relaxes these assumptions (positivity of $f$ and the concavity of $pf$)?










      share|cite|improve this question











      $endgroup$




      Suppose we want to compute an infinite sum of the form $S := sum_{x=0}^infty f(x)p(x)$ within a tolerance error $epsilon$, where $f : mathcal{X} to mathbb{R}^+$ is some functional of interest and $p(x)$ is a probability mass function. For convenience, write $S = S_b + S_a$.



      If $g(x) := f(x)p(x)$ achieves a single maximum, $g(n^star)$, I claim one can use some standard results on infinite series (e.g. the ones presented here) to approximate $S_a = sum_{k = n^star +1}^infty g(k)$ by exploiting the fact that for $n > n^star$ we have a sequence which is positive, decreasing with $r_n:= g(n+1)/g(n)$ such that $lim_{ntoinfty} r_n = 0$. If we define $z_n = frac{g(n + 1)}{1 - r_n}$ $-$ see equation (2) in the linked notes $-$, I think we can finally claim that there exists $n^prime(epsilon)$ such that
      $$ left|S - left(S_b + S_{n'} + frac{z_{n'}}{2}right)right| < epsilon, $$
      where $S_b := sum_{k= 0}^{n^star} g(k)$ and $S_{n^prime}:= sum_{j= n^star}^{n^prime} g(j)$.



      Questions:




      1. I couldn't find these calculations anywhere on the web, suggesting it's not in the toolkit of statisticians. Is this technique useful in general or is the restriction of a single maximum a bit much?

      2. Is there a more general solution along the same lines that relaxes these assumptions (positivity of $f$ and the concavity of $pf$)?







      probability summation numerical-methods truncation-error






      share|cite|improve this question















      share|cite|improve this question













      share|cite|improve this question




      share|cite|improve this question








      edited Dec 11 '18 at 11:08







      Luiz Max Carvalho

















      asked Oct 29 '18 at 21:53









      Luiz Max CarvalhoLuiz Max Carvalho

      1019




      1019






















          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%2f2976744%2ftruncation-of-infinite-summation-involving-a-probability-mass-function%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%2f2976744%2ftruncation-of-infinite-summation-involving-a-probability-mass-function%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

          Bundesstraße 106

          Ida-Boy-Ed-Garten

          Le Mesnil-Réaume