USING DUMMY VARIABLES IN REGRESSION MODELS. Qualitative Variables Qualitative variables can be introduced into regression models using dummy variables.

Slides:



Advertisements
Similar presentations
Statistical Analysis SC504/HS927 Spring Term 2008 Session 6: Week 22: 29 th February OLS (3): multiple regression and dummy coding.
Advertisements

Class 18 – Thursday, Nov. 11 Omitted Variables Bias
Qualitative predictor variables
Guide to Using Excel 2007 For Basic Statistical Applications To Accompany Business Statistics: A Decision Making Approach, 8th Ed. Chapter 15: Multiple.
NUMERICAL DESCRIPTIVE STATISTICS Measures of Variability.
The Regression Equation  A predicted value on the DV in the bi-variate case is found with the following formula: Ŷ = a + B (X1)
Soc 3306a Lecture 6: Introduction to Multivariate Relationships Control with Bivariate Tables Simple Control in Regression.
1 Multiple Regression Chapter Introduction In this chapter we extend the simple linear regression model, and allow for any number of independent.
Qualitative Variables and
Summary of previous lecture Introduction of dummy variable
Chapter 15, part D Qualitative Independent Variables.
Interaksi Dalam Regresi (Lanjutan) Pertemuan 25 Matakuliah: I0174 – Analisis Regresi Tahun: Ganjil 2007/2008.
January 6, afternoon session 1 Statistics Micro Mini Multiple Regression January 5-9, 2008 Beth Ayers.
© 2000 Prentice-Hall, Inc. Chap Multiple Regression Models.
Multiple Regression Models. The Multiple Regression Model The relationship between one dependent & two or more independent variables is a linear function.
EPI809/Spring Models With Two or More Quantitative Variables.
© 2003 Prentice-Hall, Inc.Chap 14-1 Basic Business Statistics (9 th Edition) Chapter 14 Introduction to Multiple Regression.
MODEL BUILDING IN REGRESSION MODELS. Model Building and Multicollinearity Suppose we have five factors that we feel could linearly affect y. If all 5.
Statistics for Business and Economics Chapter 11 Multiple Regression and Model Building.
Statistics 303 Chapter 10 Least Squares Regression Analysis.
Multiple Regression and Correlation Analysis
1 G Lect 11M Binary outcomes in psychology Can Binary Outcomes Be Studied Using OLS Multiple Regression? Transforming the binary outcome Logistic.
1 1 Slide © 2015 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Ch. 14: The Multiple Regression Model building
1 1 Slide © 2003 South-Western/Thomson Learning™ Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
CHAPTER 6 ECONOMETRICS x x x x x Dummy Variable Regression Models Dummy, or indicator, variables take on values of 0 or 1 to indicate the presence or absence.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Slides by JOHN LOUCKS & Updated by SPIROS VELIANITIS.
Understanding Research Results
Estimation of Demand Prof. Ravikesh Srivastava Lecture-8.
Multiple Regression. In the previous section, we examined simple regression, which has just one independent variable on the right side of the equation.
Modeling Possibilities
INDEPENDENT VARIABLES AND CHI SQUARE. Independent versus Dependent Variables Given two variables X and Y, they are said to be independent if the occurance.
Linear Trend Lines = b 0 + b 1 X t Where is the dependent variable being forecasted X t is the independent variable being used to explain Y. In Linear.
1 1 Slide © 2016 Cengage Learning. All Rights Reserved. The equation that describes how the dependent variable y is related to the independent variables.
1 1 Slide © 2005 Thomson/South-Western Slides Prepared by JOHN S. LOUCKS St. Edward’s University Slides Prepared by JOHN S. LOUCKS St. Edward’s University.
1 1 Slide © 2003 Thomson/South-Western Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved OPIM 303-Lecture #9 Jose M. Cruz Assistant Professor.
1 1 Slide © 2007 Thomson South-Western. All Rights Reserved Chapter 13 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
1 1 Slide © 2012 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
1 1 Slide Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple Coefficient of Determination n Model Assumptions n Testing.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 15 Multiple Regression n Multiple Regression Model n Least Squares Method n Multiple.
Bivariate Correlation Lesson 11. Measuring Relationships n Correlation l degree relationship b/n 2 variables l linear predictive relationship n Covariance.
Correlation & Regression Chapter 5 Correlation: Do you have a relationship? Between two Quantitative Variables (measured on Same Person) (1) If you have.
Review Multiple Choice Regression: Chapters 7, 8, 9.
Economics 310 Lecture 11 Dummy variables and Varying Parameters models.
Chapter 13 Multiple Regression
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Seven.
Multiple Regression  Similar to simple regression, but with more than one independent variable R 2 has same interpretation R 2 has same interpretation.
1 1 Slide © 2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
9.1 Chapter 9: Dummy Variables A Dummy Variable: is a variable that can take on only 2 possible values: yes, no up, down male, female union member, non-union.
Regression Analysis: Part 2 Inference Dummies / Interactions Multicollinearity / Heteroscedasticity Residual Analysis / Outliers.
Class 5 Multiple Regression Models. We can readily imagine that there may be several factors that we can include in our model to explain test scores.
Business Research Methods
12b - 1 © 2000 Prentice-Hall, Inc. Statistics Multiple Regression and Model Building Chapter 12 part II.
Correlation and Regression. O UTLINE Introduction  10-1 Scatter plots.  10-2 Correlation.  10-3 Correlation Coefficient.  10-4 Regression.
Slide Slide 1 Chapter 10 Correlation and Regression 10-1 Overview 10-2 Correlation 10-3 Regression 10-4 Variation and Prediction Intervals 10-5 Multiple.
1 Chapter 20 Model Building Introduction Regression analysis is one of the most commonly used techniques in statistics. It is considered powerful.
2.1 Developing a Thesis 2.2 Characteristics of Data.
Analysis and Interpretation: Multiple Variables Simultaneously
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Chapter 14 Introduction to Multiple Regression
Multiple Regression: I
Multiple Regression Analysis and Model Building
Multiple Regression Example
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Korelasi Parsial dan Pengontrolan Parsial Pertemuan 14
Section 5 Multiple Regression.
Chapter 8: DUMMY VARIABLE (D.V.) REGRESSION MODELS
Financial Econometrics Fin. 505
General Linear Regression
Presentation transcript:

