楼主: jwh1973
22483 18

[编程问题求助] 关于reshape命令的使用 [推广有奖]

11
乐多多22 发表于 2017-12-3 21:53:17
tbwl 发表于 2016-4-17 20:41
我也得到了这个结果,Your data are currently wide.  You are performing a reshape long.  You specified ...
亲,你最后怎么解决的reshape的这个问题呀?跪求
Your data are currently wide.  You are performing a reshape long.  You specified i(code) and
    j(year).  In the current wide form, variable code should uniquely identify the observations.
    Remember this picture.


12
乐多多22 发表于 2017-12-3 21:54:33
射频约束 发表于 2016-10-28 16:04
我也在找解决办法 我觉得reshape解决不了这个问题 这个帖子怎么就无疾而终了呢
亲,你最后怎么解决的reshape的这个问题呀?跪求
Your data are currently wide.  You are performing a reshape long.  You specified i(code) and
    j(year).  In the current wide form, variable code should uniquely identify the observations.
    Remember this picture.

13
黃河泉 在职认证  发表于 2017-12-5 07:38:35
乐多多22 发表于 2017-12-3 21:54
亲,你最后怎么解决的reshape的这个问题呀?跪求
Your data are currently wide.  You are performing a ...
请用 dataex (先 ssc install dataex 并见说明) 将原始 Stata 资料中具有”代表性”的一部分资料列出,以供有意回答者实验之用,并能提供具体操作指令。并请参考 http://www.jianshu.com/p/9870080fe769,  https://bbs.pinggu.org/thread-5048204-1-1.html, 与    https://bbs.pinggu.org/thread-5917273-1-1.html

14
咸蛋超冬 在职认证  发表于 2018-1-4 11:24:06
输入 reshape error,显示出问题的数据,删掉这些数据就行了,我的数据使出现了两个“.”code

15
气锅7 发表于 2018-4-25 16:23:49
我的出现了                pid takes on too many values    怎么办呢

16
duyunhan 发表于 2020-7-16 15:14:21
我也在想办法

17
duyunhan 发表于 2020-7-16 15:18:42
reshape命令针对有缺失的个体运行时会出错,指标可以有缺失,个体不行。
已有 1 人评分论坛币 收起 理由
youngyaoguai + 5 精彩帖子

总评分: 论坛币 + 5   查看全部评分

18
圆了 发表于 2021-3-31 14:43:30
咸蛋超冬 发表于 2018-1-4 11:24
输入 reshape error,显示出问题的数据,删掉这些数据就行了,我的数据使出现了两个“.”code
太感谢了!!!!!!!!!!!!

19
书虫娟娟 发表于 2024-7-25 16:53:18
可能是下载下来的数据的格式有问题,我下载的wind的数据能顺利转换,但是别的数据库的数据有时候就不行,这时候转换为万得格式就OK了

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-24 22:55