Chapter 13 LOGISTIC REGRESSION. Set of independent variables Categorical outcome measure, generally dichotomous.

Slides:



Advertisements
Similar presentations
Continued Psy 524 Ainsworth
Advertisements

Sociology 680 Multivariate Analysis Logistic Regression.
Logistic Regression Psy 524 Ainsworth.
Logistic Regression.
Regression With Categorical Variables. Overview Regression with Categorical Predictors Logistic Regression.
April 25 Exam April 27 (bring calculator with exp) Cox-Regression
Logistic Regression Multivariate Analysis. What is a log and an exponent? Log is the power to which a base of 10 must be raised to produce a given number.
LINEAR REGRESSION: Evaluating Regression Models Overview Assumptions for Linear Regression Evaluating a Regression Model.
LINEAR REGRESSION: Evaluating Regression Models. Overview Assumptions for Linear Regression Evaluating a Regression Model.
© 2005 The McGraw-Hill Companies, Inc., All Rights Reserved. Chapter 14 Using Multivariate Design and Analysis.
An Introduction to Logistic Regression
Logistic Regression Source
Multinomial Logistic Regression Basic Relationships
Logistic Regression Chapter 8.
Standard Binary Logistic Regression
Logistic Regression – Basic Relationships
Generalized Linear Models
STAT E-150 Statistical Methods
Unit 4b: Fitting the Logistic Model to Data © Andrew Ho, Harvard Graduate School of EducationUnit 4b – Slide 1
Logistic Regression.
Wednesday PM  Presentation of AM results  Multiple linear regression Simultaneous Simultaneous Stepwise Stepwise Hierarchical Hierarchical  Logistic.
Multiple Discriminant Analysis and Logistic Regression.
1 G Lect 11W Logistic Regression Review Maximum Likelihood Estimates Probit Regression and Example Model Fit G Multiple Regression Week 11.
Multinomial Logistic Regression Basic Relationships
18-1 © 2007 Prentice Hall Chapter Eighteen 18-1 Discriminant and Logit Analysis.
Logistic Regression and Discriminant Function Analysis
Week 6: Model selection Overview Questions from last week Model selection in multivariable analysis -bivariate significance -interaction and confounding.
Logistic regression A quick intro. Why Logistic Regression?  Big idea: dependent variable is a dichotomy (thought can use for more than 2 categories.
Slide 1 The SPSS Sample Problem To demonstrate these concepts, we will work the sample problem for logistic regression in SPSS Professional Statistics.
Logistic regression A quick intro. Why Logistic Regression? Big idea: dependent variable is a dichotomy (though can use for more than 2 categories i.e.
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,
Multivariate Data Analysis Chapter 5 – Discrimination Analysis and Logistic Regression.
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 β.
Discriminant Analysis Discriminant analysis is a technique for analyzing data when the criterion or dependent variable is categorical and the predictor.
1 GCRC Data Analysis with SPSS Workshop Session 5 Follow Up on FEV data Binary and Categorical Outcomes 2x2 tables 2xK tables JxK tables Logistic Regression.
Slide 1 The Kleinbaum Sample Problem This problem comes from an example in the text: David G. Kleinbaum. Logistic Regression: A Self-Learning Text. New.
Logistic Regression. Linear Regression Purchases vs. Income.
Multiple Logistic Regression STAT E-150 Statistical Methods.
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)]
Logistic Regression Analysis Gerrit Rooks
Logistic Regression Saed Sayad 1www.ismartsoft.com.
ALISON BOWLING MAXIMUM LIKELIHOOD. GENERAL LINEAR MODEL.
 Seeks to determine group membership from predictor variables ◦ Given group membership, how many people can we correctly classify?
