I am looking for some AFL code that would perform a linear regression on two 
arrays (x, y) and return the intercept and slope for this data set. THe only 
funcitons I have been able to find so far in the AFL library and elsewhere 
assume the x-axis is time and the y-axis is price of some other indicator 
series. I need something more general, that could work with any (X,y) data set. 
Any help on this would be very much appreciated.
Thanks

Reply via email to