On Monday, September 1, 2003, at 02:33 AM, Mike wrote:
What if I have other variables besides city and income in dataset A
and dataset
B (and they are different variables in each dataset) but I only want
to merge
in the matching incomes from dataset B to replace the incorrect ones
in dataset
A (i.e. I want to leave alone the rest of the variables in dataset A)?
Then make a copy of dataset B, keep only the desired variables (city
and income?), sort it appropriately, save it as Bpartial, and follow
the prior instructions with Bpartial in place of B.
Kit
*
* 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/