Hello everyone.
I am writing a research paper where I will look at the difference between US firms with foreign operations versus US firms with purely domestic revenue stream.
However, to do so I need to merge my segment data file with my annual data file (master file).
The command I write is: "merge 1:1 gvkey datadate using (segment data location)"
I seem to get the message "variables gvkey datadate do not uniquely identify observations in the master data" I have tried with 1:m merge and m:1 merge as well. If anyone could help me merge the two data sets, it would be highly appreciated.
Fred
Edit: here are screen dumps of how the datasets look like.

I am writing a research paper where I will look at the difference between US firms with foreign operations versus US firms with purely domestic revenue stream.
However, to do so I need to merge my segment data file with my annual data file (master file).
The command I write is: "merge 1:1 gvkey datadate using (segment data location)"
I seem to get the message "variables gvkey datadate do not uniquely identify observations in the master data" I have tried with 1:m merge and m:1 merge as well. If anyone could help me merge the two data sets, it would be highly appreciated.
Fred
Edit: here are screen dumps of how the datasets look like.
Comment