- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Multiple Logistic Regression.ppt
Multiple Logistic Regression RSQUARE, LACKFIT, SELECTION, and interactions Introduction Just as with linear regression, logistic regression allows you to look at the effect of multiple predictors on an outcome. Consider the following example: 15- and 16-year-old adolescents were asked if they have ever had sexual intercourse. The outcome of interest is intercourse. The predictors are race (white and black) and gender (male and female). Example from Agresti, A. Categorical Data Analysis, 2nd ed. 2002. Here is a table of the data: Entering the Data in SAS The data set intercourse is created with the variables “white” (1 if white, 0 if black), “male” (1 if male, 0 if female), and “intercourse” (1 if yes, 0 if no). We want to examine the odds of having intercourse with race and gender as predictors. Enter the code on the next slide into SAS. Creating the Data Set Intercourse Multiple Logistic Regression: Main Effects First look at the effect of race and gender with no interaction. The SAS code is similar to that of simple logistic regression; one more independent variable has been added to the model statement. Entering the following code into SAS: “descending” models the probability that intercourse = 1 (yes) rather than = 0 (no). “rsquare” requests the R2 value from SAS; it is interpreted the same way as the R2 from linear regression. “lackfit” requests the Hosmer and Lemeshow Goodness-of-Fit Test. This tells you if the model you have created is a good fit for the data. SAS Output: R2 Interpreting the R2 value The R2 value is 0.9907. This means that 99.07% of the variability in our outcome (intercourse) is explained by including gender and race in our model. PROC LOGISTIC Output Interpreting Output Notice that the race and gender terms are both statistically significant (p 0.0001 and p = 0.0040, respectively). The logistic regression model is:log(odds) = β0 + β1(white) + β2(male) log(odds) = -0.4555 – 1.3135(white) + 0.6478(male) The odds of having interc
您可能关注的文档
- §3-3 走向成熟.ppt
- 01.ppt-《网络信息安全》.ppt
- 1.5 有理数的乘方1.5.1 乘方.ppt
- 12th U.S.North American Mine Ventilation Symposium.ppt
- 13、义犬复仇.ppt
- 16 Distributed Structures.ppt
- 20.1.2 中位数和众数 (第二课时).ppt
- 2002STIM-LAB Proppant Consortium.ppt
- 2009年初中学业考查历史热点专题复习.ppt
- 2011-LED专利态势及预警分析.ppt
- NETW 05A APPLIED WIRELESS SECURITY Encryption.ppt
- Nitrogen Cycle.ppt
- NRSA Training Grants and Fellowships Basics.ppt
- Numerical Methods.ppt
- One-Way ANOVA.ppt
- ox01ox01-第六章.ppt
- Part 3 EFFECTIVE LISTENING.ppt
- Pay more attention to the adverbs used in the text..ppt
- Please look at some pictures…….ppt
- Receptor Theory & Toxicant-Receptor Interactions.ppt
文档评论(0)