Hi everyone. I am trying to merge two datasets constructed from German SOEP data. The datasets have been merged with each other and manipulated several times. No matter which option we try to use (m:1, 1:m, 1:1) or which variables to match with (person ID number, year), we get the same error saying that the variables do not uniquely identify the observations. We've done similar merges that have worked, no problem. The only thing we did before this that might have messed things up is changing the person ID number from one individual to the other in order to find the nationality of that individual using another dataset. In addition, the datasets were are using are very similar, they contain many of the same variables, this might also be a source of problems. If someone could give any suggestions for how to proceed it would be super helpful. Thank you!
Maria
Related Posts with "Variables do not uniquely identify the observations" error when merging
New Variable for Average Value of First Half of ObservationsGood morning, I would like to generate a newvar that returns the average of the 'rating' variable, …
KMATCH Matching Diagnostics Tests AvailabilityI started to work with the KMATCH command for propensity score matching and I am a bit struggling wi…
Replacing missing variables in a data set with duplicate data by rowI am struggling to replace missing data with a particular value in my dataset which has multiple dup…
insufficient observations r(2001);hello every one. I am using on cross-section data . but when I run regression I receive this error: …
How to do many similar loopsHi, Stata experts, I have need to repeat the same foreach loop for different variables but with the…
Subscribe to:
Post Comments (Atom)
0 Response to "Variables do not uniquely identify the observations" error when merging
Post a Comment