I am struggling to perform a 1:m merge on two merge variables that are both string variables. When I attempt the merge, I get the familiar "variables FirstName LastName do not uniquely identify observations in master data" error. So, of course, I run the duplicates command to find my duplicates and figure out a solution.
The problem is that duplicates flag zero duplicates based on the two merge variables. My hunch is that something is going wrong with how these string variables are being stored. One is of the type str35 and the other is strL - I'm not very familiar with strL types.
Does anyone have an idea of why my merge command is flagging duplicates but the duplicates command is not?
Related Posts with merge vars do not uniquely identify observations in master data - but no duplicates found
Fontsize of atrisk table in survival sts graphHi all! I struggle to define the fontsize for the atrisk table displayed in the graph when running …
Diff in Diff as random effects modelHi, i have a short question: Is it possible to perform a diff in diff analysis with a random effec…
Loops and local macroGreetings everybody, I have one big dataset with variables starting from v4 to v66, and I want to d…
Direct Effects, Indirect Effects and post-estimation commands after spmlregHi Stata Users I have managed to run a Spatial Durbin Model using the SPMLREG using the following c…
maximum number of iterations exceeded" with predictnl commandPlease stata show me this message "maximum number of iterations exceeded" when i use the predictnl c…
Subscribe to:
Post Comments (Atom)
0 Response to merge vars do not uniquely identify observations in master data - but no duplicates found
Post a Comment