Clint wants to combine two datasets; in the master datatset there are
two identifiers (pid and fid), in the using dataset only one (pid; fid
is missing). Clint now asks how to replace the missing fid values in the
using dataset with information from the master dataset.
In the example's master dataset there are 15 observations with the same pid but two different fid values. In the using dataset there are 7 observations with the same pid as in the master dataset; fid is missing for all observations.
I see no way to determine which observations in the using dataset should get which fid values from the master dataset. Is it something with the dates?
Svend
________________________________________________________
Svend Juul
Institut for Folkesundhed, Afdeling for Epidemiologi
(Institute of Public Health, Department of Epidemiology)
Vennelyst Boulevard 6
DK-8000 Aarhus C, Denmark
Phone, work: +45 8942 6090
Phone, home: +45 8693 7796
Fax: +45 8613 1580
E-mail: [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/