全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
2514 1
2016-05-22
在进行宽数据转换长数据时,总会出现
variable id does not uniquely identify the observations
    Your data are currently wide.  You are performing a reshape long.  You specified i(Code GOV CEOduality) and j(year).  In the current
    wide form, variable Code GOV CEOduality should uniquely identify the observations.  Remember this picture:

         long                                wide
        +---------------+                   +------------------+
        | i   j   a   b |                   | i   a1 a2  b1 b2 |
        |---------------| <--- reshape ---> |------------------|
        | 1   1   1   2 |                   | 1   1   3   2  4 |
        | 1   2   3   4 |                   | 2   5   7   6  8 |
        | 2   1   5   6 |                   +------------------+
        | 2   2   7   8 |
        +---------------+
    Type reshape error for a list of the problem observations.
r(9);

请问这是怎么回事?研究的问题是独立董事背景对ROA(2011-2015年数据)的影响,自变量是不同背景独立董事比例,还有控制变量中存在5年数据相同的情况,求大神帮助!!!

二维码

扫码加我 拉你入群

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

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

全部回复
2018-1-18 15:56:42
请问楼主这个问题解决了吗?
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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