USING DUMMY VARIABLES IN REGRESSION MODELS

Qualitative Variables Qualitative variables can be introduced into regression models using dummy variables Dummy variables can take on only two values – 0 or 1 Suppose you feel a person’s income may be affected by his/her gender –X = 1 (male) X = 0 (female) or vice versa –Add a column of gender to the model Column of 1’s and 0’s

Multiple Values It is felt that the starting salary for a business school graduate is affected by whether the graduate majored in MIS, accounting, finance, or another business discipline (“Other”). –Use 3 dummy variables to represent business disciplines. x 1 = MIS x 2 = Accounting x 3 = Finance –Use k-1 dummy variables if there are k choices for the qualitative variable. If the entries for x 1, x 2, and x 3 were all 0, this indicates “Other” Never have more than one “1” for x 1, x 2, x 3

Example Suppose Bill is a business graduate who majored in accounting and received a staring salary of $27,000. Ellen is a second business graduate who majored in marketing (“Other”) and received a starting salary of $29,000. –The corresponding values for y and x 1, x 2, and x 3 for these graduate would be: Bill:y = x 1 = 0 x 2 = 1 x 3 = 0 Ellen:y = x 1 = 0 x 2 = 0 x 3 = 0

Models with both Quantitative and Qualitative Variables Many models include both quantitative and qualitative variables. Interpretation of coefficient of dummy variable (x) – how y is affected if x goes from 0 to 1. There is no “in-between” interpretation for the dummy variable x

Excel Example It is conjectured that starting salaries for business school graduates are a function of the major (MIS, Accounting, Finance, Other), gender (Male, Female), and college grade point average. A sample of 20 students is taken. –Use 3 dummy variables for the 4 choices of major. –Use 1 dummy variable for the 2 choices of gender. –GPA is a quantitative variable. Use Excel’s IF statement to translate the qualitative responses into 0’s and 1’s.

=IF(I2=“MIS”,1,0) =IF(I2=“Accounting”,1,0) =IF(I2=“Finance”,1,0)=IF(J2=“Male”,1,0) Drag cells B2:E2 to B21:E21 X Range is contiguous

Regression Equation Salary = MIS Accounting Finance – Male GPA

Review Dummy variables are regression variables that can only take on the values of 0 or 1. Multiple dummy variables can be used to represent different values of a qualitative variable. Use one less dummy variable than the number of possible values the qualitative variable – all 0’s represent the last value. Dummy variables can be used with other quantitative variables in regression models. Excel – Use of IF statement