A good package for setting polynomial trend lines

Given a simple data set, I would like to be able to calculate the trend formula, given its second-order polynomial regression.

Actually, it would be great if you could even predict the X periods during the calculation (similar to what Excel does).

I am looking for a portable C / C ++ package that is relatively easy to use and allows it to spit out a “best fit” curve (highest value R ^ 2).

Any suggestions? Thank!

+3
source share
2 answers

GNU gsl C . , , C, , Windows.

gsl , .

+2

ROOT ++ native ( cint). TGraph . Root , Mac, Windows, Linux OpenSolaris ( Unicies). , , .

0

Source: https://habr.com/ru/post/1739240/


All Articles