全部版块 我的主页
论坛 经济学人 二区 学术资源/课程/会议/讲座
1494 0
2019-02-24
您好!

请大师帮忙处理STATA 数据, 我看了STATA youtube 视频, 跟着同样的命令操作, 但是还是出错。
  • How to reshape data from wide format to long format
  • . reshape long LLP TA NI NPL ChgSP NOI TL AccSD ChgGDP, i(Bank ID) j(Year)variable ID not foundr(111);
    . reshape long LLP TA NI NPL ChgSP NOI TL AccSD ChgGDP, i(BankID) j(Year)no xij variables found    You typed something like reshape wide a b, i(i) j(j).    reshape looked for existing variables named a# and b# but could not find any.  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 |        +---------------+
            long to wide: reshape wide a b, i(i) j(j)    (j existing variable)        wide to long: reshape long a b, i(i) j(j)    (j    new   variable)r(111);我有9个Variables, 10 年的数据, 有偿求助!!!
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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