Regression Analysis Tutorial 77 LECTURE /DISCUSSION. Specification of the OLS Regression Model

Similar documents
Load Forecasting Technical Workshop. January 30, 2004

LOADS, CUSTOMERS AND REVENUE

Lecture 12. Functional form

CHAPTER 5 FUNCTIONAL FORMS OF REGRESSION MODELS

A time series plot: a variable Y t on the vertical axis is plotted against time on the horizontal axis

MFin Econometrics I Session 5: F-tests for goodness of fit, Non-linearity and Model Transformations, Dummy variables

As included in Load Forecast Review Report (Page 1):

mrw.dat is used in Section 14.2 to illustrate heteroskedasticity-robust tests of linear restrictions.

EXAMINATION QUESTIONS 63. P f. P d. = e n

The multiple regression model; Indicator variables as regressors

Solutions: Monday, October 15

11.433J / J Real Estate Economics Fall 2008

TRANSMISSION BUSINESS LOAD FORECAST AND METHODOLOGY

The regression model with one fixed regressor cont d

MAT1300 Final Review. Pieter Hofstra. December 4, 2009

Nonlinear Regression Functions

ECON501 - Vector Di erentiation Simon Grant

4.1 Exponential Functions. For Formula 1, the value of n is based on the frequency of compounding. Common frequencies include:

SIMULTANEOUS EQUATION MODEL

Integration by Substitution

Some Notes on Regression With A Two-Dimensional Dependent Variable

Doug Clark The Learning Center 100 Student Success Center learningcenter.missouri.edu Overview

LECTURE NOTES II FUNCTIONAL FORMS OF REGRESSION MODELS 1. THE LOG-LINEAR MODEL

Marginal Propensity to Consume/Save

Monday, October 15 Handout: Multiple Regression Analysis Introduction

Making sense of Econometrics: Basics

Regression #8: Loose Ends

Lecture 1: Labour Economics and Wage-Setting Theory

BEFORE THE PUBLIC UTILITIES COMMISSION OF THE STATE OF COLORADO * * * * *

ACE 564 Spring Lecture 8. Violations of Basic Assumptions I: Multicollinearity and Non-Sample Information. by Professor Scott H.

Normalization of Peak Demand for an Electric Utility using PROC MODEL

Exercices for Applied Econometrics A

Amherst College Department of Economics Economics 360 Fall 2015 Monday, December 7 Problem Set Solutions

Economics 203: Intermediate Microeconomics. Calculus Review. A function f, is a rule assigning a value y for each value x.

Economics 121b: Intermediate Microeconomics Midterm Suggested Solutions 2/8/ (a) The equation of the indifference curve is given by,

Chapter 10 Nonlinear Models

ECON 497: Lecture Notes 10 Page 1 of 1

Intermediate Econometrics

Lecture-1: Introduction to Econometrics

Mathematical Economics: Lecture 9

Econ 110: Introduction to Economic Theory. 8th Class 2/7/11

ECO 310: Empirical Industrial Organization Lecture 2 - Estimation of Demand and Supply

Math 110 Final Exam General Review. Edward Yu

Toulouse School of Economics, Macroeconomics II Franck Portier. Homework 1. Problem I An AD-AS Model

Applied Microeconometrics (L5): Panel Data-Basics

Florian Hoffmann. September - December Vancouver School of Economics University of British Columbia

Contents. 9. Fractional and Quadratic Equations 2 Example Example Example

Queen s University. Department of Economics. Instructor: Kevin Andrew

ECONOMETRIC THEORY. MODULE VI Lecture 19 Regression Analysis Under Linear Restrictions

Demand Forecasting Models

ECON 5350 Class Notes Functional Form and Structural Change

Midterm Exam 2. October 27, Time: 1 hour, 30 minutes. San Francisco State University ECON 715 Fall Name:

Trendlines Simple Linear Regression Multiple Linear Regression Systematic Model Building Practical Issues

WISE MA/PhD Programs Econometrics Instructor: Brett Graham Spring Semester, Academic Year Exam Version: A

Making sense of Econometrics: Basics

Testing for Discrimination

Math 1314 Lesson 19: Numerical Integration

Applied Quantitative Methods II

4.1 Least Squares Prediction 4.2 Measuring Goodness-of-Fit. 4.3 Modeling Issues. 4.4 Log-Linear Models

Equal Distribution of Consumers Tastes and Perfect Behavioral Heterogeneity

Applied Statistics and Econometrics

Solutions to Exercises in Chapter 9

Lecture 8. Using the CLR Model. Relation between patent applications and R&D spending. Variables

LECTURE 10. Introduction to Econometrics. Multicollinearity & Heteroskedasticity

CIVL 7012/8012. Simple Linear Regression. Lecture 3

Review for Final Review

Estimating Demand Elasticities Results from Econometric Models applied by TM-MS. Electricity Demand Elasticities Michael Viertel

