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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: Construct a Panel dataset


From   momo <mmsabra@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   st: Construct a Panel dataset
Date   Mon, 23 Jul 2012 15:26:40 -0700 (PDT)

Hi All,

I am trying to build a panel data set, which shows flows from 23 developed
country to 18 developing country for the period from 1995 to 2010.

In fact, its the first time for me. So, I put each developed country in 288
row (18 developing for 16 years) with the 18 developing for 16 years
period-for example- as follows.

UK            1           Albania
UK            1           16 row
.              1          Albania
.              1          Algeria
288 row    1         16 row
UK           1          Algeria
.             1            .
.             1            .

US          2         Albania
              2         16 row
.             2        Albania
.             2         Algeria
              2        16 row
              2         Algeria
288row     2           .
US           2           .

and so on

then I put the variable "ID" (to declare the dataset) takes "1" for the
first developed country, "2" for the second; and so on until the number
"23". and the variable "year" from 1995 - 2010 repeated for each developing
country.

Is this right structure, is the variable "ID" done well .

Thank you for your help



--
View this message in context: http://statalist.1588530.n2.nabble.com/Construct-a-Panel-dataset-tp7580226.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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