Quant analytics: Polynomial fitting algorithm?

Quant analytics: Polynomial fitting algorithm? Evening, Would someone point me to the algorithm for fitting a polynomial to stock data? If I have 20 bars of PRICE, how do I find out what polynomial of degree N fits the given 20 bars of data? I expect the algorithm will return the coefficients of the N …

Quant analytics: Polynomial fitting algorithm? Read More »