Contact US

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Higher order polynomial trendlines in Excel

Higher order polynomial trendlines in Excel

Higher order polynomial trendlines in Excel

HI all,
Is it possible to have higher order polynomial trendlines (i.e. higher than 6) in Microsoft Excel? If not, are there any free apps I can use for the purpose.

RE: Higher order polynomial trendlines in Excel

I haven't seen any applications that justified going higher than 6th order, but my experience is in the chemical industry.  It's not free, but JMP (Jump) by SAS will probably do it.

Good luck,

RE: Higher order polynomial trendlines in Excel

As a general rule, you need to be very careful when fitting high-order polynomial curves of best fit, as they can duck and weave all over the place between your data points.  And as for using them for extrapolation, be ultra-very careful.  Personally, I shy away from using any polynomial higher than a cubic.

If you feel you need to resort to a high-order polynomial, your data might actually be telling you that a polynomial is not appropriate.  You might be better off fitting some different form of curve - reciprocal, exponential, etc - or even a combination of these.  The resulting curve fitting cannot be done automatically within Excel, but it is not difficult.  By laying your data out in an appropriate manner you can set up a cell that contains the sum of the squares of the errors for any particular set of parameters for the hypothesized relationship.  You can then use the Solver to search for the set of parameter values that minimizes this sum of the squares of the errors.

Also, look very hard at your data, and ask yourself if there are any a priori  reasons for expecting any particular behaviours (such as asymptotes), even if these behaviours will not significantly manifest themselves within the range of your data points.  If so, select a form of curve that honours these behaviours.


RE: Higher order polynomial trendlines in Excel

It is possible:put your independent variables in a column, say "A"; their squares in column "B", their cubes in column "C" and so on.... and in the last column put your dependent variables. Apply tools.Data Analysis.Regression, select ranges,go and you will get coefficients of the terms as you wrote them preceeding by a constant.But before you do it please read the answer of Denial at least two times!

RE: Higher order polynomial trendlines in Excel

Thanks everyone.
I finally found a way to represent my curves as fourier series equations (by setting up composite tables in Excel) rather than polynomials and have a much better approximation. The area under each curve was also obtained using approximate integration methods.
Thanks a lot for your contributions.


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members! Already a Member? Login


Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close