Dear statalist,
I would like to reshape quite a huge number of variables. Is it possible
to use the reshape command without specifying each single variable? Or can
I circumnavigate this problem creating a local that contains all variables
in the data set so that I can implement the local in the reshape command?
What I am having looks something like this:
Varnames : X_1 Y_1 Z_1 X_2 Y_2 Z_2
reshape long X_ Y_ Z_ , i(id) j(time)
How can I use the command without specifying X_ Y_ Z_ ?
Thanks for any suggestions.
Hans
++++++++++++++++++++++++++++++++
Hans J. Baumgartner
Dept. Public Economics
DIW Berlin
German Institut for Economic Research
phone: +49/30/89789-307
fax : +49/30/89789-114
URL: www.diw.de
www.hansbaumgartner.de
++++++++++++++++++++++++++++++++
*
* 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/