Midterm 2 - Solutions

Week 7: Binary Outcomes (Scott Long Chapter 3 Part 2)

3.1 Derivative Formulas for Powers and Polynomials

Multiple Regression Analysis. Basic Estimation Techniques. Multiple Regression Analysis. Multiple Regression Analysis

CHAPTER ONE. 1.1 International System of Units and scientific notation : Basic Units: Quantity Basic unit Symbol as shown in table 1

Chapter 9. Natural Resources and Economic Growth. Instructor: Dmytro Hryshko

INTRODUCTORY MATHEMATICAL ANALYSIS

Empirical Industrial Organization (ECO 310) University of Toronto. Department of Economics Fall Instructor: Victor Aguirregabiria

Final Exam Review. MATH Intuitive Calculus Fall 2013 Circle lab day: Mon / Fri. Name:. Show all your work.

[ ESS ESS ] / 2 [ ] / ,019.6 / Lab 10 Key. Regression Analysis: wage versus yrsed, ex

CDS M Phil Econometrics

Lecture 13. Simple Linear Regression

Mathematical Economics: Lecture 2

Tutorial letter 201/2/2018

Regression Analysis Tutorial 34 LECTURE / DISCUSSION. Statistical Properties of OLS

15.8 MULTIPLE REGRESSION WITH MANY EXPLANATORY VARIABLES

Multiple Regression and Model Building Lecture 20 1 May 2006 R. Ryznar

Final Exam - Solutions

Beyond CES: Three Alternative Classes of Flexible Homothetic Demand Systems

A Hypothesis about the Consumption Function. * Unpublished typescript, 8 June 1951.

Lecture 1. Behavioral Models Multinomial Logit: Power and limitations. Cinzia Cirillo

Household Energy Disaggregation based on Difference Hidden Markov Model

Topic 4: Model Specifications

[Mean[e j ] Mean[e i ]]

Beyond CES: Three Alternative Classes of Flexible Homothetic Demand Systems

ECON Interactions and Dummies

Sample Mathematics 106 Questions

Tvestlanka Karagyozova University of Connecticut

Wooldridge, Introductory Econometrics, 3d ed. Chapter 16: Simultaneous equations models. An obvious reason for the endogeneity of explanatory

14.461: Technological Change, Lecture 4 Technology and the Labor Market

Chapter 9. Natural Resources and Economic Growth. Instructor: Dmytro Hryshko

Chapter 10: Multiple Regression Analysis Introduction

2t t dt.. So the distance is (t2 +6) 3/2

Transcription:

Regression Analysis Tutorial 77 LECTURE /DISCUSSION Specification of the OLS Regression Model

Regression Analysis Tutorial 78 The Specification The specification is the selection of explanatory variables and the transformations, if any, of the dependent variable and the explanatory variables. The simplest linear model is y ' % x % g which specifies a linear relationship between the dependent variable y and the single explanatory variable x. 1.2 1 0.8 0.6 0.4 0.2 0-0.2 0 0.5 1

Regression Analysis Tutorial 79 Nonlinear Relationships By transforming the dependent variable or the explanatory variable, the linear model can handle nonlinear relationships. For example, one could alter the simple model above by replacing the explanatory variable x with the transformed variable x ' z : y ' % x % g ' % z % g y 0 x The transformation specifies a strongly diminishing influence of x on y such that for large values of x further increases in x leave y virtually unchanged.

Regression Analysis Tutorial 80 Other transformations: y = " + $ ln (x) + g y 0 x

Regression Analysis Tutorial 81 y = " + $x 2 y 0 x x 2 increases at an increasing rate.

Regression Analysis Tutorial 82 Entering several transformations: Example: y =" + $ 1 x + $ 2 x 2 + g If $ 1 > 0 and $ 2 < 0, y 0 x y = 2x -.1x 2 If $ 1 > 0 and $ 2 > 0, y 0 x

Regression Analysis Tutorial 83 y = " + $ 1 x + $ 2 x 2 + $ 3 x 3 + g $ 1 > 0, $ 2 < 0, $ 3 > 0 3 2.5 2 1.5 1 0.5 0 0 0.5 1 1.5 2 2.5 3 3.5 4 The figure depicts a relationship that is rarely found in applications, but it illustrates the flexibility that polynomial specifications can exhibit.

Regression Analysis Tutorial 84 Transformations of more than one explanatory variable: y ' 1 % 2 w % 3 x % 4 w 2 % 5 x 2 % 6 wx % g These specifications reflect changes in the marginal effect of one explanatory variable given others: We can rewrite the equation above as y ' ( 1 % 2 w % 4 w 2 ) % ( 3 % 5 x % 6 w)x % g and interpret the intercept as a function of w and the slope of x as changing with w and x. Note that the flexibility of polynomials is limited by an important feature: Such specifications always drive the predicted value of the dependent variable to extreme values at extreme values of the explanatory variables.

