EconPapers    
Economics at your fingertips  
 

GRUBBS: Stata module to perform Grubbs' test for outliers

Nicolas Couderc ()

Statistical Software Components from Boston College Department of Economics

Abstract: grubbs test (Grubbs, 1969 and Stefansky, 1972) can be used to detect outliers in a data set, either creating a new variable (equal to 1 if the observation is an outlier and 0 otherwise) or dropping outliers out of the data set. The Grubbs test is also known as the maximum normed residual test. The Grubbs test detects one outlier at each iteration. The outlier is expunged from the data set and the test is iterated until no outliers remain.

Language: Stata
Requires: Stata version 8
Keywords: Grubbs; outliers; maximum normed residual test (search for similar items in EconPapers)
Date: 2007-01-12, Revised 2007-01-29
Note: This module may be installed from within Stata by typing "ssc install grubbs". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/g/grubbs.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/g/grubbs.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: http://EconPapers.repec.org/RePEc:boc:bocode:s456803

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
Address: Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA
Contact information at EDIRC.
Series data maintained by Christopher F Baum ().

 
Page updated 2009-12-02
Handle: RePEc:boc:bocode:s456803