I try to merge a file in cross-sectional format containing a certain variable with a master file which has many variables. However, i get the following error. Both the files have same cross-sectional format. Can someone suggest how it can be resolved:
Error:
variable stock does not uniquely identify observations in the master data
r(459);
stock is the name of firm.
Related Posts with Merge
How do we use -- e.g. loop over, or save -- all the scalar names in a command's return list without knowing the names in advance?I'd like to be able to access all of the scalar names from a command's return list without knowing w…
How to loop through multiple locals instead of all variables inside each local? Code: local ipv "angry fear intimacy_idx cont12_idx ev12_idx pv12_idx sv12_idx ipv_ovall_idx" local…
Transformation of valuesHi, I have a data set on tumors with the variables karnofsky index/KI (categorical with values 40, …
Problems corresponding to variable names in stata double-layer loopsI encountered a problem in the process of data merging. I put 5 control variables into 5 sheets of a…
How to loop through two locals instead of all variables inside each local Code: local ipv "angry fear intimacy_idx cont12_idx ev12_idx pv12_idx sv12_idx ipv_ovall_idx" lo…
Subscribe to:
Post Comments (Atom)
0 Response to Merge
Post a Comment