想把原本是孩子长表的纵向信息,如 孩子1 d11 d12 d13
孩子2 d11 d12 d13
变成宽表:如孩子1 d111 d121 d131 孩子2 d112 d122 d132
写出的命令如下:
reshape wide d11 d12 d13 ,i(id) j(d1)
(其中id是孩子的个人编码,d1是孩子的序列号(取1,2,3,4))
但是出现了错误r(9):d1 not unique within id;
there are multiple observations at the same d1 within id.
Type "reshape error" for a listing of the problem observations.
请问应该怎样处理这个错误呢?
附件列表