Hi,
I would like to spot the observations that are very much alike within one string variable.
Let's say for instance that I have a variable with 4 observations, such as:
var1
observation1: "cat"
obs 2: "caty"
obs 3: "the cat is beautiful"
obs 4: "cat"
I would like to have some distance measure that tells me that observation 1 and 4 are equal, observations 1 and 2 are quite similar, but observations 1 and 3 are very different. Is it possible?
Thanks
Related Posts with similar observations within one variable
Is % bias is more important than t test results for PSM?My variable of interest is ethnicity. Ethnicity has two categories: natives or migrants. I want to s…
Rename a function?How should I rename a function in Stata? I combine Stata and R, and to reduce confusion, I’d like t…
Order studies within group by time in meta-analysis forest plotHi everyone I am working on a forest plot. I want to order the studies within each group by publica…
To append or to mergeI would like to create a long panel from the 17 waves of panel data from the HILDA survey but am str…
Import excel table to stataHi every one, I have problem when import data from excel. My excel table has type of: year 1 ye…
Subscribe to:
Post Comments (Atom)
0 Response to similar observations within one variable
Post a Comment