+ Reply to Thread
Results 1 to 3 of 3

Gamma - find peak

  1. #1
    Registered User
    Join Date
    11-02-2012
    Location
    Cheltenham
    MS-Off Ver
    Excel 2010
    Posts
    1

    Gamma - find peak

    Hi,

    I'm after finding out if anyone knows how to find the peak value of a gamma distribution. As you will know the gamma value at 0.5 probability if positively skewed will be higher than the peak point of a curve.

    I'm trying to figure out how to quantitatively represent the peak value, or most likely value of the distribution.

    Thanks in advance.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Gamma - find peak

    As you will know the gamma value at 0.5 probability if positively skewed will be higher than the peak point of a curve
    wanna bet?
    however maybe
    http://www.youtube.com/watch?v=SAMTXAAKeug
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,829

    Re: Gamma - find peak

    I don't use the gamma distribution myself. But, as with almost any function, one of the things I expect you learned in calculus is that finding the maximum (or minimum) of a function is the same thing as finding the root(s) of the 1st derivative. For something like the gamma distribution, though, it is hard enough to find the expression for the function, let alone trying to find an expression for the 1st derivative. If I were programming this for myself, I'd probably use numerical derivatives.

    I'm assuming you are aware of the gamma.dist function (shown a little in martindwilson's link). http://office.microsoft.com/en-us/ma...714.aspx?CTT=1 IMO, the easiest way (in Excel) to find the max of something like the gamma distribution will be to use the built in Solver utility. Set up a spreadsheet to calculate G(x) at a given alpha and beta and some "guess" at x (0.5 seems like a good first guess). Then call Solver and tell it to "set target cell" G(x) "to a maximum" "by changing" x.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1