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 data from wide to long format

From   "Shittu, Aminu" <>
To   "" <>
Subject   st: Reshape data from wide to long format
Date   Mon, 24 Sep 2012 04:56:06 -0700 (PDT)

Dear Statalisters,

I am trying some examples from online help but all in vain. My wide dataset looks like this one

Species  Country  Year  month1  month2  month3  month4  month5  month6  month7  month8  month9  month10  month11  month12
I am interested in converting it to a long format like this
Species  Country  Year  month incidence
Please note that the record for each month is a disease incidence.

*   For searches and help try:

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