×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Are you an
Engineering professional?
Join Eng-Tips Forums!
• Talk With Other Members
• Be Notified Of Responses
• Keyword Search
Favorite Forums
• Automated Signatures
• 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.

# Higher order polynomial trendlines in Excel

## Higher order polynomial trendlines in Excel

(OP)
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.
Thanks.

### 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,
Latexman

### 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.

HTH

### 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!
m777182

### RE: Higher order polynomial trendlines in Excel

(OP)
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.

Kokonut

#### 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.

#### Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

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:

• Talk To Other Members
• Notification Of Responses To Questions
• Favorite Forums One Click Access
• Keyword Search Of All Posts, And More...

Register now while it's still free!