Stata Name Mis-matches Problem(repost)

We would like the following command for STATA: Title: smerge??"string merge: merge datasets by variables that have SIMILAR values. Description of the command: When merging the datasets by names using the traditional “merge?? command, observations with spelling errors will not be merged successfully. The new merge command allows users to specify the type and number of errors to be ignored and joins the observations with a certain number of mismatches (i.e. corresponding observations with up to 1 mismatching character, up to 2 mismatching characters, and so on). Examples: Firstname Lastname 1 Monette Perez 2 Ann Mayuga 3 Gerald Guillen 4 Omar Andaya 5 Joey Dapal firstname lastname 1 Monette Parez 2 Anne Mayuga 3 Gerard Guillin 4 Omar Andaya 5 Joey Daapla When using the existing “merge?? command, obs #4 is the only observation which will be merged. Using the new command, other observations could be merged when specified. We’re picturing something like the following: (1) smerge lastname firstname using [url removed, login to view], (m=1) Merge corresponding observations with the number of mismatches up to 1. This command will merge obs #1 as well as obs #4. Generates _mismatch (number of mismatching characters) _mismatch =0 if in both datasets and matches exactly _mismatch =1 if in both datasets with 1 character mismatch (2) smerge lastname firstname using [url removed, login to view], (m=2, e=1) Merge corresponding observations with the number of mismatches up to 2 or the number of extra/fewer character up to 1. This command will merge obs #1, #2, #3, #4, and obs #5. Generates _mismatch (number of mismatching characters) _mismatch =0 if in both datasets and matches exactly _mismatch =1 if in both datasets with 1 character mismatch _mismatch =2 if in both datasets with 2 character mismatches Generates _extra (number of extra/fewer characters) _extra =0 if the obs has the same number of characters _extra =1 if the obs has 1 extra/fewer character

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):

a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.

b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.

3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).

## Platform

Stata 8 and 9 on Windows XP and Mac OSX