全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
676 1
2022-12-12
以前也用过这个命令是正常的,但是这次老报错
这是输入的命令:reshape long 企业绩效 企业规模 股权集中度 数字金融 覆盖广度 使用深度 数字化程度 营业收入增长率 资产负债率 企业年龄, i(i) j(year)
显示是这个:
(note: j = 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021)
variable id does not uniquely identify the observations
    Your data are currently wide.  You are performing a reshape long.  You specified i(i) and j(year).  In the
    current wide form, variable i 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);


二维码

扫码加我 拉你入群

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

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

全部回复
2022-12-13 22:43:04
不要写中文
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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