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]

st: Reshape problem

From   Pedro Nakashima <>
Subject   st: Reshape problem
Date   Wed, 22 Aug 2012 15:25:57 -0300

Dear statalisters

I'm using Stata 12

I'm trying to put a data in the form:

input mAug_99 mSep_99 mOct_99 str6 variables
1 3 5 v1
2 4 6 v11

into other like:

input v1 v11 month
1 2 Aug_99
3 4 Sep_99
5 6 Oct_99

I tryied the command

reshape long m, i(variables) j(month)

but it didn't create the variables v1 and v11, which I wanted

Thanks for any help

*   For searches and help try:

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