
|
楼主: liyichen17
|
12395
8
[问答] 请问:如何画出这样的直方图? |
|
讲师 3%
-
|
回帖推荐用个笨方法,算出每个年龄段占每年所有人群的百分比~
ods listing close;
ods output CrossTabFreqs=t2(keep=age year colpercent where=(colpercent is not missing));
proc freq data=t1;
table age*year/nopercent norow nofreq;
run;
ods listing;
proc gchart data=t2;
vbar year/group=age discrete patternid=midpoint sumvar=colpercent type=mean;
run;
| ||
|
|
| ||
| ||
| ||
加好友,备注cda京ICP备16021002号-2 京B2-20170662号
京公网安备 11010802022788号
论坛法律顾问:王进律师
知识产权保护声明
免责及隐私声明


