Linear Models Binary Logistic Regression. One-Way IVR 2 Hawaiian Bats Examine data.frame on HO Section 1.1 Questions –Is subspecies related to canine.

Slides:



Advertisements
Similar presentations
Dummy Dependent variable Models
Advertisements

Chapter 8 – Logistic Regression
Simple Logistic Regression
Regression Analysis Simple Regression. y = mx + b y = a + bx.
Slope Intercept Form Y intercept The y-intercept is the point where a line crosses the y axis. At this point the value of x is 0. To find the y-intercept,
Slope Intercept Form.
Academic Content Standards Patterns, Functions, and Algebra Standard 8 th Grade 1. Relate the various representations of a relationship; i.e., relate.
Introduction to Logistic Regression. Simple linear regression Table 1 Age and systolic blood pressure (SBP) among 33 adult women.
Lecture 19: Tues., Nov. 11th R-squared (8.6.1) Review
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 11 th Edition.
Simple Linear Regression Statistics 700 Week of November 27.
Simple Linear Regression Analysis
(Correlation and) (Multiple) Regression Friday 5 th March (and Logistic Regression too!)
SIMPLE LINEAR REGRESSION
Simple Linear Regression Analysis
Generalized Linear Models
Logistic Regression In logistic regression the outcome variable is binary, and the purpose of the analysis is to assess the effects of multiple explanatory.
Lecture 5 Correlation and Regression
Correlation & Regression
MODELS OF QUALITATIVE CHOICE by Bambang Juanda.  Models in which the dependent variable involves two ore more qualitative choices.  Valuable for the.
Regression and Correlation Methods Judy Zhong Ph.D.
SIMPLE LINEAR REGRESSION
MATH 3359 Introduction to Mathematical Modeling Project Multiple Linear Regression Multiple Logistic Regression.
4.1 Modeling Nonlinear Data.  Create scatter plots of non linear data  Transform nonlinear data to use for prediction.
Lecture 22 Dustin Lueker.  The sample mean of the difference scores is an estimator for the difference between the population means  We can now use.
Section 4.2 Regression Equations and Predictions.
1 Dr. Jerrell T. Stracener EMIS 7370 STAT 5340 Probability and Statistics for Scientists and Engineers Department of Engineering Management, Information.
Section 5.2: Linear Regression: Fitting a Line to Bivariate Data.
April 6 Logistic Regression –Estimating probability based on logistic model –Testing differences among multiple groups –Assumptions for model.
University of Warwick, Department of Sociology, 2014/15 SO 201: SSAASS (Surveys and Statistics) (Richard Lampard) Week 7 Logistic Regression I.
CS 478 – Tools for Machine Learning and Data Mining Linear and Logistic Regression (Adapted from various sources) (e.g., Luiz Pessoa PY 206 class at Brown.
LOGISTIC REGRESSION A statistical procedure to relate the probability of an event to explanatory variables Used in epidemiology to describe and evaluate.
Chap 14-1 Copyright ©2012 Pearson Education, Inc. publishing as Prentice Hall Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics.
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.
A medical researcher wishes to determine how the dosage (in mg) of a drug affects the heart rate of the patient. DosageHeart rate
Logistic Regression. Linear Regression Purchases vs. Income.
Multiple Logistic Regression STAT E-150 Statistical Methods.
Multiple Regression  Similar to simple regression, but with more than one independent variable R 2 has same interpretation R 2 has same interpretation.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 3 Association: Contingency, Correlation, and Regression Section 3.3 Predicting the Outcome.
I271B QUANTITATIVE METHODS Regression and Diagnostics.
Introducing Communication Research 2e © 2014 SAGE Publications Chapter Seven Generalizing From Research Results: Inferential Statistics.
Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.
Basic Business Statistics, 10e © 2006 Prentice-Hall, Inc.. Chap 14-1 Chapter 14 Introduction to Multiple Regression Basic Business Statistics 10 th Edition.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Copyright © 2011 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Simple Linear Regression Analysis Chapter 13.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Linear Models Simple Linear Regression. 2 Recall from Introductory Stats Slope –rate of change of the response for each unit increase of the explanatory.
1 Introduction to Modeling Beyond the Basics (Chapter 7)
SOLVING LINEAR SYSTEMS by GRAPHING ADV133 Put in slope-intercept form: y = mx + b. y = 4x – 1 y = –x + 4 The solution to a system of linear equations is.
Unit 3 Section : Regression  Regression – statistical method used to describe the nature of the relationship between variables.  Positive.
Direct Variation Chapter 5 Section 2. Objective  Students will write and graph an equation of a direct variation.
Logistic Regression and Odds Ratios Psych DeShon.
Chapter 12 Inference for Linear Regression. Reminder of Linear Regression First thing you should do is examine your data… First thing you should do is.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 12 More About Regression 12.1 Inference for.
Instructor: R. Makoto 1richard makoto UZ Econ313 Lecture notes.
Chapter 11 Linear Regression and Correlation. Explanatory and Response Variables are Numeric Relationship between the mean of the response variable and.
LOGISTIC REGRESSION. Purpose  Logistical regression is regularly used when there are only two categories of the dependent variable and there is a mixture.
Solutions to Healey 2/3e #13.1 (1e #15.1) Turnout by Unemployment and by Negative Campaigning.
HW 21 Key. 23:41 Home Prices. In order to help clients determine the price at which their house is likely to sell, a realtor gathered a sample of 150.
Binary Logistic Regression
Basic Estimation Techniques
Notes 7.1 Day 1– Solving Two-Step Equations
QUALITATIVE AND LIMITED DEPENDENT VARIABLE MODELS
Introduction to logistic regression a.k.a. Varbrul
THE LOGIT AND PROBIT MODELS
I271b Quantitative Methods
Multiple Linear Regression
Section 5 Multiple Regression.
Regression and Categorical Predictors
Presentation transcript:

Linear Models Binary Logistic Regression

One-Way IVR 2 Hawaiian Bats Examine data.frame on HO Section 1.1 Questions –Is subspecies related to canine tooth height? –Can canine tooth height predict subspecies? 4

One-Way IVR 3 Hawaiian Bats Examine Plots on HO – Section 1.1 Define p i =  Y|X i = PR(Y i =1) –Probability of success (Y=1) for each X i –What is the form of p i vs x i ? Define odds i = –Put this equation into words? –Compute & interpret some odds (p i =0.25,0.5,0.75) –What is the form of odds i vs x i ?

One-Way IVR 4 Logit Tranform (i.e., “log odds”) Define –Plot of logit(p i ) versus x i is generally linear.

One-Way IVR 5 Logistic Regression Model Transformed model then becomes … Examine HO – section 1.2 Interpret Y-intercept Slope Back-transformed slope

One-Way IVR 6 Slope Coefficient Additive change in log(odds) for a unit change in X. Examine HO – section 1.3

One-Way IVR 7 Back-Transformed Slope Multiplicative change in odds for a unit change in the explanatory variable. Examine HO – section 1.3

One-Way IVR 8 Default Tests for Slope Is there a significant relationship between log(odds) and the explanatory variable? –Does the additive change in log(odds) for a unit change in explanatory variable equal 0? –OR does the multiplicative change in odds for a unit change in explanatory variable equal 1? See HO – summary() results in Section 1.2

One-Way IVR 9 Predictions I What is predicted by plugging x i into line? What is predicted if this is back-transformed? Can we do more/better? See Section 1.4

Predictions II Solve the logistic regression model for x What does this allow? See HO – Section 1.5 One-Way IVR 10

Confidence Intervals Normal theory tends not to work. Need to bootstrap. –See HO Section 2. One-Way IVR 11

Another Example Households were asked if they would accept an offer to put solar panels on the roof of their house if they would receive a 50% subsidy from the state. Also recorded demographic variables for each household: income, size, monthly mortgage payment, age of head Questions: –At what income will 25% of households accept? –What is the probability of acceptance for a household with an income of $ –How much does odds of acceptance change for each $1000 increase in household income? One-Way IVR 12