EconPapers    
Economics at your fingertips  
 

GROUP1D: Stata module for grouping or clustering in one dimension

Nicholas Cox ()

Statistical Software Components from Boston College Department of Economics

Abstract: group1d groups or clusters values of a variable ordered in one dimension. Natural examples are the values of a variable sorted from smallest to largest, the values of a time series, or the values of a spatial series along or down a profile, transect, core, borehole, etc. n values are clustered into one or more contiguous groups, the (k - 1) boundaries between k groups being chosen to minimise the sum of the within-cluster sums of squared deviations from cluster means over the comb(n - 1, k - 1) possible clusterings. The clustering produced is guaranteed optimal, but it may not be unique.

Language: Stata
Requires: Stata version 9
Keywords: grouping; clustering; time series; spatial data; contiguity (search for similar items in EconPapers)
Date: Written 2007-05-23
Note: This module may be installed from within Stata by typing "ssc install group1d". Windows users should not attempt to download these files with a web browser.

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

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

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 2008-10-05
Handle: RePEc:boc:bocode:s456844