如何在SAS中创建Boxplot

时间:2016-12-17 09:53:43

标签: sas boxplot

我需要创建图表,如下图所示:

enter image description here

Resp_ID,Score,Country,Year
P004001,50,Singapore,2007
P004001,60,Australia,2008
P004002,90,Australia,2009
P004002,80,Singapore,2010
P004003,70,Australia,2007
P004004,90,Australia,2008
P004004,90,Australia,2009
P004005,70,Singapore,2010
P004005,55,Australia,2007
P004005,65,Australia,2008
P004006,96,Australia,2009
P004007,80,Singapore,2010
P004007,90,Australia,2007
P004008,85,Australia,2008
P004008,40,Singapore,2009
P004009,75,Australia,2010
P004010,55,Australia,2007
P004010,85,Singapore,2008
P004011,70,Australia,2009
P004011,60,Singapore,2010

请帮助解决这个问题,因为我几乎不知道图表并寻找快速解决方案。

axis1 order = (0 to 100 by 10) label=none;
axis2  label=none value=none major=none minor=none style=1;

proc boxplot data=Graph_2_INTRIM;
format score 8.;
plot score*Country_Name (Year) / vaxis=axis1 haxis=axis2 BLOCKPOS=4     CBLOCKVAR=(COLORCODE) ;
run;

但我没有在我的HAXIS上获得两个类别变量

0 个答案:

没有答案