Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

Re: st: AW: -longshape- available from SSC


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: -longshape- available from SSC
Date   Sat, 8 Oct 2011 16:29:28 +0100

Thanks for this.

With your regard to your -reshape wide-, the issue I think is not
whether -wideshape- might be useful to you, but whether -reshape wide-
works well for you without side-effects.

Nick

On Sat, Oct 8, 2011 at 4:00 PM, Kaulisch, Marc
<kaulisch@forschungsinfo.de> wrote:
> Hi Nick,
>
> Thanks for this program, I also encountered the same problems more than once...
> One additional comment: I can think of a use-case where -wideshape- might be a good complementary program (although I am not completely sure).
>
> Example:
> Wide-data reshaped into long-data
> Creating new variables with long-data - for example: clusters after an optimal-matching-analysis (s. -sq- (from ssc)).
> Long-data into wide-data in order to use the clusters for further analysis
>
> Of course, I could do a merge of wide and long to add the new vars to the "old" wide data; but intuitively I would do a reshape...
Nick Cox
>
> Thanks to Kit Baum, a program -longshape- may now be downloaded from SSC. Stata 9.2 is required.
>
> -longshape- is a wrapper for -reshape long- to fix a side-effect of -reshape long- that bites very occasionally. I've been a happy user of
> -reshape- for many years until the problem bit me with a particular kind of data very recently.

[...]
*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index