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, is already up and running.

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

Re: st: problem with stack

From   Nick Cox <>
Subject   Re: st: problem with stack
Date   Wed, 27 Feb 2013 14:48:00 +0000

-stack- tends to get over-shadowed by -reshape-, but to answer the question

stack v1 v3 v2 v3 , into(v12 v3) clear

is the way to do it. Several examples in the help do show the use of
repeated names.


On Wed, Feb 27, 2013 at 1:26 PM, Maarten Buis <> wrote:

-help reshape-

On Wed, Feb 27, 2013 at 1:57 PM, Miguel Ângelo Costa  wrote:

>> I have 3 variables: v1 and v2 are measurements and v3 is the group
>> variable. I want to stack v1 with v2 and that v3 gets doubled in order
>> to identify the stacked variable accordingly.

*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index