




已閱讀5頁(yè),還剩1頁(yè)未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說(shuō)明:本文檔由用戶(hù)提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
實(shí)驗(yàn)八 卡方分析與線性回歸 植保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. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶(hù)所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶(hù)上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶(hù)上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶(hù)因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 社區(qū)科普知識(shí)試題及答案
- 工程師建筑施工安全動(dòng)態(tài)試題及答案
- 芯片短缺背景下2025年汽車(chē)行業(yè)應(yīng)對(duì)策略與汽車(chē)改裝市場(chǎng)報(bào)告
- 河南開(kāi)放大學(xué)2025年《無(wú)線局域網(wǎng)組建》形考終考作業(yè)答案
- 2025年北京市東城區(qū)九年級(jí)初三一模英語(yǔ)試卷(含答案)
- 新能源汽車(chē)技術(shù)商業(yè)化路徑探索試題及答案
- 食品添加劑在方便食品中的安全性評(píng)估與添加劑風(fēng)險(xiǎn)評(píng)估報(bào)告
- 礦山智能化開(kāi)采無(wú)人作業(yè)技術(shù)標(biāo)準(zhǔn)化研究與應(yīng)用報(bào)告
- 精準(zhǔn)戀愛(ài)測(cè)試題及答案
- 新能源汽車(chē)行業(yè)的發(fā)展趨勢(shì)與市場(chǎng)機(jī)遇研究試題及答案
- 功夫茶泡茶技巧
- 2024年四川省自然資源投資集團(tuán)有限責(zé)任公司招聘筆試參考題庫(kù)附帶答案詳解
- 幼兒園繪本故事:《小熊不刷牙》
- 中文版IEC62305-3建筑物的實(shí)體損害和生命危險(xiǎn)
- 中班教育隨筆大全《如何對(duì)待調(diào)皮的學(xué)生》
- 麗聲北極星分級(jí)繪本第一級(jí)上My Noisy Schoolbag教學(xué)設(shè)計(jì)
- 完整版繼電保護(hù)定值整定計(jì)算書(shū)
- 針刺傷的預(yù)防及處理(課堂PPT)
- 云南某公司合并財(cái)務(wù)報(bào)表附注
- 單相半橋逆變電路
- 第5章 瓦斯抽采參數(shù)的測(cè)定及計(jì)算
評(píng)論
0/150
提交評(píng)論