+ Reply to Thread
Results 1 to 4 of 4

Trend line polynomial function

  1. #1
    Registered User
    Join Date
    09-02-2014
    Location
    virginia, usa
    MS-Off Ver
    Office Professional Plus 10
    Posts
    3

    Trend line polynomial function

    Having trouble figuring out what I am missing about the trendline function as displayed on a scatter plot chart and why using the function does not generate results in line with the R2 value. Here are the details. I have the following data set:
    2331 99
    2262 96
    2259 96
    2235 94
    2175 87
    2163 85
    2067 66
    2049 62

    I scatter plot this data set, and insert a polynomial trendline, displaying the equation on the chart. Results are the function y = -0.0004x2 + 2.0072x - 2253.2 with Rē = 0.9999. Looks promising. However, when I duplicate the function as a formula to get predicted results, my answers are no where close to the original Y values. Instead, I get the following computed Y values for each X:

    2331 252.16
    2262 240.43
    2259 239.83
    2235 234.80
    2175 220.21
    2163 216.95
    2067 186.69
    2049 180.19

    What am I missing? I guess it is possible that I have made a rudimentary mistake, but I have been through it a couple of times and keep getting the same problem...
    Attached Files Attached Files
    Last edited by FFpotaters; 09-02-2014 at 03:33 PM.

  2. #2
    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: Trend line polynomial function

    You're using one significant digit for the x^2 term, which has values in the range of 4 million.

    A
    B
    C
    D
    1
    x
    y
    Fit
    2
    2331
    99
    98.96
    C2: =$A$13*A2^2 + $B$13*A2 + $C$13
    3
    2262
    96
    96.17
    4
    2259
    96
    95.96
    5
    2235
    94
    93.97
    6
    2175
    87
    86.84
    7
    2163
    85
    85.04
    8
    2067
    66
    66.23
    9
    2049
    62
    61.83
    10
    11
    12
    x^2
    x
    b
    13
    -0.00043
    2.007212
    -2253.19
    14
    7.83E-06
    0.034139
    37.17581
    15
    0.999897
    0.170569
    #N/A
    16
    24227.41
    5
    #N/A
    17
    1409.73
    0.145468
    #N/A


    Select A13:C17, paste =LINEST(B2:B9, A2:A9^{1,2}, , TRUE) in the formula bar, press and hold the Ctrl and Shift keys, then press Enter.

    The red value is R2.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    09-02-2014
    Location
    virginia, usa
    MS-Off Ver
    Office Professional Plus 10
    Posts
    3

    Re: Trend line polynomial function

    shg - super helpful. thanks. I need to read up on the linest function, but this definitely solved the computational disconnect.

  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: Trend line polynomial function

    You're welcome.

+ 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. find the trend-line coefficients for a 5th order polynomial
    By screaming13 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-05-2014, 09:33 AM
  2. Replies: 6
    Last Post: 03-14-2013, 06:32 PM
  3. forecasting data points through polynomial trend line
    By cjmonks in forum Excel General
    Replies: 1
    Last Post: 06-27-2011, 05:42 PM
  4. Trend: Logarithmic and Polynomial
    By nsd3 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-30-2009, 12:52 AM
  5. 4th order polynomial trend line coefficients
    By RJS in forum Excel General
    Replies: 3
    Last Post: 03-30-2005, 11:36 AM

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