SAS上机练习题(四)参考答案.pdf_第1页
SAS上机练习题(四)参考答案.pdf_第2页
SAS上机练习题(四)参考答案.pdf_第3页
SAS上机练习题(四)参考答案.pdf_第4页
SAS上机练习题(四)参考答案.pdf_第5页
已阅读5页,还剩2页未读 继续免费阅读

下载本文档

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

文档简介

SAS SAS 2010 12 16 62 data a do row 1 to 3 do col 1 to 2 input f output end end cards 35 5 20 10 7 25 proc freq table row col chisq nopercent norol weight f run Frequency Row Pct Table of row by col col row1 2 Total 135 87 50 5 12 50 40 220 66 67 10 33 33 30 37 21 88 25 78 13 32 Total 6240102 StatisticDFValueProb Chi Square 232 7361 0001 Likelihood Ratio Chi Square 234 6664 0001 Mantel Haenszel Chi Square 131 1575 ChiSq row 226 3232 0001 row col Wald Chi Square 26 3232 P ChiSq Intercept 1 0 45540 24983 32400 0683 row1 1 1 49050 372316 0331 0001 row2 1 0 23780 33520 50310 4781 Logistic logit 0 4554 1 4905 row 1 0 2378 row 2 A row 1 1 row 2 0 B row 1 0 row 2 1 C row 1 1 row 2 1 Odds Ratio Estimates EffectPoint Estimate 95 Wald Confidence Limits row 1 vs 3 25 0007 11187 887 row 2 vs 3 7 1432 30622 129 OR row 1 vs 3 row 1 A 2 B 3 C A C OR 25 95 CI 7 111 87 887 A C B C OR 7 143 95 CI 2 306 22 129 SAS SAS 2010 12 16 65 proc format value yesnof 0 1 value resf 0 1 data a input x1 x7 label x1 x2 x3 x4 x5 x6 x7 format x1 x6 yesnof x7 resf cards 1 0 0 0 0 0 1 1 0 0 1 1 1 1 1 0 0 1 0 1 1 1 0 0 1 0 1 1 0 0 0 1 0 0 1 0 0 1 1 1 0 1 0 0 1 1 0 1 1 1 0 0 0 1 0 1 1 0 1 1 1 1 1 0 1 0 0 1 1 1 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 freq proc tabulate class x1 x7 table x1 x2 x3 x4 x5 x6 x7 n pctn keylabel n pctn run logistic proc logistic des des logistic class x1 x6 ref firstparam ref ref first OR first last model x7 x1 x6 selection stepwise run quit SAS SAS 2010 12 16 66 tabulate 2064 521135 48 630 001470 00 2453 332146 67 233 33466 67 2156 761643 24 535 71964 29 2163 641236 36 527 781372 22 1854 551545 45 844 441055 56 2062 501237 50 631 581368 42 Logistic Response Profile Ordered Valuex7 Total Frequency 11 25 20 26 X7 1 logistic logit 0 1 Class Level Information Design Variables Class Value 1 x1 0 1 x2 0 1 x3 0 1 x4 0 1 x5 0 1 x6 0 1 SAS SAS 2010 12 16 67 Summary of Stepwise Selection Effect StepEnteredRemoved DF Number In Score Chi Square Wald Chi SquarePr ChiSq Variable Label 1 x4 1 15 9928 0 0144 2 x1 1 25 5999 0 0180 X4 X1 Type III Analysis of Effects EffectDF Wald Chi SquarePr ChiSq x1 15 24590 0220 x4 15 37880 0204 Analysis of Maximum Likelihood Estimates ParameterDFEstimate Standard ErrorChi SquarePr ChiSq Intercept 1 0 37810 35051 16410 2806 x11 1 0 75550 32995 24590 0220 x41 1 0 79070 34095 37880 0204 Odds Ratio Estimates EffectPoint Estimate 95 Wald Confidence Limits x1 1 vs 0 4 5311 24416 512 x4 1 vs 0 4 8621 27818 502 OR 95 SAS SAS 2010 12 16 68 a b n n Crude OR 95 CI P value Adjusted OR 95 CI P value 20 64 5211 35 48 RefcRef 6 30 0014 70 00 4 242 1 269 14 179 0 01894 531 1 244 16 5120 0220 24 53 3321 46 67 Ref 2 33 334 66 67 2 285 0 379 13 765 0 3669 21 56 7616 43 24 Ref 5 35 719 64 29 2 3620 662 8 430 0 1853 21 63 6412 36 36 Ref Ref 5 27 7813 72 22 4 550 1 301 15 909 0 01774 862 1 278 18 5020 0204 18 54 5515 45 45 Ref 8 44 4410 55 56 1 5000 473 4 761 0 4914 20 62 5012 37 50 Ref 6 31 5813 68 42 3 610 1 084 12 026 0 0365 a logistic SAS b logistic SAS c Reference 51 25 49 log

温馨提示

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

评论

0/150

提交评论