欢迎来到天天文库
浏览记录
ID:52943143
大小:226.45 KB
页数:11页
时间:2020-04-04
《医学统计学与SAS软件-t检验.pptx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、医学统计学与SAS软件--计量资料的统计描述与t检验佳木斯大学公共卫生学院流行病与卫生统计教研室MEANS过程基本语法:PROCMEANS;BY;CLASSvariable(s);OUTPUT2、(s)>;VARvariable(s);WEIGHTvariable;MEANS过程procmeansdata=sashelp.class;classsex;varweight;run;procsortdata=sashelp.classout=a;bysex;run;procmeansdata=a;bysex;varweight;run;MEANS过程MEANS过程class语句与by语句的区别class语句是按照变量分成亚组进行分析by语句是按照指3、定变量分成两组进行分析,分别给出各组的值UNIVARIATE过程基本语法:PROCUNIVARIATE;BYvariables;CLASSvariable;FREQvariable;HISTOGRAM;OUTPUT;PPPLOT;PROBPLOT;QQ4、PLOT;VARvariables;WEIGHTvariable;UNIVARIATE过程procunivariatedata=sashelp.class;varweightheight;qqplotweight;run;procunivariatedata=sashelp.classnormal;normal选项是要求做正态性检验varweight;run;UNIVARIATE过程procunivariatedata=sashelp.classnormal;varweight;output5、out=apctlpre=ppctlpts=9599;run;TTEST过程基本语法:PROCTTEST;CLASSvariable;PAIREDvariables;BYvariables;VARvariables;FREQvariable;WEIGHTvariable;TTEST过程procttestdata=sashelp.class;classsex;varweight;run;TTEST过程datatmp;inputx1x2;datalines;583444685237;run;proc6、ttestdata=tmp;pairedx1*x2;run;
2、(s)>;VARvariable(s);WEIGHTvariable;MEANS过程procmeansdata=sashelp.class;classsex;varweight;run;procsortdata=sashelp.classout=a;bysex;run;procmeansdata=a;bysex;varweight;run;MEANS过程MEANS过程class语句与by语句的区别class语句是按照变量分成亚组进行分析by语句是按照指
3、定变量分成两组进行分析,分别给出各组的值UNIVARIATE过程基本语法:PROCUNIVARIATE;BYvariables;CLASSvariable;FREQvariable;HISTOGRAM;OUTPUT;PPPLOT;PROBPLOT;QQ
4、PLOT;VARvariables;WEIGHTvariable;UNIVARIATE过程procunivariatedata=sashelp.class;varweightheight;qqplotweight;run;procunivariatedata=sashelp.classnormal;normal选项是要求做正态性检验varweight;run;UNIVARIATE过程procunivariatedata=sashelp.classnormal;varweight;output
5、out=apctlpre=ppctlpts=9599;run;TTEST过程基本语法:PROCTTEST;CLASSvariable;PAIREDvariables;BYvariables;VARvariables;FREQvariable;WEIGHTvariable;TTEST过程procttestdata=sashelp.class;classsex;varweight;run;TTEST过程datatmp;inputx1x2;datalines;583444685237;run;proc
6、ttestdata=tmp;pairedx1*x2;run;
此文档下载收益归作者所有