EconPapers    
Economics at your fingertips  
 

LMS: Stata module to perform least median squares regression fit

Michael Blasnik ()

Statistical Software Components from Boston College Department of Economics

Abstract: lms fits a least median squares regression of varlist on depvar. Least Median Squares is a robust fitting approach which attempts to minimize the median squared residual of the regression (equivalent to minimizing the median absolute residual). The algorithm here works by exactly fitting lines (or planes or hyperplanes) to random subsets of observations of size n=# parameters. Based on the number of parameters, 300 to 3000 of these random subsets are fit and the one with the minimum median residual is selected as best.

Language: Stata
Requires: Stata version 5.0
Keywords: robust regression; least median squares (search for similar items in EconPapers)
Date: 1998-10-17
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/l/lms.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/l/lms.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s358301

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s358301