




已閱讀5頁,還剩1頁未讀, 繼續(xù)免費(fèi)閱讀
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
實驗八 卡方分析與線性回歸 植保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. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 車輛收費(fèi)員職業(yè)健康與安全保障合同
- 工業(yè)園區(qū)廠房租賃標(biāo)準(zhǔn)合同樣本
- 設(shè)計安裝調(diào)試協(xié)議書范本
- 同居贈與協(xié)議書范本大全
- 礦山開采權(quán)轉(zhuǎn)讓與采石場資產(chǎn)合作合同
- 采購人員廉潔自律與消費(fèi)者權(quán)益保護(hù)協(xié)議
- 車輛質(zhì)押貸款合同范本庫
- 廠房租賃合同爭議解決協(xié)議書
- 電子商務(wù)代理業(yè)務(wù)全程服務(wù)合同范本
- 臺風(fēng)損毀鋼構(gòu)修復(fù)工藝
- 連云港事業(yè)單位筆試真題2024
- 影視制作基地裝修施工合同
- 河北省唐山市重點達(dá)標(biāo)名校2025屆中考聯(lián)考生物試卷含解析
- 2025年山東威海文旅發(fā)展集團(tuán)有限公司招聘筆試參考題庫含答案解析
- 內(nèi)分泌科室院感工作總結(jié)
- 餐飲服務(wù)企業(yè)各項管理制度體系
- 河北省廊坊市2024-2025學(xué)年八年級上學(xué)期10月期中考試數(shù)學(xué)試卷(含答案)
- 《水庫大壩安全管理條例》知識培訓(xùn)
- 餐飲行業(yè)智慧餐廳建設(shè)方案
- 與冪有關(guān)的運(yùn)算解答題(5大題型提分練)七年級數(shù)學(xué)下冊同步課堂(北師大版2024)
- 燃?xì)夤艿腊踩鹿蕬?yīng)急預(yù)案
評論
0/150
提交評論