Hi, I am trying fuzzy string matching from two files using 'dtalink' package. In both files I have alphanumeric firmname 1800flowerscom, 7eleven and 3m.
'dtalink' only matches 1800flowerscom and 7eleven from both file but not the 3m. I was wondering why. To add a blank at both ends of the string, I use the code: gen newfirmname = " "+firmname+" "
Fuzzy matching code: dtalink firmname 10 0 using file1, block(firmname_f | firmname_l ) cutoff(10) calcweights
Thanks.
Related Posts with Fuzzy matching alphanumeric name
Standard Errors FE IV Regression, Panel DataHello, I am working with StataIC16, and with Panel Data, where i=550 and t=6. To determine the effe…
Boxplot in complex design surveyDear Statalist users: I have a data set with weight syntax as below, How can I run a box plot with …
How to correct the alignment of outputI am doing data cleaning and the output is hard to clean because of how it is coming out. For some t…
GMM on static modelsHi, I was wondering if is it possible to use the GMM (xtabond2) on a static model. I'm aware that th…
cmp multivariate probitHi, I am running a multivariate probit model using the cmp function on 4 binary dependent variables…
Subscribe to:
Post Comments (Atom)
0 Response to Fuzzy matching alphanumeric name
Post a Comment