%0 Journal Article %J Computational Statistics & Data Analysis %D 2007 %T A practical approximation algorithm for the LMS line estimator %A Mount, Dave %A Netanyahu,Nathan S. %A Romanik,Kathleen %A Silverman,Ruth %A Wu,Angela Y. %K Approximation algorithms %K least median-of-squares regression %K line arrangements %K line fitting %K randomized algorithms %K robust estimation %X The problem of fitting a straight line to a finite collection of points in the plane is an important problem in statistical estimation. Robust estimators are widely used because of their lack of sensitivity to outlying data points. The least median-of-squares (LMS) regression line estimator is among the best known robust estimators. Given a set of n points in the plane, it is defined to be the line that minimizes the median squared residual or, more generally, the line that minimizes the residual of any given quantile q, where 0 < q ⩽ 1 . This problem is equivalent to finding the strip defined by two parallel lines of minimum vertical separation that encloses at least half of the points.The best known exact algorithm for this problem runs in O ( n 2 ) time. We consider two types of approximations, a residual approximation, which approximates the vertical height of the strip to within a given error bound ε r ⩾ 0 , and a quantile approximation, which approximates the fraction of points that lie within the strip to within a given error bound ε q ⩾ 0 . We present two randomized approximation algorithms for the LMS line estimator. The first is a conceptually simple quantile approximation algorithm, which given fixed q and ε q > 0 runs in O ( n log n ) time. The second is a practical algorithm, which can solve both types of approximation problems or be used as an exact algorithm. We prove that when used as a quantile approximation, this algorithm's expected running time is O ( n log 2 n ) . We present empirical evidence that the latter algorithm is quite efficient for a wide variety of input distributions, even when used as an exact algorithm. %B Computational Statistics & Data Analysis %V 51 %P 2461 - 2486 %8 2007/02/01/ %@ 0167-9473 %G eng %U http://www.sciencedirect.com/science/article/pii/S0167947306002921 %N 5 %R 10.1016/j.csda.2006.08.033