Using Indicator Variables

Slides:



Advertisements
Similar presentations
Dummy variables Hill et al chapter 9. Parameters that vary between observations Assumption MR1 The parameters are the same for all observations. k= the.
Advertisements

Interpreting Slope and y-intercept ~adapted from walch education.
Multiple Regression and Model Building
Chap 12-1 Statistics for Business and Economics, 6e © 2007 Pearson Education, Inc. Chapter 12 Simple Regression Statistics for Business and Economics 6.
Using Indicator Variables
Dummy Variables Dummy variables refers to the technique of using a dichotomous variable (coded 0 or 1) to represent the separate categories of a nominal.
Student Quiz Grades Test Grades 1.Describe the association between Quiz Grades and Test Grades. 2.Write the.
Qualitative Variables and
The Use and Interpretation of the Constant Term
LECTURE 3 Introduction to Linear Regression and Correlation Analysis
Appendix to Chapter 1 Mathematics Used in Microeconomics © 2004 Thomson Learning/South-Western.
Choosing a Functional Form
Appendix to Chapter 1 Mathematics Used in Microeconomics © 2004 Thomson Learning/South-Western.
Chapter 12 Simple Regression
Appendix to Chapter 1 Mathematics Used in Microeconomics © 2004 Thomson Learning/South-Western.
1 Qualitative Independent Variables Sometimes called Dummy Variables.
Chapter 13 Introduction to Linear Regression and Correlation Analysis
Nonlinear Relationships Prepared by Vera Tabakova, East Carolina University.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 13-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
Multiple Regression and Correlation Analysis
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.
Chapter 14 Introduction to Linear Regression and Correlation Analysis
Dummy variable Up till now we have dealt exclusively with the variables which can measures in quantitative terms. But sometimes variables which we consider.
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 5 th edition Cliff T. Ragsdale.
Copyright (c) 2000 by Harcourt, Inc. All rights reserved. Functions of One Variable Variables: The basic elements of algebra, usually called X, Y, and.
Introduction to Linear Regression and Correlation Analysis
Statistics for Managers Using Microsoft Excel, 4e © 2004 Prentice-Hall, Inc. Chap 12-1 Chapter 12 Simple Linear Regression Statistics for Managers Using.
Correlation and Linear Regression
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
LESSON 5 Multiple Regression Copyright © 2006 Pearson Addison-Wesley. All rights reserved. 7-1.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 13 Multiple Regression Section 13.1 Using Several Variables to Predict a Response.
1 Dummy Variables. 2 Topics for This Chapter 1. Intercept Dummy Variables 2. Slope Dummy Variables 3. Different Intercepts & Slopes 4. Testing Qualitative.
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 12-1 Correlation and Regression.
Chap 12-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 12 Introduction to Linear.
Applied Quantitative Analysis and Practices LECTURE#22 By Dr. Osman Sadiq Paracha.
EQT 373 Chapter 3 Simple Linear Regression. EQT 373 Learning Objectives In this chapter, you learn: How to use regression analysis to predict the value.
Appendix Basic Math for Economics. 2 Functions of One Variable Variables: The basic elements of algebra, usually called X, Y, and so on, that may be given.
Statistics and Econometrics for Business II Fall 2014 Instructor: Maksym Obrizan Lecture notes III # 2. Advanced topics in OLS regression # 3. Working.
Section 4.2: Least-Squares Regression Goal: Fit a straight line to a set of points as a way to describe the relationship between the X and Y variables.
Multiple Regression BPS chapter 28 © 2006 W.H. Freeman and Company.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Dummy Variable Regression Models chapter ten.
Statistics for Business and Economics 8 th Edition Chapter 11 Simple Regression Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall Ch.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 13-1 Introduction to Regression Analysis Regression analysis is used.
7.4 DV’s and Groups Often it is desirous to know if two different groups follow the same or different regression functions -One way to test this is to.
14-1 Qualitative Variable - Example Frequently we wish to use nominal-scale variables—such as gender, whether the home has a swimming pool, or whether.
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.
Chapter 12 Simple Regression Statistika.  Analisis regresi adalah analisis hubungan linear antar 2 variabel random yang mempunyai hub linear,  Variabel.
Managerial Economics & Decision Sciences Department tyler realty  old faithful  business analytics II Developed for © 2016 kellogg school of management.
Introduction Many problems in Engineering, Management, Health Sciences and other Sciences involve exploring the relationships between two or more variables.
ECONOMETRICS EC331 Prof. Burak Saltoglu
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Chapter 11 Analysis of Covariance
Workshop on Residential Property Price Indices
Chapter 11 Simple Regression
The Least-Squares Regression Line
Simple Linear Regression
Chapter 13 Multiple Regression
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Nonlinear Relationships
Prepared by Lee Revere and John Large
The Simple Linear Regression Model: Specification and Estimation
Nonlinear Relationships
1/18/2019 ST3131, Lecture 1.
Chapter 8: DUMMY VARIABLE (D.V.) REGRESSION MODELS
a.) What score represents the 90th percentiles?
Regression and Categorical Predictors
Chapter 9 Dummy Variables Undergraduated Econometrics Page 1
Financial Econometrics Fin. 505
Presentation transcript:

