全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
777 2
2024-03-24
reshape long E_Score, i(RIC) j(year)
(j = 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
> 2020 2021 2022)
variable id does not uniquely identify the observations
    Your data are currently wide. You are performing a reshape long. You specified i(RIC) and j(year).
    In the current wide form, variable RIC 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);
这怎么处理呢?

附件列表
d29b678ba480552a2f29590abb3f517.png

原图尺寸 184.75 KB

d29b678ba480552a2f29590abb3f517.png

二维码

扫码加我 拉你入群

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

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

全部回复
2024-3-24 13:32:59
给出你的数据 这是数据结构不符合要求
二维码

扫码加我 拉你入群

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

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

2024-3-25 00:09:11
wdlbcj 发表于 2024-3-24 13:32
给出你的数据 这是数据结构不符合要求
你好,可以看一下我最新的求助吗?我把数据截图了,万分感谢。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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