已阅读5页,还剩1页未读, 继续免费阅读
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
实验八 卡方分析与线性回归 植保133 裴小津 2013010320data abc;do a=1 to 2;do b= 1 to 2;input c;output ;end ;end;cards;26 184 50 200proc freq;weight c;tables a*b/chisq expected nopercent nocol;run;The SAS System 00:19 Sunday, January 1, 2006 1 The FREQ Procedure Table of a by b a b Frequency Expected Row Pct 1 2 Total 1 26 184 210 34.696 175.3 12.38 87.62 2 50 200 250 41.304 208.7 20.00 80.00 Total 76 384 460 Statistics for Table of a by b Statistic DF Value Prob Chi-Square 1 4.8037 0.0284 Likelihood Ratio Chi-Square 1 4.8944 0.0269 Continuity Adj. Chi-Square 1 4.2671 0.0389 Mantel-Haenszel Chi-Square 1 4.7932 0.0286 Phi Coefficient -0.1022 Contingency Coefficient 0.1017 Cramers V -0.1022 Fishers Exact Test Cell (1,1) Frequency (F) 26 Left-sided Pr = F 0.9903 Table Probability (P) 0.0091 Two-sided Pr |r| under H0: Rho=0 x y x 1.00000 -0.83714 0.0049 y -0.83714 1.00000 0.0049data new;infile D:shuju.txt;input x1 x2 y;proc corr nosimple;var x1 x2 y;run;The SAS System 01:37 Sunday, January 1, 2006 10 The CORR Procedure 3 Variables: x1 x2 y Pearson Correlation Coefficients, N = 13 Prob |r| under H0: Rho=0 x1 x2 y x1 1.00000 -0.71738 0.62939 0.0058 0.0212 x2 -0.71738 1.00000 0.01347 0.0058 0.9652 y 0.62939 0.01347 1.00000 0.0212 0.9652data new;input x y;cards;35.5 12 34.1 16 31.7 9 40.3 2 36.8 7 40.2 3 31.7 13 39.2 9 44.2 -1proc reg;model y=x;proc glm;model y=x;run;The SAS System 01:06 Sunday, January 1, 2006 6 The GLM ProcedureDependent Variable: y Sum of Source DF Squares Mean Square F Value Pr F Model 1 174.8887762 174.8887762 16.40 0.0049 Error 7 74.6667793 10.6666828 Corrected Total 8 249.5555556 R-Square Coeff Var Root MSE y Mean 0.700801 41.99128 3.265989 7.777778 Source DF Type I SS Mean Square F Value Pr F x 1 174.8887762 174.8887762 16.40 0.0049 Source DF Type III SS Mean Square F Value Pr F x 1 174.8887762 174.8887762 16.40 0.0049 Standard Parameter Estimate Error t Value Pr |t| Intercept 48.54931936 10.12778626 4.79 0.0020 x -1.09962204 0.27156710 -4.05 0.0049data new;input x y;l=log(y/(1-y);m=log(1/(1-y);g=log(1/log(1/y);cards;1 0.00043 5 0.0049 12 0.0087 17 0.016 24 0.05130 0.117 36 0.217 42 0.415 50 0.765 56 0.80proc reg;model y l m g=x;run;The SAS System 01:06 Sunday, January 1, 2006 7 The REG Procedure Model: MODEL1 Dependent Variable: y Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr F Model 1 0.72626 0.72626 36.02 0.0003 Error 8 0.16131 0.02016 Corrected Total 9 0.88757 Root MSE 0.14200 R-Square 0.8183 Dependent Mean 0.23950 Adj R-Sq 0.7955 Coeff Var 59.28848 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr |t| Intercept 1 -0.17319 0.08213 -2.11 0.0680 x 1 0.01512 0.00252 6.00 0.0003 The SAS System 01:06 Sunday, January 1, 2006 8 The REG Procedure Model: MODEL1 Dependent Variable: l Analysis of Variance Sum of Mean Source DF Squares Square F Value Pr F Model 1 76.10235 76.10235 288.19 |t| Intercept 1 -6.81696 0.29721 -22.94 .0001 x 1 0.15474 0.00912 16.98 F Model 1 2.48210 2.48210 21.24 0.0017 Error 8 0.93477 0.11685 Corrected Total 9 3.41687 Root MSE 0.34183 R-Square 0.7264 Dependent Mean 0.40454 Adj R-Sq 0.6922 Coeff Var 84.49873 Parameter Estimates Parameter Standard Variable DF Estimate Error t Value Pr |t| Intercept 1 -0.35840 0.19770 -1.81 0.1074 x 1 0.02795 0.00606 4.61 0.0017 The SAS System 01:06 Sunday, January 1, 2006 10 The REG Procedure Model: MODEL1 Dependent Variable: g Ana
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 《认识食品增味剂》
- 中考化学总复习第二单元探秘水世界第二课时物质构成的奥秘市赛课公开课一等奖省名师获奖课件
- 九年级物理上册4.3电阻导体对电流的阻碍作用教案省公开课一等奖新名师获奖课件
- 高考物理复习第七章静电场基础课3电容器带电粒子在电场中的运动市赛课公开课一等奖省名师获奖
- 2024年含担保人借款的合同范本
- 资金的借款合同范本
- 苏教版三年级数学认识长方形和正方形市公开课一等奖市赛课金奖课件
- 大学分子生物学经典双语C2geneandchromosome省公开课金奖全国赛课一等奖微课获奖
- NewUnit2SectionA市公开课一等奖省赛课微课金奖课件
- 电机测试知识考试题
- (2021年整理)公司法案例分析题(附解析)
- 林麝养殖项目可行性研究报告
- 儿童卡通风防拐骗安全教育主题班会教育课件ppt模板
- 2019四年级国测语文试卷
- 医院检验报告单模板(尿检)
- 工业机器人坐标系.ppt
- 24时计时法评课稿
- 数独活动方案(共3篇)
- 迅达电梯超详细故障代码中文版
- 常见原版桥梁章节AR 蓝思值.xlsx
- GB∕T 778.1-2018 饮用冷水水表和热水水表 第1部分:计量要求和技术要求
评论
0/150
提交评论