group2: Generating the finest partition that is coarser than two given partitions
Christian H. Salas Pauliac ()
Additional contact information
Christian H. Salas Pauliac: Department of Public Policy, University of Chicago
Stata Journal, 2013, vol. 13, issue 4, 867-875
Abstract:
In this article, I develop a useful interpretation of the function group() based on partitions belonging to mathematical set theory, an interpretation that in turn engenders a related command here called group2. In the context of the partitioning of sets, while the function group() creates a variable that generates the coarsest partition that is finer than the finest partition generated by the variables used as arguments, the group2 command will create a variable that generates the finest partition that is coarser than the coarsest partition generated by the variables used as arguments. This latter operation has proven very useful in several problems of database management. An introduction of this new command in the context of mathematical partitions is provided, and two examples of its application are presented. Copyright 2013 by StataCorp LP.
Keywords: group2; partitions; group; egen (search for similar items in EconPapers)
Date: 2013
Note: to access software from within Stata, net describe http://www.stata-journal.com/software/sj13-4/dm0073/
References: Add references at CitEc
Citations:
Downloads: (external link)
http://www.stata-journal.com/article.html?article=dm0073 link to article purchase
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:tsj:stataj:v:13:y:2013:i:4:p:867-875
Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html
Access Statistics for this article
Stata Journal is currently edited by Nicholas J. Cox and Stephen P. Jenkins
More articles in Stata Journal from StataCorp LLC
Bibliographic data for series maintained by Christopher F. Baum () and Lisa Gilmore ().