Dear
My dataset is split across two large files. the master file has 10,000 respondents all uniquely identified with a unique id. However, in the second file has only 9800 respondents as 200 decided not to participate. I need to merge some variables from the second file into the master file but I am not able to do it as the number of observation don't match across the two files. I have tried using 1:1 merge function but this given an error.
variable unique_identifier does not uniquely identify observations in the using data
r(459);
Can anyone help please?
Related Posts with Merging data using unique identifier
Dealing with Date variables in StataHello, I am using Stata 16.1 (MP). I have a date variable, which is stored as a numeric variable in …
Backward stepwise selection for mixed-effect logistic regressionDear colleagues, Is there a package that can do backward stepwise selection for mixed-effect logist…
Multiply entries of observationsHi, Please see below, how would I multiply the observation by the number that is stated as the vari…
Substring strvar into observations, not variablesDear Stata community, I have the following string variable r1etab that has multiple observations sep…
Recoding variables in loopsHi, I am trying to recode three sets of variables (u* v* x*) into different categories from newly ge…
Subscribe to:
Post Comments (Atom)
0 Response to Merging data using unique identifier
Post a Comment