上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 71 下一页

2013年2月15日

【SAS NOTES】proc reg 单变量线性回归

摘要: 1 ods graphics on;2 proc reg data=mysas.mmstwo plots=fitplot;3 model wangjian=wangnei;4 run;对于可显示的图形有多种,可参考sas帮助。 阅读全文

posted @ 2013-02-15 10:35 colipso 阅读(961) 评论(0) 推荐(0) 编辑

2013年2月14日

【SAS NOTES】proc corr 检验变量相关性

摘要: 1 ods graphics on;2 proc corr data=mysas.mmstwo plots=(scatter matrix);3 var wangnei;4 with wangjian;5 run;The SAS System 17:32 Saturday, February 14, 2009 39The CORR Procedure 1 With Variables: wangjian 1 Variables: wangnei ... 阅读全文

posted @ 2013-02-14 22:50 colipso 阅读(3419) 评论(0) 推荐(0) 编辑

【SAS NOTES】proc freq 检验两分类变量

摘要: 1 proc freq data=mysas.mmstwo;2 tables wangnei*wangjian;3 run;可增加图形的完整类型为:odc graphics on;proc freq data=****; tables variable*variable /options plots=*****;run;options contain agree chisq cl cmh exact measures plcorr relrisk trendplot contain cumfreqplot deviationplot freqplot kappaplot oddsrt... 阅读全文

posted @ 2013-02-14 22:34 colipso 阅读(1299) 评论(0) 推荐(0) 编辑

【SAS NOTES】proc means 指定检验类型

摘要: 1 proc means data=mysas.mmstwo n t p99 range;2 var wangnei;3 run;统计类型包括:clm css cv kurtosis lclm max mean min mode n nmiss等等等等等等可以用alpha=.10 来设置 置信水平:proc means data=**** alpha=.01 n clm; 阅读全文

posted @ 2013-02-14 22:19 colipso 阅读(482) 评论(0) 推荐(0) 编辑

【SAS NOTES】proc univariate检查单变量分布

摘要: 1 proc univariate data=mysas.mmstwo;2 var wangnei;3 run;结果The SAS System 17:32 Saturday, February 14, 2009 1 The UNIVARIATE Procedure Variable: wangnei Moments ... 阅读全文

posted @ 2013-02-14 20:05 colipso 阅读(1630) 评论(0) 推荐(0) 编辑

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) 编辑

上一页 1 ··· 57 58 59 60 61 62 63 64 65 ··· 71 下一页

导航