A practical approximation algorithm for the LMS line estimator

David M. Mount, Nathan S. Netanyahu, Kathleen Romanik, Ruth Silverman, Angela Y. Wu

Research output: Contribution to journalArticlepeer-review

24 Scopus citations

Abstract

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 (n2) time. We consider two types of approximations, a residual approximation, which approximates the vertical height of the strip to within a given error bound ε{lunate}r ≥ 0, and a quantile approximation, which approximates the fraction of points that lie within the strip to within a given error bound ε{lunate}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 ε{lunate}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 log2 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.

Original languageEnglish
Pages (from-to)2461-2486
Number of pages26
JournalComputational Statistics and Data Analysis
Volume51
Issue number5
DOIs
StatePublished - 1 Feb 2007

Keywords

  • Approximation algorithms
  • Least median-of-squares regression
  • Line arrangements
  • Line fitting
  • Randomized algorithms
  • Robust estimation

Fingerprint

Dive into the research topics of 'A practical approximation algorithm for the LMS line estimator'. Together they form a unique fingerprint.

Cite this