[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: data problem - duplicates

From   Phil Schumm <>
Subject   Re: st: data problem - duplicates
Date   Tue, 3 Jun 2008 09:02:23 -0500

On Jun 3, 2008, at 7:51 AM, <> wrote:
"Name" is the only variable which I can use to select duplicates. I know that there are ways and programs which are able to define a kind of "similarity-index" which holds information about how similar two or more variables are on the basis of counting the different characters between the variables.

A common way to approach this is with the concept of "edit distance," which is the minimum number of operations required to transform one string into another (also known as the Levenshtein distance). I've never implemented this in Stata myself, but a program was posted to Statalist several years ago:

-- Phil

* For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index