有朋友在QQ群上问道的一个问题,比较有代表性。 已有临床试验数据集bylw.dose6631,一共19893条观察值, 变量有 pid、 time、 group1 、dosegroup, 分别表示病人的id号、时间点(4,8,12)、组类型(对照和干预组)和剂量类型(1,2,3)。 这时很想知道知道使用样本的构成情况,很显然用下面代码很好搞定: libname bylw "D:\SAStem"; proc gchart data=bylw.dose6631; vbar group1/ discrete type=pct group=time subgroup=dosegroup inside=subpct g100 width=12; run; quit; 得到的图如下: 这个胚图真够丑的,这个暂且不论。 我们的目标图要类似这样的 Here is no comments yet by the time your rss reader get this, Do you want to be the first commentor? Hurry up