- 1、本文档共31页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Sas Logistic regression
Introduction
Probability, Odds, and Odds Ratios
Logistic Regression
ROC Curves
SAS Logistic Regression
Jason Brinkley - Department of Biostatistics
February 2, 2009
Jason Brinkley - Department of Biostatistics SAS Logistic Regression
Introduction
Probability, Odds, and Odds Ratios
Logistic Regression
ROC Curves
Traditional Regression
I In traditional multiple regression, the intent is to study
what effect different covariates have on a quantitative
response.
I There are many scenarios when the main question of
interest involves a dichotomous response: Yes/No,
Success/Fail, Sick/Well, etc.
I Traditional methods fail to adequately model this kind of
data, let’s look at an example.
Jason Brinkley - Department of Biostatistics SAS Logistic Regression
Introduction
Probability, Odds, and Odds Ratios
Logistic Regression
ROC Curves
Accident Data
I (From Cody) Let’s say we want to see if age, vision
status, driver education, and gender can be used to
predict whether a person had an accident in the past year.
I Consider a sample of such individuals (see the website for
related files).
I So we can import the data from Excel using the Proc
Import statement.
Jason Brinkley - Department of Biostatistics SAS Logistic Regression
Introduction
Probability, Odds, and Odds Ratios
Logistic Regression
ROC Curves
SAS PROC IMPORT OUT= WORK.ACCIDENT
SAS DATAFILE= U:\SAS Workshop\Lecture 3 - Linear and Logistic Regression\Cody\accident.xls
SAS DBMS=EXCEL REPLACE;
SAS RANGE=accident$;
SAS GETNAMES=YES;
SAS MIXED=NO;
SAS SCANTEXT=YES;
SAS USEDATE=YES;
SAS SCANTIME=YES;
SAS RUN;
SAS
SAS PROC FORMAT;
SAS
SAS VALUE VISION 0 = ’No Problem’
SAS 1 = ’Some Problem’;
SAS VALUE YES_NO 0 = ’No’
SAS 1 = ’Yes’;
SAS RUN;
Jason Brinkley - Department of Biostatistics SAS Logistic Regression
Introduction
Probability, Odds, and Odds Ratios
Logistic Regression
ROC Curves
SAS DATA LOGISTIC;
SAS
SAS Set Accident;
SAS
SAS LABEL
SAS ACCIDENT = ’Accident in Last Year?’
SAS AGE = ’Age of Driver’
SAS VISION = ’Vision
您可能关注的文档
- Perceptual Evaluation of Tone Reproduction Operators using the Cornsweet-Craik-O’Brien Ill.pdf
- pge guideline chinese march 2008 revised.pdf
- Personal treatment experience forsevere generalized pustular psoriasisof pregnancy-two case reports.pdf
- Phase coexistance in polydisperse mixture of hard-sphere colloidal and flexible chain parti.pdf
- Phase lapses in scattering through multi-electron quantum dots Mean-field and few-particle.pdf
- peristaltic_pumps_17000056.pdf
- Phonological grammar shapes the auditory cortex a functional magnetic resonance imaging stu.pdf
- Phonics(ea, ee).ppt
- Physical Geology & Earth Systems Science 2009.pdf
- Physical Reach of a Neutrino Factory in the 2+2 and 3+1 Four-Family Scenario.pdf
- SAP的镇痛镇静治疗(xm-11-22).pdf
- SampleTermSheet.pdf
- SAT2法语考试题型介绍.pdf
- SATA AHCI驱动安装方法.doc
- sat2016考试写作变化详解-智课教育出国考试.pdf
- SATA-6-Gbs-The-Path-from-3gbs-to-6gbs.pdf
- SAT50组高大上的英文单词分享.pdf
- Satellite Ireland An Investigation of the Outcomes from a Government Sponsored Broadband Tr.pdf
- Satellite survival in cold dark matter cosmology.pdf
- SARS in Taiwan 84 were fatal. The Study.pdf
最近下载
- DLT441-2004《火力发电厂高温高压蒸汽管道蠕变监督规程》.pdf VIP
- Unit3LivingLegendsReadingandThinking教学设计高中英语人教版.docx VIP
- 五年级美术《为作文画插图》.ppt VIP
- 2026届新高考物理冲刺复习“配速法”解决带电粒子在复合场中的运动.pptx VIP
- 玉米期货分析报告.docx VIP
- 铁道工程技术论文-铁路路基边坡病害及处理措施.docx
- 2025年小学语文部编版五年级下册《选择题》专项练习题(共4组,附答案)(必考.pdf VIP
- 信息系统应用安全第5部分:代码安全检测10929-2020-.pdf
- 月饼安全生产培训.pptx
- 2024年新高考Ⅰ卷、Ⅱ卷、甲卷诗歌鉴赏试题讲评课件.pptx
文档评论(0)