I have two datasets. One dataset has families of 2 members and the other dataset has families of uneven sizes. In all the names, there are often minor spelling mistakes so often, we will not get exact matches.
How can I match the 2-member family in the first dataset with the n-member family in the second dataset? The names in the 2-member family must exist in the n-member family although it will not exist exactly due to spelling mistakes.
In some sense, I am trying to find a way to tell STATA to :
“Match if 4 words in the 2-member and n-member families are 80% similar”. I say 4 words accounting for 2 first names and 2 last names in the first dataset for each 2-member family and 80% to account for spelling mistakes.
Is there a way to do this?
Related Posts with Is it possible to match families/groups and not individual observations?
Stata 16 describe command - file size is gone?Dear all Running an updated Stata 16 MP version, I notice that the Code: describe command is miss…
Increase number of characters displayed in value label for svy tab?When using svy tab for survey weights, the label cut off is 8 characters, In regular tab, it's somet…
Exporting Stata results to RI would like to use Stata and get results from analyses into R (as a data frame in R, for manipulati…
Reshape from wide to long in multiple stepsDear Listers, I have some trouble reshaping a set of country specific variables that I need to merg…
Writing nested foreach loop to convert many .txt files to .dtaI'm trying to write a foreach loop to convert a few hundred text files, divided up into many folders…
Subscribe to:
Post Comments (Atom)
0 Response to Is it possible to match families/groups and not individual observations?
Post a Comment