Hello, trying to create a coded ID based on a string variable that is 18 characters long with over 58 million unique observations. I tried just generating a variable using "_n" and group options but they both result in a numeric field. I then tried "tostring, replace" on the new variable but it is hiccuping and leaving me with duplicate values. I welcome any suggestions. The goal is to "anonymize" a billing ID.
Related Posts with Generate string identifier variable
Recoding into an existing variableHello, I am trying to add text responses to an existing variable. I have a variable Q33_20_TEXT th…
Confusion about FE and DIDHello everyone, this is my first post here so please excuse me if the formatting is not great yet. I…
Collapse (count) ifDear Stata Users My data is in a panel format at the daily frequency (id, date). I run time-series …
plotting interaction after XTSCC commandHow do I plot interactions after the XTSCC command? …
3 Level Hierarchical Models in STATA; Null model failed to convergeAbout the Dataset I am working with DHS (Demographic and Health Survey Data) data. DHS uses a two-s…
Subscribe to:
Post Comments (Atom)
0 Response to Generate string identifier variable
Post a Comment