全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
1296 2
2018-10-25
比如,通过ID 变量来合并两个数据,主数据的ID是1、1、2、3、3、4,调用数据的ID是1、2、3、4、5、6、7、8、9。这时候应该怎么写,用merge ID using using_filename,为什么结果显示variable ID does not uniquely identify observations in the master data
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2018-10-25 22:54:08
Please type "help merge".
There are many kinds in merge.
In your question, you have two "1" in master data but only one in using data.  You could keep only one "1" in your master data  by using "duplicates drop ..." and then merge them,if you don't want to delete it in master data, you may use "merge m:1"
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2018-10-26 10:45:04
ritaing 发表于 2018-10-25 22:54
Please type "help merge".
There are many kinds in merge.
In your question, you have two "1" in mas ...
谢谢,已解决
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群