Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: Re: st: Comparing similar strings


From   Clyde B Schechter <[email protected]>
To   "[email protected]" <[email protected]>
Subject   Re: Re: st: Comparing similar strings
Date   Fri, 17 Feb 2012 15:26:07 +0000

As an alternative  to -levenshtein-, Daniel S. might want to consider comparing names using the -egen- function soundex().  Soundex was developed about a century ago and is specifically designed to match variant spellings of name.  As such, it is a bit more sophisticated about probable types of misspellings than -levenshtein-, which is basically a distance metric on strings.

Clyde Schechter
Dept. of Family & Social Medicine
Albert Einstein College of Medicine
Bronx, NY, USA


 


*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index