Logistic Regression When and why do we use logistic regression?

Slides:



Advertisements
Similar presentations
Continued Psy 524 Ainsworth
Advertisements

Logistic Regression Psy 524 Ainsworth.
Multiple Regression in Practice The value of outcome variable depends on several explanatory variables. The value of outcome variable depends on several.
Logistic Regression.
6-1 Introduction To Empirical Models 6-1 Introduction To Empirical Models.
 Coefficient of Determination Section 4.3 Alan Craig
Regression With Categorical Variables. Overview Regression with Categorical Predictors Logistic Regression.
Multipe and non-linear regression. What is what? Regression: One variable is considered dependent on the other(s) Correlation: No variables are considered.
Multivariate Data Analysis Chapter 4 – Multiple Regression.
Lesson #32 Simple Linear Regression. Regression is used to model and/or predict a variable; called the dependent variable, Y; based on one or more independent.
(Correlation and) (Multiple) Regression Friday 5 th March (and Logistic Regression too!)
An Introduction to Logistic Regression
Multiple Regression Research Methods and Statistics.
Logistic Regression Chapter 8.
Statistical hypothesis testing – Inferential statistics II. Testing for associations.
Logistic Regression In logistic regression the outcome variable is binary, and the purpose of the analysis is to assess the effects of multiple explanatory.
Logistic Regression PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2012, Michael Kalsher.
Advantages of Multivariate Analysis Close resemblance to how the researcher thinks. Close resemblance to how the researcher thinks. Easy visualisation.
Logistic Regression.
Categorical Data Prof. Andy Field.
1 G Lect 11W Logistic Regression Review Maximum Likelihood Estimates Probit Regression and Example Model Fit G Multiple Regression Week 11.
Logistic Regression- Dichotomous Dependent Variables March 21 & 23, 2011.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Week 6: Model selection Overview Questions from last week Model selection in multivariable analysis -bivariate significance -interaction and confounding.
Soc 3306a Lecture 9: Multivariate 2 More on Multiple Regression: Building a Model and Interpreting Coefficients.
April 6 Logistic Regression –Estimating probability based on logistic model –Testing differences among multiple groups –Assumptions for model.
Logistic Regression Database Marketing Instructor: N. Kumar.
Multiple Regression and Model Building Chapter 15 Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Logistic (regression) single and multiple. Overview  Defined: A model for predicting one variable from other variable(s).  Variables:IV(s) is continuous/categorical,
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.
Week 5: Logistic regression analysis Overview Questions from last week What is logistic regression analysis? The mathematical model Interpreting the β.
Forecasting Choices. Types of Variable Variable Quantitative Qualitative Continuous Discrete (counting) Ordinal Nominal.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Model Building and Model Diagnostics Chapter 15.
Multiple Logistic Regression STAT E-150 Statistical Methods.
I271B QUANTITATIVE METHODS Regression and Diagnostics.
Linear Discriminant Analysis and Logistic Regression.
Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.
LOGISTIC REGRESSION Binary dependent variable (pass-fail) Odds ratio: p/(1-p) eg. 1/9 means 1 time in 10 pass, 9 times fail Log-odds ratio: y = ln[p/(1-p)]
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Logistic Regression Saed Sayad 1www.ismartsoft.com.
CSE 5331/7331 F'07© Prentice Hall1 CSE 5331/7331 Fall 2007 Regression Margaret H. Dunham Department of Computer Science and Engineering Southern Methodist.
ALISON BOWLING MAXIMUM LIKELIHOOD. GENERAL LINEAR MODEL.
1 1 Slide The Simple Linear Regression Model n Simple Linear Regression Model y =  0 +  1 x +  n Simple Linear Regression Equation E( y ) =  0 + 
1 Reg12W G Multiple Regression Week 12 (Wednesday) Review of Regression Diagnostics Influence statistics Multicollinearity Examples.
Roger B. Hammer Assistant Professor Department of Sociology Oregon State University Conducting Social Research Logistic Regression Categorical Data Analysis.
Nonparametric Statistics
PO 141: INTRODUCTION TO PUBLIC POLICY Summer I (2015) Claire Leavitt Boston University.
Logistic Regression: Regression with a Binary Dependent Variable.
Chapter 13 LOGISTIC REGRESSION. Set of independent variables Categorical outcome measure, generally dichotomous.
Chapter 12 REGRESSION DIAGNOSTICS AND CANONICAL CORRELATION.
Nonparametric Statistics
EHS Lecture 14: Linear and logistic regression, task-based assessment
Logistic Regression APKC – STATS AFAC (2016).
Drop-in Sessions! When: Hillary Term - Week 1 Where: Q-Step Lab (TBC) Sign up with Alice Evans.
John Loucks St. Edward’s University . SLIDES . BY.
Introduction to logistic regression a.k.a. Varbrul
Multiple logistic regression
Nonparametric Statistics
Multiple Regression A curvilinear relationship between one variable and the values of two or more other independent variables. Y = intercept + (slope1.
Comparing Several Means: ANOVA
I271b Quantitative Methods
Correlation and Regression-III
Categorical Data Analysis Review for Final
Introduction to Logistic Regression
Checking Assumptions Primary Assumptions Secondary Assumptions
Chapter 6 Logistic Regression: Regression with a Binary Dependent Variable Copyright © 2010 Pearson Education, Inc., publishing as Prentice-Hall.
Logistic Regression.
Regression Part II.
Presentation transcript:

Logistic Regression When and why do we use logistic regression? Binary Multinomial Theory behind logistic regression Interpreting logistic regression Slide 1

When and Why To predict an outcome variable that is categorical from one or more categorical or continuous predictor variables. Used because having a categorical outcome variable violates the assumption of linearity in normal regression. Slide 2

We will focus on regression with one predictor Outcome We predict the probability of the outcome occurring b0 and b1 Can be thought of in much the same way as multiple regression Note the normal regression equation forms part of the logistic regression equation Slide 3

Assessing the Model å The log-likelihood statistic [ ] ( ) [ ] å = - + N 1 i ln likelihood log Y P The log-likelihood statistic Analogous to the residual sum of squares in multiple regression It is an indicator of how much unexplained information there is after the model has been fitted. Large values indicate poorly fitting statistical models.

Assessing Changes in Models It’s possible to calculate a log-likelihood for different models and to compare these models by looking at the difference between their log-likelihoods. [ ] ) ( 2 baseline LL new - = c ( ) baseline new k df - =

Assessing Predictors: The Odds Ratio Indicates the change in odds resulting from a unit change in the predictor. Slide 6

Things That Can Go Wrong Assumptions from linear regression: Linearity Independence of errors Multicollinearity – we will spend time on this in multiple linear regression.

Complete Separation When the outcome variable can be perfectly predicted. E.g. predicting whether someone is a burglar, your teenage son or your cat based on weight. Weight is a perfect predictor of cat/burglar unless you have a very fat cat indeed!

Overdispersion Overdispersion is where the variance is larger than expected from the model. This can be caused by violating the assumption of independence. This problem makes the standard errors too small!

An Example Predictors of a treatment intervention. Participants 113 adults with a medical problem Outcome: Cured (1) or not cured (0). Predictors: Intervention: intervention or no treatment. Slide 10