Determine the mode of the gamma distribution with parameters $alpha$ and $beta$












2












$begingroup$


How do you determine the mode of a gamma distribution with parameters $alpha$ and $beta$ ? Without looking on Wikipedia.










share|cite|improve this question









$endgroup$

















    2












    $begingroup$


    How do you determine the mode of a gamma distribution with parameters $alpha$ and $beta$ ? Without looking on Wikipedia.










    share|cite|improve this question









    $endgroup$















      2












      2








      2





      $begingroup$


      How do you determine the mode of a gamma distribution with parameters $alpha$ and $beta$ ? Without looking on Wikipedia.










      share|cite|improve this question









      $endgroup$




      How do you determine the mode of a gamma distribution with parameters $alpha$ and $beta$ ? Without looking on Wikipedia.







      gamma-distribution






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked Mar 30 '17 at 6:15









      Amanda R.Amanda R.

      14019




      14019






















          1 Answer
          1






          active

          oldest

          votes


















          3












          $begingroup$

          Hint: you want to maximize $x^{alpha-1} e^{-beta x}$ over $x in (0,infty)$.



          The derivative is $e^{-beta x}[(alpha-1)x^{alpha-2} - beta x^{alpha-1}] = x^{alpha-2} e^{-beta x} (alpha-1-beta x)$, which is zero when $x= frac{alpha-1}{beta}$ or $x=0$.




          • If $alpha ge 1$, direct inspection shows that $x=0$ is not the mode, since the pdf is zero there. Thus the other critical point $frac{alpha-1}{beta}$ must be the mode.

          • If $alpha < 1$ the pdf has a positive asymptote at $x=0$. Moreover the derivative is strictly negative for all $x>0$, so it decreases from $infty$ to $0$ as $x$ goes from $0$ to $infty$.


          Thanks to JeanMarie for the clarifications.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 6:58












          • $begingroup$
            Look at the curve : It is not 0 because in 0, the pdf is 0 !
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:04










          • $begingroup$
            @JeanMarie can you please explain more
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 7:08










          • $begingroup$
            You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:22










          • $begingroup$
            @JeanMarie Thanks for the clarifications!
            $endgroup$
            – angryavian
            Mar 30 '17 at 18:43












          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%2f2209794%2fdetermine-the-mode-of-the-gamma-distribution-with-parameters-alpha-and-beta%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









          3












          $begingroup$

          Hint: you want to maximize $x^{alpha-1} e^{-beta x}$ over $x in (0,infty)$.



          The derivative is $e^{-beta x}[(alpha-1)x^{alpha-2} - beta x^{alpha-1}] = x^{alpha-2} e^{-beta x} (alpha-1-beta x)$, which is zero when $x= frac{alpha-1}{beta}$ or $x=0$.




          • If $alpha ge 1$, direct inspection shows that $x=0$ is not the mode, since the pdf is zero there. Thus the other critical point $frac{alpha-1}{beta}$ must be the mode.

          • If $alpha < 1$ the pdf has a positive asymptote at $x=0$. Moreover the derivative is strictly negative for all $x>0$, so it decreases from $infty$ to $0$ as $x$ goes from $0$ to $infty$.


          Thanks to JeanMarie for the clarifications.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 6:58












          • $begingroup$
            Look at the curve : It is not 0 because in 0, the pdf is 0 !
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:04










          • $begingroup$
            @JeanMarie can you please explain more
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 7:08










          • $begingroup$
            You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:22










          • $begingroup$
            @JeanMarie Thanks for the clarifications!
            $endgroup$
            – angryavian
            Mar 30 '17 at 18:43
















          3












          $begingroup$

          Hint: you want to maximize $x^{alpha-1} e^{-beta x}$ over $x in (0,infty)$.



          The derivative is $e^{-beta x}[(alpha-1)x^{alpha-2} - beta x^{alpha-1}] = x^{alpha-2} e^{-beta x} (alpha-1-beta x)$, which is zero when $x= frac{alpha-1}{beta}$ or $x=0$.




          • If $alpha ge 1$, direct inspection shows that $x=0$ is not the mode, since the pdf is zero there. Thus the other critical point $frac{alpha-1}{beta}$ must be the mode.

          • If $alpha < 1$ the pdf has a positive asymptote at $x=0$. Moreover the derivative is strictly negative for all $x>0$, so it decreases from $infty$ to $0$ as $x$ goes from $0$ to $infty$.


          Thanks to JeanMarie for the clarifications.






          share|cite|improve this answer











          $endgroup$













          • $begingroup$
            How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 6:58












          • $begingroup$
            Look at the curve : It is not 0 because in 0, the pdf is 0 !
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:04










          • $begingroup$
            @JeanMarie can you please explain more
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 7:08










          • $begingroup$
            You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:22










          • $begingroup$
            @JeanMarie Thanks for the clarifications!
            $endgroup$
            – angryavian
            Mar 30 '17 at 18:43














          3












          3








          3





          $begingroup$

          Hint: you want to maximize $x^{alpha-1} e^{-beta x}$ over $x in (0,infty)$.



          The derivative is $e^{-beta x}[(alpha-1)x^{alpha-2} - beta x^{alpha-1}] = x^{alpha-2} e^{-beta x} (alpha-1-beta x)$, which is zero when $x= frac{alpha-1}{beta}$ or $x=0$.




          • If $alpha ge 1$, direct inspection shows that $x=0$ is not the mode, since the pdf is zero there. Thus the other critical point $frac{alpha-1}{beta}$ must be the mode.

          • If $alpha < 1$ the pdf has a positive asymptote at $x=0$. Moreover the derivative is strictly negative for all $x>0$, so it decreases from $infty$ to $0$ as $x$ goes from $0$ to $infty$.


          Thanks to JeanMarie for the clarifications.






          share|cite|improve this answer











          $endgroup$



          Hint: you want to maximize $x^{alpha-1} e^{-beta x}$ over $x in (0,infty)$.



          The derivative is $e^{-beta x}[(alpha-1)x^{alpha-2} - beta x^{alpha-1}] = x^{alpha-2} e^{-beta x} (alpha-1-beta x)$, which is zero when $x= frac{alpha-1}{beta}$ or $x=0$.




          • If $alpha ge 1$, direct inspection shows that $x=0$ is not the mode, since the pdf is zero there. Thus the other critical point $frac{alpha-1}{beta}$ must be the mode.

          • If $alpha < 1$ the pdf has a positive asymptote at $x=0$. Moreover the derivative is strictly negative for all $x>0$, so it decreases from $infty$ to $0$ as $x$ goes from $0$ to $infty$.


          Thanks to JeanMarie for the clarifications.







          share|cite|improve this answer














          share|cite|improve this answer



          share|cite|improve this answer








          edited Mar 30 '17 at 18:43

























          answered Mar 30 '17 at 6:21









          angryavianangryavian

          42.5k23481




          42.5k23481












          • $begingroup$
            How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 6:58












          • $begingroup$
            Look at the curve : It is not 0 because in 0, the pdf is 0 !
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:04










          • $begingroup$
            @JeanMarie can you please explain more
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 7:08










          • $begingroup$
            You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:22










          • $begingroup$
            @JeanMarie Thanks for the clarifications!
            $endgroup$
            – angryavian
            Mar 30 '17 at 18:43


















          • $begingroup$
            How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 6:58












          • $begingroup$
            Look at the curve : It is not 0 because in 0, the pdf is 0 !
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:04










          • $begingroup$
            @JeanMarie can you please explain more
            $endgroup$
            – Amanda R.
            Mar 30 '17 at 7:08










          • $begingroup$
            You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
            $endgroup$
            – Jean Marie
            Mar 30 '17 at 7:22










          • $begingroup$
            @JeanMarie Thanks for the clarifications!
            $endgroup$
            – angryavian
            Mar 30 '17 at 18:43
















          $begingroup$
          How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
          $endgroup$
          – Amanda R.
          Mar 30 '17 at 6:58






          $begingroup$
          How do we know it is zero when $x=frac{alpha-1}{beta}$ or $x=0$. Zero is not the mode because $x>0$ correct?
          $endgroup$
          – Amanda R.
          Mar 30 '17 at 6:58














          $begingroup$
          Look at the curve : It is not 0 because in 0, the pdf is 0 !
          $endgroup$
          – Jean Marie
          Mar 30 '17 at 7:04




          $begingroup$
          Look at the curve : It is not 0 because in 0, the pdf is 0 !
          $endgroup$
          – Jean Marie
          Mar 30 '17 at 7:04












          $begingroup$
          @JeanMarie can you please explain more
          $endgroup$
          – Amanda R.
          Mar 30 '17 at 7:08




          $begingroup$
          @JeanMarie can you please explain more
          $endgroup$
          – Amanda R.
          Mar 30 '17 at 7:08












          $begingroup$
          You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
          $endgroup$
          – Jean Marie
          Mar 30 '17 at 7:22




          $begingroup$
          You are looking for a mode: it is necessarily a values of $x$ such that the pdf f(x) has a $>0$ value. In $0$ it has a zero value at least for the cases $alpha>1$ (for the other cases, one cannat speak about a mode because the pdf has a vertical asymptote.
          $endgroup$
          – Jean Marie
          Mar 30 '17 at 7:22












          $begingroup$
          @JeanMarie Thanks for the clarifications!
          $endgroup$
          – angryavian
          Mar 30 '17 at 18:43




          $begingroup$
          @JeanMarie Thanks for the clarifications!
          $endgroup$
          – angryavian
          Mar 30 '17 at 18:43


















          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%2f2209794%2fdetermine-the-mode-of-the-gamma-distribution-with-parameters-alpha-and-beta%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

          MongoDB - Not Authorized To Execute Command

          in spring boot 2.1 many test slices are not allowed anymore due to multiple @BootstrapWith

          Npm cannot find a required file even through it is in the searched directory