Economics at your fingertips  

CLUSTPOP: Stata module to estimate population cluster group assignments

Paul Millar

Statistical Software Components from Boston College Department of Economics

Abstract: clustpop is a routine to estimate population group assignments using the cluster command. The cluster command groups cases based on the values of a variable, or the mean/median of a group of variables. However, the group assignments will vary depending on the random seed that starts off the process. So if the -cluster- command is executed many times, it will produce different group assignments. In other words, There is population of group assignments from which the -cluster- command samples a single possibility. Therefore the results from -cluster- are like taking a sample (N=1) from a population and using that result as an estimate of the group assignment population. clustpop runs the -cluster- command many times in order to create a larger sample. For each case, the most frequently occuring group assignment is taken as an estimate of the most common group assignment in the population. The case is assigned to this group only if the lower bound (at a given alpha) of the population estimate is greater than half. In other words, it must be probable that the most frequently occuring group assignment is the group assignment more than half the time in the population. If this is not so, the group assignment is set to missing.

Language: Stata
Requires: Stata version 7
Keywords: cluster; population; group assignment (search for similar items in EconPapers)
Date: 2011-04-19
Note: This module should be installed from within Stata by typing "ssc install clustpop". Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations Track citations by RSS feed

Downloads: (external link) program code (text/plain) 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:

Ordering information: This software item can be ordered from

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.
Series data maintained by Christopher F Baum ().

Page updated 2018-01-11
Handle: RePEc:boc:bocode:s457276