Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: from value to varnames


From   Richard Goldstein <[email protected]>
To   [email protected]
Subject   Re: st: from value to varnames
Date   Tue, 19 May 2009 08:06:24 -0400


not on my machine -- I even downloaded a new copy of sxpose (from ssc) and did exactly what you suggested (via cut-and-paste) and the new varnames are _var# (258 of them)

so ...

Phil Schumm wrote:
On May 18, 2009, at 8:19 PM, Richard Goldstein wrote:
nope -- Nick's -sxpose- gives me variables with varnames _var1, etc -- which is of no use; sorry for not mentioning that I had already tried it


That's what the -firstnames- option does. Without it, you'll get variables named _var1, _var2, etc. With -firstnames-, you'll get variables named namea, nameb, etc.


-- Phil
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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