Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: reshaping with many variables


From   "SURAN, LUCIANA" <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   st: reshaping with many variables
Date   Fri, 17 Oct 2003 17:15:55 -0400

I have a question about reshaping.  I am working on a dataset containing
numerous variables, and I would like to reshape it to long form.  However,
my data set has hundreds of variables and I would like to avoid typing all
the names out.

For example, my variables look like:
 q100_1
 q100_2
 q101_1
 q101_2
    .
    .
    .
q601_1
q601_2

Does anyone know of a shortcut?

Thank you very much,
 Luciana Suran

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index