Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: merge...


From   "Riano, Alejandro" <[email protected]>
To   [email protected]
Subject   st: merge...
Date   Mon, 1 Jul 2002 15:25:20 -0400

Dear Statalisters, i have two databases, the first one has monthly data by
country like this:

country      year    month    var1
Argentina   1989      1          x
Argentina   1989      2          x
      .             .         .           .
      .             .         .           .
Argentina   1999      12        x


for some set of countries (103 in total) and i have a second database which
has all the bilateral combinations among the countries that are included in
the first database (on a YEARLY basis), like this:


country1       country2          year      var2
Argentina      Brazil              1989       x
Argentina      Brazil              1990       x
      .                .                      .         .
      .                .                      .         .
Zambia         Zimbabwe        1999       x

My problem is that i want to merge the var1 of the first database into the
second one and in that way trasform my second bilateral base from a yearly
frecuency to a monthly one. Do you have any idea about how could i do this ?


Thanks in advance....


Alejandro Riano
==========================
Research Department
Inter-American Development Bank
(202) 623-1932
[email protected]
==========================


*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index