Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72779

Question on reclink/probabilistic matching possibilities in STATA

$
0
0
Does oes anyone know if it possible to use reclink or something similar to match multiple times within strings? For example, in dataset 1 I have a string variable which has a list of x medications, lets call it "meds". They are generally separated by spaces. In dataset2 I have a column with the correct spellings of each of the medications I am interested in, called "correctmeds", 1 correct spelling per row. I would like to examine possible errors within "meds" in dataset1 by comparing the entire contents of each entry with the correct spellings in dataset2. I could parse "meds" by space, but sometimes people stick a space within the names of individual medications by accident. Is it possible to cross-compare "meds" and "correctmeds" without decomposing "meds"?

Viewing all articles
Browse latest Browse all 72779

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>