+ Reply to Thread
Results 1 to 6 of 6

Calculating a slope by the function and graph on a semi-log graph

  1. #1
    Registered User
    Join Date
    02-20-2014
    Location
    seattle
    MS-Off Ver
    Excel 2013
    Posts
    4

    Calculating a slope by the function and graph on a semi-log graph

    Hello,

    I am trying to calculate the slope of the following data:
    Y X
    0.00061000/0.00264445
    0.00114000/0.00263054
    0.00222000/0.00260994
    0.00412000/0.00258967
    0.00758000/0.00256970

    On a semi-log graph (Y-log) by the slope function: Slope = (log(Y2)-log(Y1))/(X2-X1)
    And, also by the graph. However, I am finding unmatched values! (-33074 by the graph and -14639 by the function)

    Any help will be appreciate it.

    Thanks

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,460

    Re: Calculating a slope by the function and graph on a semi-log graph

    I note that, if I plot and regress based on common log (log10), then I get m=-14364. If I regress on natural log (ln() or loge), then I get m=-33075. I am guessing that in one case Excel is using common log and the other is using natural log. Whichever one you decide is "the correct" way to express it, make sure you are clear which base you are using.
    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
    02-20-2014
    Location
    seattle
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Calculating a slope by the function and graph on a semi-log graph

    Dear MrShorty,

    Thank you for your quick replay and clarification. I can know what the base of the log in the function, but how can I check that in the plot?

    Thank you for your help again.

  4. #4
    Registered User
    Join Date
    02-20-2014
    Location
    seattle
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Calculating a slope by the function and graph on a semi-log graph

    Please find attached the pic of the graph. The base of the log used in the plot is 10, but the slope in the equ. is -33074 not 14364!
    Any advise?

    Thanks
    Attached Images Attached Images

  5. #5
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,460

    Re: Calculating a slope by the function and graph on a semi-log graph

    The given equation is of the form y=Ae^(Bx). Since e is the base for natural logs, that indicates that Excel did the regression using natural logs. If it had used common logs, the equation would have been y=A*10^(Bx).

  6. #6
    Registered User
    Join Date
    02-20-2014
    Location
    seattle
    MS-Off Ver
    Excel 2013
    Posts
    4

    Re: Calculating a slope by the function and graph on a semi-log graph

    MrShort,

    Thanks a lot for your help.

+ 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. [SOLVED] How to add slope formula to graph
    By jessrand in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-29-2006, 08:00 PM
  2. how do I find the slope of a graph?
    By El - Raj in forum Excel General
    Replies: 2
    Last Post: 01-22-2006, 10:55 PM
  3. Slope of graph?
    By LJ555555 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 09-27-2005, 10:05 AM
  4. [SOLVED] Need to get slope of peaks on excel graph
    By Capillod in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-13-2005, 01:06 PM

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