我把两个文件中的数据进行merge的过程中,都首先删除了重复变量,命令如下:
use c:\a.dta,clear
sort year
sort country,stable
duplicates drop country year,force
然后将两个文件中的数据进行merge,命令如下:
merge m:1 country using "c:\b.dta"
但结果总是显示“variable country does not uniquely identify observations in the using data"
请问这是为什么,如何解决,谢谢!