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, 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
References: Add references at CitEc
Citations: View citations in EconPapers (1)

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: https://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 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 ().

 
Page updated 2025-04-28
Handle: RePEc:tsj:stataj:v:3:y:2003:i:1:p:81-99