This question is quite close to:
http://www.stata.com/statalist/archive/2008-10/msg00578.html
Might want to try your luck there...
HTH
Martin
_______________________
----- Original Message -----
From: "Ermal Hitaj" <ermalhitaj@yahoo.com>
To: <statalist@hsphsun2.harvard.edu>
Sent: Thursday, October 16, 2008 10:28 PM
Subject: st: distance data missing values
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/
*
* 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/