Regression Analysis Tutorial 85 Transforming the Dependent Variable One can transform the dependent variable, too: ln (y) = " + $x + g The log transformation is often applied to all the explanatory variables as well. Such specifications are called log-linear or log-log models: ln (y) = " + $ ln (x) + g

Regression Analysis Tutorial 86 Linear Model y = " + $x + g Impact of a unit change in x : dy dx ' Elasticity = percent change in y for a percent change in x: Elasticity ' dy y dx x ' dy dx @ x y ' x y

Regression Analysis Tutorial 87 Log-log Model or ln (y) = " + $ ln (x) + g y = exp (" + $ ln (x) + g) Impact of a unit change in x: dy dx ' exp( % ln (x) % g) @ @ 1 x ' y x Elasticity: Elasticity ' dy y dx x ' dy dx @ x y ' ( y x ) x y '

Regression Analysis Tutorial 88 Choosing Explanatory Variables Specification also includes the selection of the explanatory variables that are entered, transformed or untransformed, on the right-hand side of the regression equation. This selection is limited often by the data sets available for analysis. When the researcher participates in data collection, perhaps through the design of a survey, the possibilities may be greater but budget constraints still restrict choices. We will show later that one cannot yield to the temptation to put all possible explanatory variables into a regression model. This approach does not solve this specification issue. Given a data set, the selection of explanatory variables is governed by C C C theory (economic, engineering) purpose (forecasting, experimental design, testing theory, summarizing data) experience, practice, and common sense Generally, one must strike a compromise between these three sources of ideas for specification.

Regression Analysis Tutorial 89 Theory is helpful for determining which variables must be included and how they should enter. For example, the analysis of consumer demand for a commodity should include not only its price, but the prices of close substitutes and complementary goods. Household income determines household demand as well. Furthermore, the price of a good should decrease demand as price increases, as should the prices of complementary goods, while the prices of substitute goods should increase demand as those prices rise. Finally, the demand for a good is rarely a linear function of prices and income: At a low price, demand will fall rapidly as price increases while demand is inelastic at high prices.

Regression Analysis Tutorial 90 Experience, industry practice, and common sense also govern specification. Explanatory variables that should appear on theoretical grounds are often omitted because their influence is already known to be slight (based on previous experience). A desire to compare results with previous studies may lead a researcher to specify a regression equation identical to previous practice. Common sense may be one of the most powerful motivations of all. Common sense compels analysts to put a constant term in virtually all regressions. Ultimately, a regression model is an approximation to a more realistic statistical model and a constant term is the first term in any approximation.

Regression Analysis Tutorial 91 Dummy Variables Common sense also leads to the introduction of dummy variables to regression models for improvements in the approximation. A dummy variable is a variable that can have only two possible values, zero and one. When a dummy variable is one, the variable indicates the occurrence of a particular state.

Regression Analysis Tutorial 92 Example 1: Effect of Education on Income Income = " + $Age + 2D + g, where D = 1 if college degree, zero otherwise. I θ slope = β Age

Regression Analysis Tutorial 93 Income = " + $Age + 2D + 8(Age*D) I slope = β + λ θ slope = β Age

Regression Analysis Tutorial 94 Example 2: Conditional Demand Models CDMs estimate the Unit Energy Consumption (UEC) of each appliance: E = " + $ 1 d 1 + $ 2 d 2 +... + g E = annual kwh consumption d 1 = 1 if household has an air conditioner, 0 otherwise d 2 = 1 if household has electric heat, 0 otherwise d 3 = 1 if household has electric water heater, 0 otherwise etc. $ 1 is air conditioner UEC $ 2 is electric heater UEC $ 3 is water heater UEC etc.

Regression Analysis Tutorial 95 For the commercial sector, annual consumption is usually expressed as per square foot. CDMs estimate the Energy Use Intensity (EUI) of each end-use. EPS = " + 2 1 d 1 + 2 2 d 2 + 2 d3 +... + g EPS is annual kwh consumption of building divided by its square feet of space.

Regression Analysis Tutorial 96 Incorporating Prior Information: Statistically Adjusted Engineering (SAE) Models Let A 1 be an engineering estimate of the annual energy consumption of an air conditioner, and A 2 be an engineering estimate of the annual energy consumption of an electric heater. Estimate a CDM with A 1, A 2,..., replacing the dummies d 1, d 2,.... E = " + 8 1 A 1 + 8 2 A 2 +... + g 8 1 is an adjustment factor for air conditioning load. 8 1 = 1 if A 1 is correct 8 1 < 1 if A 1 is too high 8 1 > 1 if A1 is too low

Regression Analysis Tutorial 97 Example Adjustment coefficients from an SAE model of residential customers. Central air.48 Window air.19 Water heater.92 Range/oven 1.23 Dishwasher.73 Washer/dryer 2.04 Refrigerator 1.06