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   Nick Cox <[email protected]>
To   "'[email protected]'" <[email protected]>
Subject   RE: Re: st: Comparing similar strings
Date   Fri, 17 Feb 2012 15:33:31 +0000

Good idea, but -soundex()- is a Stata-wide function, not an -egen- function. 

Nick 
[email protected] 

Clyde B Schechter

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.


*
*   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