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
mlogit not concave when year dummies are includedDear Statalisters, I am running a mlogit regression. When I include year dummies in the regression, …
Generating duplicate observations with one variable changedI am working with data containing observations for patients undergoing a surgical procedure that is …
Questions with the mixlogit and lclogit commandHello everyone, I am really new to Stata, and when I use the mixlogit command by Arne R. Hole, I ge…
Orthogonalize lagged values of an independent variableDear all, I am running an xtlogit with a lagged independent variable (the variable is stationary), b…
how to do reg3 postestimation for simultaneous equations (cross-section data)I want to get the Hansen-Sargan test, after 3SLS, how to do it ? equations: Y1=F(Y2, Y3, X1, X2, X3,…
Subscribe to:
Post Comments (Atom)
0 Response to Merging data using unique identifier
Post a Comment