全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
9361 4
2010-05-11
ods output ParameterEstimates=in1.ParameterEstimates&i.;
我用ods output的方法输出Logistic回归分析的结果。
循环六次得出六个数据集 ,然后我想从随便一个数据集中取出数据,
proc sql;
create table a as
select DF from in1.ParameterEstimates1
;
quit;
proc print data=a;run;
运行没有任何报错,但是不管怎样都出不了数据,也就是print不出东西  LOG如下 :
560  proc sql;
561  create table a as
562  select DF from in1.ParameterEstimates1
563  ;
NOTE: Compression was disabled for data set WORK.A because compression overhead would increase the
      size of the data set.
NOTE: Table WORK.A created, with 7 rows and 1 columns.

564  quit;
NOTE: PROCEDURE SQL used (Total process time):
      real time           0.10 seconds
      cpu time            0.06 seconds


565  proc print data=a;run;

NOTE: There were 7 observations read from the data set WORK.A.
NOTE: PROCEDURE PRINT used (Total process time):
      real time           0.01 seconds
      cpu time            0.01 seconds

这是什么原因? 之前好像运行的时候有一个
WARNING: Data too long for column "VAR1"; truncated to 96 characters to fit.

这个问题应该怎么解决呢?我用proc contents想看下,也是没有报错,但是不出任何东西……
SAS 内部产生数据集里面有数据……
二维码

扫码加我 拉你入群

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

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

全部回复
2010-5-12 10:30:52
试试 proc sql flow=30;
   create table a as...
看行吗?
二维码

扫码加我 拉你入群

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

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

2010-5-12 10:59:47
1# yz7891

Looks like the listing window closed; hence there is no result in output window.
Can you try that?
复制代码
二维码

扫码加我 拉你入群

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

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

2010-5-12 12:58:02
ods listing closed;
ods output ParameterEstimates=in1.ParameterEstimates&i.;
proc logistic ;
    *****core code****
run;
ods output closed;
ods listing;
listing 只有在开启状态才会产生proc print 的lst 结果!
二维码

扫码加我 拉你入群

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

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

2010-5-12 14:18:48
解决了 谢谢各位
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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