+ Reply to Thread
Results 1 to 8 of 8

Thread: lognormal

  1. #1
    Points: 1,178, Level: 18
    Level completed: 78%, Points required for next Level: 22

    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    lognormal



    How do I find the p50 value in a lognormal distribution given p10 and p90 using excel/@RISK ??

  2. #2
    Points: 2,198, Level: 28
    Level completed: 32%, Points required for next Level: 102

    Posts
    275
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: lognormal

    e^{\frac{ln(p_{90})+ln(p_{10})}{2}}

    Basically, take the average the logarithms of the 10th and 90th percentiles, then take e to that power.

  3. #3
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: lognormal

    Nice answer.

  4. #4
    TS Contributor
    Points: 14,862, Level: 79
    Level completed: 3%, Points required for next Level: 488

    Posts
    2,304
    Thanks
    8
    Thanked 373 Times in 352 Posts

    Re: lognormal

    Quote Originally Posted by squareandrare View Post
    e^{\frac{ln(p_{90})+ln(p_{10})}{2}}

    Basically, take the average the logarithms of the 10th and 90th percentiles, then take e to that power.
    Which is also the geometric mean \sqrt{p_{90}p_{10}}

  5. #5
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: lognormal

    Good point BGM. But I still like squareandrare's answer because it can shed some light on the process of how to figure it out yourself.

  6. #6
    Points: 2,198, Level: 28
    Level completed: 32%, Points required for next Level: 102

    Posts
    275
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: lognormal

    I actually got a lot further in this problem than I needed to.

    I took the cdf for the lognormal from wikipedia:

    F_X(x;\mu{},\sigma{}) = \Phi{}\left({}\frac{ln(x)-\mu{}}{\sigma{}}\right){}

    I set up this system of equations:

    \Phi{}\left({}\frac{ln(p_{90})-\mu{}}{\sigma{}}\right){}=.9
    \Phi{}\left({}\frac{ln(p_{10})-\mu{}}{\sigma{}}\right){}=.1

    Therefore:

    \frac{ln(p_{90})-\mu{}}{\sigma{}}=\Phi{}^{-1}(.9)=-\Phi{}^{-1}(.1)\approx{}1.2816
    \frac{ln(p_{10})-\mu{}}{\sigma{}}=\Phi{}^{-1}(.1)=-\Phi{}^{-1}(.9)\approx{}-1.2816

    I solved for \mu{} and \sigma{}:

    \mu{}=\frac{ln(p_{10})+ln(p_{90})}{2}
    \sigma{}=\frac{ln(p_{90})-\frac{ln(p_{10})+ln(p_{90})}{2}}{\Phi{}^{-1}(.9)}=\frac{ln(p_{10})-\frac{ln(p_{10})+ln(p_{90})}{2}}{\Phi{}^{-1}(.1)}

    I started to plug \mu{} and \sigma{} into the cdf, setting it equal to .5. Then the answer suddenly hit me...

    The logarithm function is monotonic. Therefore, the median of the normal distribution with parameters \mu{} and \sigma{} will be the logarithm of the median of the lognormal distribution with parameters \mu{} and \sigma{} (remember that normal distributions are symmetric, so the mean and median are both equal to \mu{}).

    Thus, the median for the lognormal distribution is:

    e^{\mu{}}=e^{\frac{ln(p_{10})+ln(p_{90})}{2}}

    Then the logic of the formula made sense. The 10th and 90th percentiles are symmetric about the mean of any normal distribution, so the average of the logarithms of the 10th and 90th percentiles of the lognormal distribution with parameters \mu{} and \sigma{} must be equal to the mean (and median, by symmetry) of the normal distribution with parameters \mu{} and \sigma{}. To find the median of the lognormal distribution with parameters \mu{} and \sigma{}, you just need to take the antilog of \mu{}.

    It didn't occur to me that e^{\frac{ln(p_{10})+ln(p_{90})}{2}} can be simplified to \sqrt{p_{90}p_{10}}. Good catch, BGM.
    Last edited by squareandrare; 01-15-2011 at 02:57 AM.

  7. #7
    RotParaTon
    Points: 46,287, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Awards:
    Discussion EnderPosting AwardFrequent PosterCommunity AwardMaster Tagger
    Dason's Avatar
    Location
    Ames, IA
    Posts
    9,083
    Thanks
    211
    Thanked 1,609 Times in 1,379 Posts

    Re: lognormal

    Quote Originally Posted by squareandrare View Post
    The logarithm function is monotonic. Therefore, the median of the normal distribution with parameters \mu{} and \sigma{} will be the logarithm of the median of the lognormal distribution with the same parameters for \mu{} and \sigma{} (remember that the mean and median are equal in normal distributions).
    Exactly. That's why I liked your answer. My initial thought was to do something similar to what you set up. Then when I saw your answer it made sense. Because of the monotonicity we can take logs of the percentiles to get back to a normal distribution. Since the normal is symmetric we can average the 10th and 90th percentile to get the 50th percentile and this will be the same as the mean. Once again by the monotonicity just backtransform. It's all there in your answer. BGM is right in that we could simplify it to the geometric mean but like I said I think the form of your answer sheds some light on the situation.

  8. #8
    TS Contributor
    Points: 14,862, Level: 79
    Level completed: 3%, Points required for next Level: 488

    Posts
    2,304
    Thanks
    8
    Thanked 373 Times in 352 Posts

    Re: lognormal


    Yes I totally agree that using the normal distribution is the most natural way
    to tackle the problem, because we are much more familiar with the properties
    of the normal distribution

    The geometric mean is just a little point to add that there is some analogy
    from the lognormal distribution.

+ Reply to Thread

Similar Threads

  1. normal VS lognormal
    By sed in forum Statistics
    Replies: 2
    Last Post: 01-31-2010, 05:29 PM
  2. Lognormal distribuiton
    By PeterVincent in forum Statistics
    Replies: 4
    Last Post: 11-03-2009, 02:58 PM
  3. MGF of lognormal distribution
    By zulkfal in forum Statistics
    Replies: 2
    Last Post: 10-08-2009, 12:46 PM
  4. Lognormal distribution
    By Her89 in forum Statistics
    Replies: 0
    Last Post: 10-14-2007, 08:30 AM
  5. Lognormal distribution
    By Naomikreinz in forum Probability
    Replies: 0
    Last Post: 11-13-2006, 01:34 AM

Posting Permissions

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








Advertise on Talk Stats