I'm merging two lists of schools. The matches are not exact. For example, in one dataset a school may have 302 students who are 67 percent white, and the other dataset the school may have 306 students who are 66 percent white. Is there a way I can find and score candidate matches? I've found two user written commands for this, but -nrmatch- can only match on one numeric variable, and -psmatch- can only match on strings. I'd like to match on several numeric variables and maybe one string as well.
Thanks!
Related Posts with Fuzzy merge on several numeric variables
Panel specific ar vs common arHello everyone, what are the tests/ criteria that specify which type of options should I choose when…
How to split variable that does not have spacesHi Everyone, I would like to split (eg. Italy2019) into two variables (eg.country= Italy and year =…
Remove blank lines from string colvectorIf I have a string colvector in Mata, how can I create a new string colvector that removes rows with…
Combining two time variables (Year & Period of year (month)) into one time variable which could be used as tsset for graphsHello Stata community; I have this dataset: Code: * Example generated by -dataex-. To install: ssc…
How can I correctly remove the missing values within group in Stata?I have a small data set laid out in longitudinal format, * Example generated by -dataex-. clear inpu…
Subscribe to:
Post Comments (Atom)
0 Response to Fuzzy merge on several numeric variables
Post a Comment