+ Reply to Thread
Results 1 to 2 of 2

Producing a Quartic from points

  1. #1
    Registered User
    Join Date
    03-10-2019
    Location
    Gold Coast, Australia
    MS-Off Ver
    2013
    Posts
    1

    Producing a Quartic from points

    Hi Everyone,

    for a maths assignment, I had to model an equation based off of points in an equation. I have to model both a quadratic equation and a quartic equation.

    The issue is here, I was able to successfully produce a quadratic equation through excel by plotting the points on a scatter plot, inserting a polynomial and changing the Order to 2.

    I repeated this process for the quartic, but with the order to 4.

    This produced the following equation:
    y = -3E-08x4 + 1E-05x3 - 0.0081x2 + 1.5906x + 0.3084
    I substituted x values that i had already obtained to determine the y value at the certain x value, it turned out the equation produced a completely different curve to what it should of.

    Excel says the quartic has an R^2 value of 0.993 and the R^2 value of the quadratic formula is 0.983, which is a much more innacurate curve.

    Why does it have a higher R^2 value, where it only intercepts half of the points?


    For more context please see the attachment
    Attached Images Attached Images

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

    Re: Producing a Quartic from points

    Based solely on the picture, I cannot say why your quartic is not better. As a guess, the most common mistake people make in these cases is assuming that the coefficients reported by the chart trendline are exact (for example, the first term is exactly -3.0000000000E-8x^4). Of course, for convenience, Excel is only showing the paremeters to one or 2 significant figures, but the exact calculation is a 15 digit number. Try formatting the trendline equation to show more digits (maybe a format of 0.0000000E+0) to make sure you are getting more precision when you transfer the coefficients into the spreadsheet.

    If this is something you are going to do frequently, you may find that it is preferable to perform you polynomial regressions directly in the spreadsheet using the LINEST() function. Help file -- note the cubic polynomial example given towards the end of the "Remarks" section: https://support.office.com/en-us/art...a-fa7abf772b6d

    If your problem to be something different please describe in more detail exactly how you are calculating the plotted values for the quartic equation.
    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)

Similar Threads

  1. [SOLVED] Generate internal grid points from 4 corner points
    By kersplash in forum Excel General
    Replies: 11
    Last Post: 02-20-2018, 03:00 PM
  2. Fill points using interpolating closet two points
    By NG7267 in forum Excel General
    Replies: 8
    Last Post: 06-30-2016, 12:55 AM
  3. Replies: 5
    Last Post: 08-05-2015, 06:18 PM
  4. Undo Quartic Root
    By John Bates in forum Excel General
    Replies: 5
    Last Post: 02-17-2015, 11:34 PM
  5. Color chart data points/marker points vba error
    By nmckever in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-12-2014, 07:10 AM
  6. Replies: 1
    Last Post: 04-09-2014, 01:33 PM
  7. Replies: 0
    Last Post: 10-08-2010, 12:29 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