Good Package for Fitting Polynomial Trend Lines

Posted by Rev316 on Stack Overflow See other posts from Stack Overflow or by Rev316
Published on 2010-03-31T01:26:56Z Indexed on 2010/03/31 1:33 UTC
Read the original article Hit count: 466

Filed under:
|
|
|
|

Given a simple data set, I would like to be able to calculate a trending formula given it's a second order polynomial regression.

In fact, it would be great if one could even forecast X periods during calculation (similar to what Excel does).

I'm looking for a portable C/C++ package that's relatively easy to use, and allows it to spit out the "best-fit" (highest R^2 value) curve.

Any suggestions? Thanks!

© Stack Overflow or respective owner

Related posts about math

Related posts about c++