Hi,
I was wondering if there is a command in Stata I can use to compare two strings. For example in two different variables I have words "prog" and "program". Is there a way to create a new variable that compares these two and tells me numerically how similar these two are? For example, a command that calculates the percentage of similarity between each pair of observations in two string variables.
Thanks
I was wondering if there is a command in Stata I can use to compare two strings. For example in two different variables I have words "prog" and "program". Is there a way to create a new variable that compares these two and tells me numerically how similar these two are? For example, a command that calculates the percentage of similarity between each pair of observations in two string variables.
Thanks
Comment