Statalist


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

st: distance data missing values


From   Ermal Hitaj <[email protected]>
To   [email protected]
Subject   st: distance data missing values
Date   Thu, 16 Oct 2008 13:28:32 -0700 (PDT)

Hi,

I wonder whether somebody could help with the following:
I have trade distance data in a long form. I have missing values as follows.

Exporter Importer Distance
A          B       1000km
B          A          .

I need to substitute the missing values with the distance value from the case where country A is the exporter and B is the importer.
Obviosly, there's a lot of countries (and a lot of products).

Thanks,
E.


      
*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index