Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.

Slides:



Advertisements
Similar presentations
SADC Course in Statistics Modelling ideas in general – an appreciation (Session 20)
Advertisements

Survival Analysis. Key variable = time until some event time from treatment to death time for a fracture to heal time from surgery to relapse.
Sociology 680 Multivariate Analysis Logistic Regression.
Qualitative predictor variables
Logistic Regression.
Week 3. Logistic Regression Overview and applications Additional issues Select Inputs Optimize complexity Transforming Inputs.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
HSRP 734: Advanced Statistical Methods July 24, 2008.
Regression With Categorical Variables. Overview Regression with Categorical Predictors Logistic Regression.
Logistic Regression Part I - Introduction. Logistic Regression Regression where the response variable is dichotomous (not continuous) Examples –effect.
Categorical Data. To identify any association between two categorical data. Example: 1,073 subjects of both genders were recruited for a study where the.
Logistic Regression STA302 F 2014 See last slide for copyright information 1.
April 25 Exam April 27 (bring calculator with exp) Cox-Regression
Multinomial Logistic Regression
Introduction to Logistic Regression. Simple linear regression Table 1 Age and systolic blood pressure (SBP) among 33 adult women.
EPI 809/Spring Multiple Logistic Regression.
Analyzing quantitative data – section III Week 10 Lecture 1.
(Correlation and) (Multiple) Regression Friday 5 th March (and Logistic Regression too!)
1 G Lect 11M Binary outcomes in psychology Can Binary Outcomes Be Studied Using OLS Multiple Regression? Transforming the binary outcome Logistic.
Logistic Regression Chapter 8.
Logistic regression for binary response variables.
Assessing Survival: Cox Proportional Hazards Model Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Logistic Regression In logistic regression the outcome variable is binary, and the purpose of the analysis is to assess the effects of multiple explanatory.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 12: Multiple and Logistic Regression Marshall University.
Categorical Data Prof. Andy Field.
Logistic Regression. Outline Review of simple and multiple regressionReview of simple and multiple regression Simple Logistic RegressionSimple Logistic.
7 Regression & Correlation: Rates Basic Medical Statistics Course October 2010 W. Heemsbergen.
Assessing Survival: Cox Proportional Hazards Model
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Correlation and Regression SCATTER DIAGRAM The simplest method to assess relationship between two quantitative variables is to draw a scatter diagram.
Logistic Regression STA2101/442 F 2014 See last slide for copyright information.
April 6 Logistic Regression –Estimating probability based on logistic model –Testing differences among multiple groups –Assumptions for model.
Business Intelligence and Decision Modeling Week 11 Predictive Modeling (2) Logistic Regression.
Introduction to Logistic Regression Rachid Salmi, Jean-Claude Desenclos, Alain Moren, Thomas Grein.
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 7 Logistic Regression I.
AN INTRODUCTION TO LOGISTIC REGRESSION ENI SUMARMININGSIH, SSI, MM PROGRAM STUDI STATISTIKA JURUSAN MATEMATIKA UNIVERSITAS BRAWIJAYA.
Logistic Regression. Conceptual Framework - LR Dependent variable: two categories with underlying propensity (yes/no) (absent/present) Independent variables:
When and why to use Logistic Regression?  The response variable has to be binary or ordinal.  Predictors can be continuous, discrete, or combinations.
April 4 Logistic Regression –Lee Chapter 9 –Cody and Smith 9:F.
Lecture Slide #1 Logistic Regression Analysis Estimation and Interpretation Hypothesis Tests Interpretation Reversing Logits: Probabilities –Averages.
Week 5: Logistic regression analysis Overview Questions from last week What is logistic regression analysis? The mathematical model Interpreting the β.
Assessing Binary Outcomes: Logistic Regression Peter T. Donnan Professor of Epidemiology and Biostatistics Statistics for Health Research.
Chapter 4: Introduction to Predictive Modeling: Regressions
Business Intelligence and Decision Modeling
Logistic Regression. Linear Regression Purchases vs. Income.
1 Multivariable Modeling. 2 nAdjustment by statistical model for the relationships of predictors to the outcome. nRepresents the frequency or magnitude.
Multiple Logistic Regression STAT E-150 Statistical Methods.
1 Chapter 16 logistic Regression Analysis. 2 Content Logistic regression Conditional logistic regression Application.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
1 Chapter 4: Introduction to Predictive Modeling: Regressions 4.1 Introduction 4.2 Selecting Regression Inputs 4.3 Optimizing Regression Complexity 4.4.
Logistic regression (when you have a binary response variable)
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Probability and odds Suppose we a frequency distribution for the variable “TB status” The probability of an individual having TB is frequencyRelative.
Logistic Regression Hal Whitehead BIOL4062/5062.
Logistic Regression An Introduction. Uses Designed for survival analysis- binary response For predicting a chance, probability, proportion or percentage.
Nonparametric Statistics
Logistic Regression Logistic Regression - Binary Response variable and numeric and/or categorical explanatory variable(s) –Goal: Model the probability.
Marshall University School of Medicine Department of Biochemistry and Microbiology BMS 617 Lecture 13: Multiple, Logistic and Proportional Hazards Regression.
LOGISTIC REGRESSION. Purpose  Logistical regression is regularly used when there are only two categories of the dependent variable and there is a mixture.
1 BUSI 6220 By Dr. Nick Evangelopoulos, © 2012 Brief overview of Linear Regression Models (Pre-MBA level)
Nonparametric Statistics
Logistic Regression When and why do we use logistic regression?
Statistics Sweden September 2004 Dan Hedlin
Multiple logistic regression
Stats Club Marnie Brennan
Nonparametric Statistics
Lecture 6: Introduction to effect modification (part 2)
Statistics Sweden September 2004 Dan Hedlin
Case-control studies: statistics
Presentation transcript:

Logistic Regression

Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the disease Interested to find the attributes that are associated with the onset of the disease Or interested to predict the probability of getting the disease, given a set of attributes Theory

Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the disease Interested to find the attributes that are associated with the onset of the disease Or interested to predict the probability of getting the disease, given a set of attributes Fits the model: Effectively a linear model for log odds Theory

Lung Cancer An age effect? Associated with smoking?

Logistic Regression Assess whether a variable is significantly associated with the response Quantify the association, in terms of odds ratio

Logistic Regression Assess whether a variable is significantly associated with the response Quantify the association, in terms of odds ratio Consider the equation Smoke Gender (Age – 20) where p = probability of getting lung cancer with baseline of a non-smoking female of age 20 Keep everything else constant to interpret the effects of each variable

Smoke Gender (Age – 20) Non-smoking male of age 20 is exp(0.02) = 1.02 times more likely than a non-smoking female of age 20 to get lung cancer Smoking female of age 20 is exp(1.4) = 4.06 times more likely than non-smoking female of age 20 Non-smoking female of age 50 is exp(30  0.01) = 1.35 times more likely than non-smoking female of age 20 Combining the effects Smoking male of age 50 is exp(  30) = 5.58 times more likely than a non-smoking female of age 20

Note the encodings!

Interpret based on encodings

Summary Large suite of statistical tools for analysing data Important to choose the appropriate tools for the kind of data available. Most statistical tests require particular assumptions to be valid – need to check these assumptions.