EconPapers    
Economics at your fingertips  
 

STACK: Stata module to stack datasets

William Gould

Statistical Software Components from Boston College Department of Economics

Abstract: I made some changes to -stack-. The first thing I added was the ability for -into()- to understand dash notation to mean a variable range, so you can type things like . stack a b c d e f, into(v1-v3) With that change, one could type . stack 250+vars95 250+vars96, into(v1-v257) clear I added an alternative to the - -into()- option: -group()-. The new -stack- understands . stack a b c d e f, group(3) as an alternative to . stack a b c d e f, into(a b) - -group(#)- means there are to be # groups and the variable names are to obtained from the first group. (-stack- always allowed the new variables it created to be named the same as existing variables.) So with this, one can type . stack 250+vars95 250+vars96, group(2) and the resulting 250+ variables will have the same names as the 250+ vars95. The new -stack- will appear in STB-40. Both stack.ado and stack.hlp are to be copied into the *OFFICIAL* ado-directory.

Language: Stata
Date: 1997-09-20

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/stack.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/stack.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:s320501

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-11-30
Handle: RePEc:boc:bocode:s320501