Advanced Search
MyIDEAS: Login to save this article or follow this journal

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


Author Info

  • Nicholas J. Cox

    (University of Durham, UK)

  • Ulrich Kohler

    (Social Science Research Center, Berlin, Germany)


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.

Download Info

If you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
File URL:
Download Restriction: no

Bibliographic Info

Article provided by StataCorp LP in its journal Stata Journal.

Volume (Year): 3 (2003)
Issue (Month): 1 (March)
Pages: 81-99

as in new window
Handle: RePEc:tsj:stataj:v:3:y:2003:i:1:p:81-99

Contact details of provider:
Web page:

Order Information:

Related research

Keywords: composite variables; concatenation; egen; foreach; forvalues; graphics; indicator variables; multiple responses; reshape; split; string functions; tabulations;


No references listed on IDEAS
You can help add them by filling out this form.


Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
as in new window

Cited by:
  1. Ben Jann, 2005. "Tabulation of multiple responses," Stata Journal, StataCorp LP, vol. 5(1), pages 93-122, March.


This item is not listed on Wikipedia, on a reading list or among the top items on IDEAS.


Access and download statistics


When requesting a correction, please mention this item's handle: RePEc:tsj:stataj:v:3:y:2003:i:1:p:81-99. See general information about how to correct material in RePEc.

For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F. Baum) or (Lisa Gilmore).

If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

If references are entirely missing, you can add them using this form.

If the full references list an item that is present in RePEc, but the system did not link to it, you can help with this form.

If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your profile, as there may be some citations waiting for confirmation.

Please note that corrections may take a couple of weeks to filter through the various RePEc services.