Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: reshape wide command without specifying all variables?


From   "Amber Katz" <[email protected]>
To   statalist <[email protected]>
Subject   st: reshape wide command without specifying all variables?
Date   Tue, 18 Apr 2006 11:59:53 -0400

Hi,

I'm trying to reshape my data, but have a very large number of
variables which are not necessarily in the same form.  Is there some
way I can execute this command without typing out all the variable
names?

Also, is there a way I can put a list of variable names into some sort
of "namelist" variable which I can use later?  (i.e. I would just type
"reshape wide <namelist>)  I know that there's some "syntax" command
but don't understand how to use it here.

Thanks,
Amber

*
*   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