Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: Preserve Variable Labels After Reshape


From   Joerg Luedicke <[email protected]>
To   [email protected]
Subject   Re: st: Preserve Variable Labels After Reshape
Date   Wed, 19 Dec 2012 21:07:08 -0500

I agree with Nick that this makes no sense. Say you reshape your 150
variables such that you have only one variable in long format, then
you have only one variable for which you can use one label.

Joerg

On Wed, Dec 19, 2012 at 8:58 PM, David Torres <[email protected]> wrote:
> Okay, is there a way to save the labels and reinsert them after reshape? I'm not too keen on having to retype labels for 150 variables.
>
> Thanks
>
> Sent from my iPhone
>
> On Dec 19, 2012, at 7:24 PM, "Nick Cox" <[email protected]> wrote:
>
>> How could they be preserved? A -reshape- is not a one-to-one mapping.
>>
>> Nick
>>
>> On Thu, Dec 20, 2012 at 1:16 AM, David Torres <[email protected]> wrote:
>>> I'm reshaping some data from wide to long and would like to preserve my variable labels.  Does anyone know an easy way to do this?
>>>
>>> I've already tried the user-written commands -longshape-, -reshape7-, and -reshape8-.  My variable labels were not preserved.
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/faqs/resources/statalist-faq/
>> *   http://www.ats.ucla.edu/stat/stata/
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index