Bookmark and Share

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

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

Re: st: Spelling errors in string variables

From   Scott Merryman <>
Subject   Re: st: Spelling errors in string variables
Date   Wed, 9 Jan 2013 06:23:48 -0600

You might try -soundex-

input str8 name
gen soundex = soundex(name)


On Wed, Jan 9, 2013 at 6:02 AM, Estrella Gomez <> wrote:
> Does anybody know how can I check the existence of spelling error in my
> dataset? I have two string variables with nearly 1,500,000 observations,
> and I would like to check if in some cases there are different names for
> the same individual (i.e.: Mexico / Mejico / mexico)
*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index