Has anyone already attempted a C# implementation of Least Squares regression as it applies to a pair of securities? This is apparently a fairly well known algorithm.

http://epchan.blogspot.co.uk/2011/04/many-facets-of-linear-regression.html

Author