proc report data=sashelp.class nowd;
column name Weight pt;
define name/group;
define Weight/ order;
define pct/computed;
rbreak after/summarize suppress;
compute before ;
total=Weight;
endcomp;
compute pct;
pct=Weight/total;
endcomp;
run;
运行以上程序,发现output中的pct的值为空值,不知道如何修改,才能算出每个人体重占所有人体重和相应的百分比,求大侠指导,谢谢!