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: Reshaping data
From
DE SOUZA Eric <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: Reshaping data
Date
Fri, 4 Feb 2011 16:08:46 +0100
Did that, Neil. I tried the usual resources, including the manuals. As I ought to have stated in my original post, and as I say in my reply to Nick, my "variable" names in the first are the years: -2000- -20001- ...
Eric
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Neil Shephard
Sent: 04 February 2011 14:07
To: [email protected]
Subject: Re: st: Reshaping data
On Fri, Feb 4, 2011 at 12:51 PM, DE SOUZA Eric <[email protected]> wrote:
> I have a table in Excel (which, of course, I can convert to csv format and -insheet- into Stata). The table contains one variable. Each row corresponds to a region and each column to a year. Is there a way of converting the data into panel (long) format in Stata ?
>
> I've hunted around and experimented but without success.
Try -man reshape- for how to move data between wide <--> long formats.
Neil
--
"Truth in science can be defined as the working hypothesis best suited to open the way to the next better one." - Konrad Lorenz
Email - [email protected]
Website - http://kimura.no-ip.org/
Photos - http://www.flickr.com/photos/slackline/
*
* 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/
*
* 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/