linearest function

Estimates using polynomial equations.