Bookmark and Share

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]

st: Construct a Panel dataset


From   momo <[email protected]>
To   [email protected]
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index