SAS作业.doc_第1页
SAS作业.doc_第2页
SAS作业.doc_第3页
SAS作业.doc_第4页
SAS作业.doc_第5页
已阅读5页,还剩12页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

例5-1data eg51;input name $ sex $ age salary educa $;label name=姓名 sex=性别 age=年龄;label salary=工资 educa=受教育情况;cards;李斯 男 20 1200 初王老五 女 25 1260 初赵柳 女 28 1350 中史奇 男 27 1350 高朱巴 男 30 1290 中刘久 男 35 1400 中康实 女 32 1410 高申山 男 31 1410 高;proc gchart data=eg51;VBAR sex;run;例6-1title 6种施氮法的小麦植株含氮量的方差分析;data mp97;input treat nitrogen;cards;1 2.9 2 4.0 3 2.6 4 0.5 5 4.6 6 4.01 2.3 2 3.8 3 3.2 4 0.8 5 4.6 6 3.31 2.2 2 3.8 3 3.4 4 0.7 5 4.4 6 3.71 2.5 2 3.6 3 3.4 4 0.8 5 4.4 6 3.51 2.7 2 3.6 3 3.0 4 0.5 5 4.4 6 3.7;proc anova;class treat;model nitrogen = treat;means treat/duncan;run; 6种施氮法的小麦植株含氮量的方差分析 The ANOVA Procedure Class Level Information(1) Class Levels Values treat 6 1 2 3 4 5 6 Number of Observations Read 30Dependent Variable: nitrogenSum of Source (2) DF Squares (3) Mean Square (4) F Value Pr FModel (7) 5 44.46300000 8.89260000 164.17 Ftreat 5 44.46300000 8.89260000 164.17 F(6) Model(7) 8 202.5829630 25.3228704 27.29 F fert 2 179.3807407 89.6903704 96.67 F(5) Model(6) 2 6.7666667 3.3833333 0.32 0.7314 Error(7) 21 223.7333333 10.6539683 Corrected Total(8) 23 230.5000000 R-Square(9) Coeff Var(10) Root MSE(11) y Mean 0.029356 13.18805 3.264042 24.75000 Source DF Type I SS(12) Mean Square F Value Pr F a 2 6.76666667 3.38333333 0.32 0.7314 Source DF Type III SS(13) Mean Square F Value Pr F A 2 6.76666667 3.38333333 0.32 0.7314 例7-1title 一元一次及二次回归;data ct;input x y;xsq=x*x;cards;5 1.0029 10 1.0013 15 1.0001 20 0.9990 25 0.998130 0.9979 35 0.9978 40 0.9981 45 0.9987 50 0.9996;proc reg;model y=x/p cli;model y=x xsq/p cli;output out=cxx p=pred l95=l95 u95=u95;proc gplot data=cxx;plot pred*x=pu95*x=ul95*x=l/overlay;run; 一元一次及二次回归 The REG Procedure Model: MODEL1 Dependent Variable: y Analysis of Variance Sum of Mean Source(1) DF(2) Squares(3) Square(4) F Value(5) Pr F(6) Model 1 0.00001154 0.00001154 6.75 0.0317 Error 8 0.00001367 0.00000171 Corrected Total 9 0.00002520 Root MSE(7) 0.00131 R-Square 0.4577 Dependent Mean 0.99935 Adj R-Sq 0.3899 Coeff Var 0.13080 Parameter Estimates(8) Parameter Standard Variable DF Estimate Error t Value Pr |t| Intercept 1 1.00141 0.00089295 1121.46 F Model 2 0.00002516 0.00001258 1775.95 |t| Intercept 1 1.00494 0.00009898 10152.9 .0001 x 1 -0.00042812 0.00000827 -51.78 .0001 xsq 1 0.00000642 1.46497E-7 43.85 .0001 The REG Procedure Model: MODEL2 Dependent Variable: y Output Statistics De

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论