楼主: 苗条肥仔
2118 2

[原创博文] 询问:Tabulate的一些事情 [推广有奖]

  • 0关注
  • 0粉丝

大专生

21%

还不是VIP/贵宾

-

威望
0
论坛币
240 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
896 点
帖子
41
精华
0
在线时间
24 小时
注册时间
2009-2-24
最后登录
2010-12-19

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
今天想做一个数据的图表,将22个变量都Class后,无法正确制图。

被迫用两个Proc Tabulate来完成任务。。

现在想咨询一下,Tabulate最多可以Class多少变量。

还有Class和By有什么区别啊。。。
二维码

扫码加我 拉你入群

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

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

关键词:Tabulate Late Abu ATE LAT

沙发
苗条肥仔 发表于 2009-11-28 12:27:02 |只看作者 |坛友微信交流群
没人知道吗????

使用道具

藤椅
bobguy 发表于 2009-11-29 02:54:42 |只看作者 |坛友微信交流群
苗条肥仔 发表于 2009-11-27 19:55
今天想做一个数据的图表,将22个变量都Class后,无法正确制图。

被迫用两个Proc Tabulate来完成任务。。

现在想咨询一下,Tabulate最多可以Class多少变量。

还有Class和By有什么区别啊。。。
Last thin first, the BY will generate a table for each by level. Class will be a part of headind in every table.

Do you think there is anyone who can understand your tabulate table in 22 classes?

Last, SAS does have limitations. Here is the log.


114
115  proc tabulate data=t1;
116  class x1-x30;
117  var y;
118  table x1,
119          x2*x3*x4*x5*x6*x7*x8*x9*x10*
120          x11*x12*x13*x14*x15*x16*x17*x18*x19*x20*
121          x21*x22*x23*x24*x25*x26*x27*x28*x29*x30*
122          y
123          ;
124  run ;

ERROR: Limit of 2147483647 potential interactions within a crossing exceeded for the table
       statement at line 118.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 10 observations read from the data set WORK.T1.
NOTE: PROCEDURE TABULATE used (Total process time):
      real time           1.21 seconds
      cpu time            0.07 seconds


135
136  proc tabulate data=t1;
137  class x1-x30;
138  var y;
139  table x1,
140          x2*x3*x4*x5*x6*x7*x8*x9*x10*
141          x11*x12*x13*x14*x15*x16*x17*x18*x19*x20*
142          x21*x22*x23*x24*x25*x26*x27*x28*x29*x30*
143          y
144          ;
145  run ;

ERROR: Page size exceeded by column titles at line 139.
NOTE: The SAS System stopped processing this step because of errors.
NOTE: There were 10 observations read from the data set WORK.T1.
NOTE: PROCEDURE TABULATE used (Total process time):
      real time           0.15 seconds
      cpu time            0.06 seconds

使用道具

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

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-5-1 18:50