2013年2月13日

【sas notes】proc sgplot拟合曲线

摘要: 1 proc sgplot data=mysas.mmstwo;2 reg x=date y=wangnei;3 loess x=date y=wangnei;4 pbspline x=date y=wangnei;5 run;其中每个回归类型可选的参数有clm group nolegclm nolegfit nomarkers 阅读全文

posted @ 2013-02-13 13:45 colipso 阅读(1632) 评论(0) 推荐(0) 编辑

【sas notes】proc sgplot折线图

摘要: 1 proc sgplot data=mysas.reportmms;2 series x=date y=wangnei_max/group=city;3 refline 5000000 6000000/axis=y;4 run;其中refline可以用来标出参考线 其参数有axis label transparency同样,该参考线也可以用在其他的sgplot图形中。 阅读全文

posted @ 2013-02-13 13:27 colipso 阅读(4447) 评论(0) 推荐(0) 编辑

【SAS NOTES】proc sgplot散点图

摘要: 1 proc sgplot data=mysas.mmstwo;2 scatter x=wangnei y=wangjian/group=city;3 run;还可以加上xaxis and yaxis 选项 其参数有label type values. 阅读全文

posted @ 2013-02-13 13:19 colipso 阅读(4224) 评论(0) 推荐(0) 编辑

【sas notes】proc sgplot

摘要: 1 proc sgplot data=mysas.mmsone;2 vbar date /response=wangnei stat=mean group=city;3 run;标准格式proc sgplot data=***; vbar(或hbar) variablename /options;options include:response stat group barwidth transparency.用于分类变量或非连续变量,也是一般在excel中常用的柱状图。2、对连续型变量用histogram和density来查看分布方式。histogram的参数有:scal and ... 阅读全文

posted @ 2013-02-13 13:09 colipso 阅读(3349) 评论(0) 推荐(0) 编辑

【sas notes】sas9.2安装

摘要: 注意事项:1、看sid的起始和结束时间,系统时间需要设定在介于他们之间。 阅读全文

posted @ 2013-02-13 12:15 colipso 阅读(363) 评论(0) 推荐(0) 编辑

导航