EconPapers    
Economics at your fingertips  
 

Speaking Stata: On structure and shape: the case of multiple responses

Nicholas Cox () and Ulrich Kohler ()

Stata Journal, 2003, vol. 3, issue 1, pages 81-99

Abstract: A frequent problem in data management is that datasets may not arrive in the best structure for many analyses, so that it may be necessary to restructure the data in some way. The particular case of multiple response data is discussed at length, with special attention to different possible structures; the generation of new variables holding the data in different form; valuable inbuilt string and egen functions; using foreach and forvalues to loop over lists; and the use of the reshape command. Tabulations and graphics for such data are also reviewed brießy. Copyright 2003 by Stata Corporation.

Keywords: composite variables; concatenation; egen; foreach; forvalues; graphics; indicator variables; multiple responses; reshape; split; string functions; tabulations (search for similar items in EconPapers)
Date: 2003

Downloads: (external link)
http://www.stata-journal.com/sjpdf.html?articlenum=pr0008 (application/pdf)

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:tsj:stataj:v:3:y:2003:i:1:p:81-99

Ordering information: This journal article can be ordered from
http://www.stata-journal.com/subscription.html

Access Statistics for this article

Stata Journal is edited by H. Joseph Newton and Nicholas J. Cox

More articles in Stata Journal from StataCorp LP
Series data maintained by Christopher F. Baum ().

 
Page updated 2009-11-24
Handle: RePEc:tsj:stataj:v:3:y:2003:i:1:p:81-99