EconPapers    
Economics at your fingertips  
 

COLLAPSE2: Stata module to extend the collapse command

David Malin Roodman ()

Statistical Software Components from Boston College Department of Economics

Abstract: collapse2 is an extension of Stata's built-in collapse command, which converts the data in memory into a dataset of means, sums, medians, etc. It differs only in offering four additional "aggregation" operators: first, last, firstnm, and lastnm. These are useful, for example, if you want to create a cross-section data set from annual data, with initial population as a variable. You must first tsset your data to use these additional operators.

Language: Stata
Requires: Stata version 8.0
Keywords: collapse; data manipulation (search for similar items in EconPapers)
Date: 2004-08-03
Note: This module may be installed from within Stata by typing "ssc install collapse2". Windows users should not attempt to download these files with a web browser.

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/collapse2.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/collapse2.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-08-29
Handle: RePEc:boc:bocode:s444801