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!
source
share