l********g 发帖数: 14 | 1 For PROC TRANSPOSE, what does it mean by saying that the column used for ID
statement can not have duplicate values?
在线等答案!
谢谢! | s**c 发帖数: 1247 | 2 一个ID不能出现多次
你是wide to long吧
ID
【在 l********g 的大作中提到】 : For PROC TRANSPOSE, what does it mean by saying that the column used for ID : statement can not have duplicate values? : 在线等答案! : 谢谢!
| l********g 发帖数: 14 | 3 好像不论怎样转,都不可以有重复值。我不知道这个重复值指什么,是指对于一个id
variable的value不可以重复吗?比如说id variable是pet, 其值是dog, cat,bird,
fish, etc,我看得tutorial解释是这样的:the column used for the ID statement
cannot have any duplicate values. For example, Mr. Black and Mr. White
cannot both have cats.
这我就不懂了,因为明明他给的数据里,每个人都有cat.
而且duplicate不是指重复值吗?
【在 s**c 的大作中提到】 : 一个ID不能出现多次 : 你是wide to long吧 : : ID
| c*******o 发帖数: 8869 | 4 id variable 的值要被用做未来的column name, 如果ID VARIABLE值有重复, 那就意味
着未来的TABLE中会有两个COLUMN用同一个NAME, 这是不允许的.
【在 l********g 的大作中提到】 : 好像不论怎样转,都不可以有重复值。我不知道这个重复值指什么,是指对于一个id : variable的value不可以重复吗?比如说id variable是pet, 其值是dog, cat,bird, : fish, etc,我看得tutorial解释是这样的:the column used for the ID statement : cannot have any duplicate values. For example, Mr. Black and Mr. White : cannot both have cats. : 这我就不懂了,因为明明他给的数据里,每个人都有cat. : 而且duplicate不是指重复值吗?
| h******e 发帖数: 1791 | 5 是分组的问题,检查你的by statement后的variables是不是对应多个var statement
后varible的值。或者事实let option 在transpose statement 里。 |
|