Using Indicator Variables Chapter 7 Using Indicator Variables

Regression with Indicator Variables An indicator variable is a binary variable that takes the values zero or one. It is used to represent a non-quantitative characteristic, such as gender, race, or location. Consider a hedonic model to predict the value of a house as a function of its characteristics: size Location Number of bedrooms Age How do we model this? Hedonic price model assumes that the price of a product reflects embodied characteristics valued by some implicit or shadow prices

Consider the square footage at first: 7.1 Indicator Variables Consider the square footage at first: β2 is the value of an additional square foot of living area β1 is the value of the land alone Eq. 7.1

How do we account for location, which is a qualitative variable? 7.1 Indicator Variables How do we account for location, which is a qualitative variable? Indicator variables are used to account for qualitative factors in econometric models They are often called dummy, binary or dichotomous variables, because they take just two values, usually one or zero, to indicate the presence or absence of a characteristic or to indicate whether a condition is true or false They are also called dummy variables, to indicate that we are creating a numeric variable for a qualitative, non-numeric characteristic We use the terms indicator variable and dummy variable interchangeably

Generally, we define an indicator variable D as: 7.1 Indicator Variables Generally, we define an indicator variable D as: So, to account for location, a qualitative variable, we would have: Eq. 7.2

Intercept Indicator Variables 7.1 Indicator Variables 7.1.1 Intercept Indicator Variables Adding our indicator variable to our model: If our model is correctly specified, then E(PRICE)= 𝛽 1 +𝛿 + 𝛽 2 𝑆𝑄𝐹𝑇, when 𝐷=1 𝛽 1 + 𝛽 2 𝑆𝑄𝐹𝑇, when 𝐷=0 The value D = 0 defines the reference group, or base group Eq. 7.3 Eq. 7.4

Intercept Indicator Variables 7.1 Indicator Variables 7.1.1 Intercept Indicator Variables Adding an indicator variable causes a parallel shift in the relationship by the amount δ An indicator variable like D that captures a shift in the intercept as the result of some qualitative factors is called an intercept indicator variable, or an intercept dummy variable.

Intercept Indicator Variables 7.1 Indicator Variables FIGURE 7.1 An intercept indicator variable 7.1.1 Intercept Indicator Variables

Slope Indicator Variables 7.1 Indicator Variables 7.1.2 Slope Indicator Variables Suppose we specify our model as: The new variable (SQFT x D) is the product of house size and the indicator variable It is called an interaction variable, as it captures the interaction effect of location and size on house price Alternatively, it is called a slope-indicator variable or a slope dummy variable, because it allows for a change in the slope of the relationship Eq. 7.5

Slope Indicator Variables 7.1 Indicator Variables 7.1.2 Slope Indicator Variables To capture the higher price per additional square foot in the more desirable place, consider the slope-indicator variable into the economic model The slope can be expressed as:

Slope Indicator Variables 7.1 Indicator Variables 7.1.2 Slope Indicator Variables If we assume that house location affects both the intercept and the slope, then both effects can be incorporated into a single model: The variable (SQFT x D) is the product of house size and the indicator variable, and is called an interaction variable Now we can see that Eq. 7.6

Slope Indicator Variables FIGURE 7.2 (a) A slope-indicator variable (b) Slope- and intercept-indicator variables 7.1 Indicator Variables 7.1.2 Slope Indicator Variables

An Example: The University Effect on House Prices 7.1 Indicator Variables 7.1.3 An Example: The University Effect on House Prices Suppose an economist specifies a regression equation for house prices as: Eq. 7.7

An Example: The University Effect on House Prices 7.1 Indicator Variables Table 7.1 Representative Real Estate Data Values 7.1.3 An Example: The University Effect on House Prices PRICE: house price in $1,000 SQFT: house size in 100 square feet AGE: house age in years UTOWN: equal 1 for homes bordering (near) the university POOL: equal=1 if a pool is present FPLACE: equal=1 if a fireplace is present

An Example: The University Effect on House Prices 7.1 Indicator Variables Table 7.2 House Price Equation Estimates 7.1.3 An Example: The University Effect on House Prices

An Example: The University Effect on House Prices 7.1 Indicator Variables 7.1.3 An Example: The University Effect on House Prices The estimated regression equation is for a house near the university is: For a house in another area:

An Example: The University Effect on House Prices 7.1 Indicator Variables 7.1.3 An Example: The University Effect on House Prices We therefore estimate that: The location premium for the house near the university is $27,453 The change in expected price per additional square foot is $89.12 for houses near the university and $76.12 for houses in other areas Houses depreciate $190.10 per year A pool increases the value of a home by $4,377.20 A fireplace increases the value of a home by $1,649.20