Hello,
I have a string variable which is the combination of several digits. I would like to generate a new variable that helps me identify the strings that are the same or they just differ from 1 digit.
All the value of the string have all the same length.
(1) I have tried with the strgroup command but I get the following error message: "file strgroup.plugin not found (error occurred while loading strgroup.ado)"
I read that in the past the program did not work for 64digit processors, but this should no longer be the case. I am using STATA 12 MP.
Anybody could help? Thanks a lot in advance,
Silvia
strgroup string, gen(match) threshold(.25)
string
00000000
01011011
00000000
11111111
I have a string variable which is the combination of several digits. I would like to generate a new variable that helps me identify the strings that are the same or they just differ from 1 digit.
All the value of the string have all the same length.
(1) I have tried with the strgroup command but I get the following error message: "file strgroup.plugin not found (error occurred while loading strgroup.ado)"
I read that in the past the program did not work for 64digit processors, but this should no longer be the case. I am using STATA 12 MP.
Anybody could help? Thanks a lot in advance,
Silvia
strgroup string, gen(match) threshold(.25)
string
00000000
01011011
00000000
11111111

Comment