欢迎来到天天文库
浏览记录
ID:58879940
大小:141.50 KB
页数:78页
时间:2020-09-30
《SAS使用程序范例ppt课件.ppt》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、统计软件SAS程序范例t测验方差分析直线回归分析协方差分析t检验样本平均数与总体平均数的差异显著性检验配对试验资料的t检验非配对试验资料的t检验样本平均数与总体平均数的差异显著性检验datatestt1;inputx@@;differ=x-27.5;cards;32.528.628.424.729.127.229.833.329.7;procmeansnmeanstderrtprt;run;运行结果TheMEANSProcedureVariableNMeanStdErrortValuePr>
2、t
3、x929.25555560.86234683
4、3.93<.0001differ91.75555560.86234682.040.0762配对试验资料的t检验datatestt2;inputtreatx1x2@@;differ=x1-x2;cards;12722.2951.422866.71417.032675.91275.342169.22228.552253.92462.662415.12715.4;procmeansmeanstderrtprt;vardiffer;run;运行结果TheMEANSProcedureAnalysisVariable:differMeanStdErro
5、rtValuePr>
6、t
7、675.4666667391.52539521.730.1451非配对试验资料的t检验datatestt3;inputvarietyx@@;cards;118.68120.67118.42118.00117.44115.95218.68223.22221.42219.00218.92;procttest;classvariety;varx;run;运行结果TheTTESTProcedureT-TestsVariableMethodVariancesDFtValuePr>
8、t
9、xPooledEqual9-1.920.
10、0868xSatterthwaiteUnequal7.51-1.870.1001EqualityofVariancesVariableMethodNumDFDenDFFValuePr>FxFoldedF451.660.5880方差分析单因素完全随机化试验重复数相等资料单因素完全随机化试验重复数不等资料两因素交叉分组试验单独观测值资料两因素交叉分组试验有重复观测值资料次级样本含量相等的二因素系统分组资料单因素随机区组设计试验资料拉丁方设计试验结果两因素随机区组设计试验资料两因素裂区设计试验资料单因素完全随机化试验重复数相等资料的方差分析da
11、taanova1;inputvarietyx@@;cards;11211011411611211828210212214212216314316313316310315416418420416414416;procanova;classvariety;modelx=variety;meansvariety/duncan;run;运行结果TheANOVAProcedureClassLevelInformationClassLevelsValuesvariety41234Numberofobservations24TheANOVAProcedu
12、reDependentVariable:xSumofSourceDFSquaresMeanSquareFValuePr>FModel367.166666722.38888893.430.0369Error20130.66666676.5333333CorrectedTotal23197.8333333R-SquareCoeffVarRootMSExMean0.33951118.149392.55603914.08333SourceDFAnovaSSMeanSquareFValuePr>Fvariety367.1666666722.38888
13、8893.430.0369TheANOVAProcedureDuncan'sMultipleRangeTestforxNOTE:ThistestcontrolstheTypeIcomparisonwiseerrorrate,nottheexperimentwiseerrorrate.Alpha0.05ErrorDegreesofFreedom20ErrorMeanSquare6.533333NumberofMeans234CriticalRange3.0783.2313.328Meanswiththesameletterarenotsign
14、ificantlydifferent.DuncanGroupingMeanNvarietyA16.66764ABA14.00063BABA13.66761BB12.00062单因
此文档下载收益归作者所有