Roger B. Hammer Assistant Professor Department of Sociology Oregon State University Conducting Social Research Logistic Regression Categorical Data Analysis.
Logistic Regression and Odds Ratios Psych DeShon.
Nonparametric Statistics
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 18 Multivariate Statistics.
DISCRIMINANT ANALYSIS. Discriminant Analysis  Discriminant analysis builds a predictive model for group membership. The model is composed of a discriminant.
Chapter 11 REGRESSION Multiple Regression  Uses  Explanation  Prediction.
LOGISTIC REGRESSION. Purpose  Logistical regression is regularly used when there are only two categories of the dependent variable and there is a mixture.
Logistic Regression: Regression with a Binary Dependent Variable.
Chapter 12 REGRESSION DIAGNOSTICS AND CANONICAL CORRELATION.
Nonparametric Statistics
BINARY LOGISTIC REGRESSION
Logistic Regression When and why do we use logistic regression?
Logistic Regression APKC – STATS AFAC (2016).
Differences Among Group Means: Multifactorial Analysis of Variance
An Interactive Tutorial for SPSS 10.0 for Windows©
Notes on Logistic Regression
Multiple Discriminant Analysis and Logistic Regression
Generalized Linear Models
Multiple logistic regression
Nonparametric Statistics
Introduction to Logistic Regression
Chapter 6 Logistic Regression: Regression with a Binary Dependent Variable Copyright © 2010 Pearson Education, Inc., publishing as Prentice-Hall.
Logistic Regression.
Presentation transcript:

Chapter 13 LOGISTIC REGRESSION

Set of independent variables Categorical outcome measure, generally dichotomous

Discriminant Function Analysis  Distinguishes among groups based on predictor variables  With two groups, results same as multiple regression with dummy-coded dependent variable

DISCRIMINANT FUNCTION ANALYSIS  Number of Discriminant Functions  One less than the number of categories in the dependent variable, or the number of independent variables, whichever is less.

DISCRIMINANT FUNCTION ANALYSIS  Centroid  Mean of the discriminant scores for a given group.

DISCRIMINANT FUNCTION ANALYSIS  Coefficients  Raw - like bs in regression  Standardized - like Betas in regression  Structure - like loadings in factor analysis.30 or greater considered meaningful

Analysis  Similar to factor analysis  Principal components analysis  Rotation may be used  Wilks’ lambda

Discriminant Function Analysis  Assumptions Distribution of independent variables, given value of outcome variable, is multivariate normal Dichotomous outcome variable makes this unlikely Discriminant function tends to overestimate the magnitude of the association

Dichotomous Outcome Variable  Mean will be between 0 and 1.  Binomial, rather than normal distribution, describes distribution of residuals.

Discriminant Function vs Logistic Regression  Logistic Regression requires fewer assumptions  Even if assumptions for Discriminant are met, Logistic still works well

LOGISTIC REGRESSION  Which variables affect the probability of a certain outcome? Produces odds ratios that aid interpretation

Methods  Discriminant analysis - least squares  Logistic regression - maximum-likelihood method coefficients make observed results most likely non-linear iterative data assume S-shaped curve

ODDS  Based on Probabilities  Probability of occurrence/probability of nonoccurrence Probability of developing lung cancer/probability of not developing lung cancer Can calculate the odds of developing lung cancer for smokers and for nonsmokers

ODDS RATIO  Ratio of one probability to the other  Ratio of odds of developing lung cancer for smokers vs the odds of developing lung cancer for nonsmokers

LOGISTIC REGRESSION  Exercise Recode the exercise variable into a new variable where people who exercise rarely or sometimes are scored 0, and those who exercise often or routinely are scored 1. Recode marital status into a new variable where never married = 0, married at some time = 1, and living with significant other is assigned to missing values.

Exercise Continued  Which of the predictor variables affect the probability of regular exercise?  Enter the predictors in the following sets:

Predictors  Step 1 Gender Marital status  Step 2 Satisfaction with weight Overall health  Step 3 Current quality of life

SPSS - Logistic Regression  ANALYZE Regression  Binary Logistic  Options Classification Plots Hosmer-Lemeshow goodness of fit Casewise listing of residuals Iteration history CI for exp B

-2 Log Likelihood  Likelihood = probability of observed results given parameters  -2 times the log of the likelihood is given  Perfect model would have -2LL = 0.  Model chi-square reflects difference between successive -2LLs.

Terms  Step - If variables within a block are entered in a stepwise fashion, this tests each step  Block - Test of variables entered in this block  Model - Test of overall model at this point

Estimates of Variance Accounted For  Cox & Snell (can’t equal one)  Nagelkerke (modification of Cox & Snell)

Goodness of Fit  Hosmer and Lemeshow Test  Non-significant result means model fits

Example from the Literature