全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1761 1
2015-09-30
程序如下:
data score;
  input id job $ score @@;
cards;
01 chi  80 01 math 75 01 eng  95 02 chi  70 02 math 85 02 eng  92
03 chi  85 03 math 80 03 eng  94 04 chi  93 04 math 96 04 eng  88
05 chi  80 05 math 99 05 eng  86
;
proc sort;
by job id score;
proc print;
run;
data _NULL_;
set score end=final;
title 'courses' marks analysis';
title '---------------------------';
subsco=subsco*score;
totsco=totsco*score;
subid+1;
totid+1;
put id job 5-8 score;
subsco=0; subid=0;
if final then put '全组总分为:' @20 'id=' totid @26 '成绩=' totsco;
proc chart;
vbar job/sumbar=score;

求问为什么结果没有chart???
二维码

扫码加我 拉你入群

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

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

全部回复
2015-10-1 22:16:43
朋友 你的程序最后

proc chart;
vbar job/sumbar=score;

少加了一个  run;
加上即可
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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