11-04-2015 01:29 PM
I have Jaccard score in comparing two strings to check the similarity/Dissimlarity using R.
I tried to replicate the same in SAS but couldn't achieve it.
Can you please let me know if there is function/way to get jaccard score in SAS for
comparing two strings "Krishna" and "Krishna Reddy"
I tried to replicate in SAS with proc distance but no luck.
stringdist('krishna', 'krishna reddy', method='jaccard')
result is 0.3636
Specifically looking for Jaccard distance only.
Appreciate any help!
11-04-2015 02:03 PM
What is the meaning of the Jaccard distance between strings in R? Is it based on the presence/absence of letters, words, sounds, in the strings?
SAS has many specialized functions for computing the distance between strings: COMPGED, COMPLEV, SOUNDEX, SPEDIS, as well as CALL COMPCOST.
11-04-2015 10:54 PM