alpmestan/statistics-linreg — pull request #1 by uriba (2012-11-19 10:23:28+00:00)
Title: Added Total Least Squares suppor

Hi,
I've added support for Total Least Squares that allows for regression over data for which both xs and ys may have errors in them.
Also made some refactoring to eliminate duplicated code and updated the tests.
As the test shows, the new function has some rounding issues (probably due to Double's limited accuracy, though I'm not sure).
It'd be great if you could come up with a solution for that. Otherwise I think it performs pretty well.
Cheers,