+ Reply to Thread
Results 1 to 12 of 12

Lognormal plot

  1. #1
    Registered User
    Join Date
    06-23-2017
    Location
    Rome
    MS-Off Ver
    15.34
    Posts
    5

    Lognormal plot

    Hello everybody.
    How can i plot a lognormal distribution in Excel knowing ONLY mu and sigma (i mean the parameters).
    I do not have any other information or data in the sheet.
    Thanks to all.

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

    Re: Lognormal plot

    By using the built in LOGNORM.DIST() or LOGNORMDIST() function: https://support.office.com/en-us/art...rs=en-US&ad=US
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Registered User
    Join Date
    06-23-2017
    Location
    Rome
    MS-Off Ver
    15.34
    Posts
    5

    Re: Lognormal plot

    I already tried but it does not work. I do not have the value of x to evaluate the function. What should i set?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Lognormal plot

    Use a range of values that straddles the area of interest ...

    A
    B
    C
    D
    1
    mu
    0
    2
    sigma
    0.25
    3
    4
    x
    PDF
    PDF
    5
    0.3
    0.00005
    0.00005
    B5: =1 / (A5 * sigma * SQRT(2*PI())) * EXP(-((LN(A5) - mu)^2 / (2 * sigma ^2)))
    6
    0.4
    0.00483
    0.00483
    C5: =LOGNORM.DIST(A5, mu, sigma, FALSE)
    7
    0.5
    0.06835
    0.06835
    8
    0.6
    0.32977
    0.32977
    9
    0.7
    0.82390
    0.82390
    10
    0.8
    1.33931
    1.33931
    11
    0.9
    1.62241
    1.62241
    12
    1.0
    1.59577
    1.59577
    13
    1.1
    1.34901
    1.34901
    14
    1.2
    1.01929
    1.01929
    15
    1.3
    0.70773
    0.70773
    16
    1.4
    0.46078
    0.46078
    17
    1.5
    0.28555
    0.28555
    18
    1.6
    0.17035
    0.17035
    19
    1.7
    0.09869
    0.09869
    20
    1.8
    0.05589
    0.05589
    21
    1.9
    0.03111
    0.03111
    22
    2.0
    0.01709
    0.01709
    Entia non sunt multiplicanda sine necessitate

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

    Re: Lognormal plot

    What do you mean by "it does not work"? Are you getting errors? wrong values?

    I am not familiar enough with the lognormal distribution to know what typical values of x should be. I would expect you to pick reasonable values for x and evaluate the function at those values for x, then create a scatter chart based on those values:
    Please Login or Register  to view this content.
    Select A2:B100 and insert scatter chart.

  6. #6
    Registered User
    Join Date
    06-23-2017
    Location
    Rome
    MS-Off Ver
    15.34
    Posts
    5

    Re: Lognormal plot

    I need a graph! Not the values or the frequencies. It is a parametric estimation of a certain distribution for which i have only mu and sigma. Is there any possibilities to get the graph inserting only these 2 parameters?

  7. #7
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Lognormal plot

    What would you do if you needed a graph of sin(x)?

  8. #8
    Registered User
    Join Date
    06-23-2017
    Location
    Rome
    MS-Off Ver
    15.34
    Posts
    5

    Re: Lognormal plot

    If i were an expert i wouldn't have posted a thread on here, right? Using that formula it generates a value in a cell that i do not know how to use. Does it exist a way of graphing directly what i need?

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

    Re: Lognormal plot

    Not sure I understand the question.

    By far (IMO) the easiest way to create any graph/chart in Excel is to:
    1) Build a table of values like shg and I have both illustrated, then
    2) Build a chart based on that table of values.

    If your question is "Is there a way to build a chart without building the table first?", yes I'm sure it is possible. However, it is generally more difficult than building the table in the spreadsheet that I never use those techniques. I would have to have a very compelling reason not to build the table first.

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Lognormal plot

    See http://www.excel-easy.com/examples/scatter-chart.html for an example of how to insert a scatter chart.

  11. #11
    Registered User
    Join Date
    06-23-2017
    Location
    Rome
    MS-Off Ver
    15.34
    Posts
    5

    Re: Lognormal plot

    I keep getting strange stuff.. the graph after having generated the tables does not look like a lognormal whatsoever.

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

    Re: Lognormal plot

    Not sure we can help debug without something more to work with. What does the graph look like? What did you expect? What are the values in the table? Do the values plotted in the graph match the values in the table or not? Do the values in the table look correct?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Lognormal Distribution
    By DHH in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-21-2013, 07:12 AM
  2. Lognormal calculation in excel
    By Kaka220066 in forum Excel General
    Replies: 0
    Last Post: 04-19-2012, 02:32 AM
  3. lognormal distributions
    By zurich in forum Excel General
    Replies: 4
    Last Post: 12-05-2011, 03:38 PM
  4. Lognormal distribution
    By byersj01 in forum Excel General
    Replies: 1
    Last Post: 02-14-2011, 05:21 PM
  5. Return value of lognormal distribuition
    By Gareth Keenan in forum Excel General
    Replies: 2
    Last Post: 11-14-2010, 03:27 PM
  6. lognormal distribution function
    By remy.nz in forum Excel General
    Replies: 1
    Last Post: 01-28-2010, 04:24 AM
  7. Generate a lognormal distribution
    By Adrian T in forum Excel General
    Replies: 1
    Last Post: 06-27-2006, 07:50 PM

Tags for this Thread

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