1 MF-852 Financial Econometrics Lecture 9 Dummy Variables, Functional Form, Trends, and Tests for Structural Change Roy J. Epstein Fall 2003.

Slides:



Advertisements
Similar presentations
Class 18 – Thursday, Nov. 11 Omitted Variables Bias
Advertisements

Lecture 3 (Ch4) Inferences
1 MF-852 Financial Econometrics Lecture 11 Distributed Lags and Unit Roots Roy J. Epstein Fall 2003.
Qualitative Variables and
Econ 140 Lecture 151 Multiple Regression Applications Lecture 15.
Multiple Regression [ Cross-Sectional Data ]
The Use and Interpretation of the Constant Term
Summary of previous lecture Introduction of dummy variable
Choosing a Functional Form
MF-852 Financial Econometrics
Chapter 13 Multiple Regression
Linear Regression.
Overview of Regression Analysis. Conditional Mean We all know what a mean or average is. E.g. The mean annual earnings for year old working males.
Class 17: Tuesday, Nov. 9 Another example of interpreting multiple regression coefficients Steps in multiple regression analysis and example analysis Omitted.
Stat 112: Lecture 10 Notes Fitting Curvilinear Relationships –Polynomial Regression (Ch ) –Transformations (Ch ) Schedule: –Homework.
Chapter 12 Multiple Regression
Econ Prof. Buckles1 Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 4. Further Issues.
© 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.
1 MF-852 Financial Econometrics Lecture 8 Introduction to Multiple Regression Roy J. Epstein Fall 2003.
1 MF-852 Financial Econometrics Lecture 12 Case Studies in Financial Econometrics Roy J. Epstein Fall 2003.
© 2003 Prentice-Hall, Inc.Chap 14-1 Basic Business Statistics (9 th Edition) Chapter 14 Introduction to Multiple Regression.
1Prof. Dr. Rainer Stachuletz Multiple Regression Analysis y =  0 +  1 x 1 +  2 x  k x k + u 4. Further Issues.
Econ 140 Lecture 171 Multiple Regression Applications II &III Lecture 17.
Statistical Analysis SC504/HS927 Spring Term 2008 Session 7: Week 23: 7 th March 2008 Complex independent variables and regression diagnostics.
1 MF-852 Financial Econometrics Lecture 6 Linear Regression I Roy J. Epstein Fall 2003.
Lecture 27 Polynomial Terms for Curvature Categorical Variables.
Ch. 14: The Multiple Regression Model building
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.
Multiple Regression 2 Sociology 5811 Lecture 23 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Non-continuous Relationships If the relationship between the dependent variable and an independent variable is non-continuous a slope dummy variable can.
Copyright © 2014, 2011 Pearson Education, Inc. 1 Chapter 25 Categorical Explanatory Variables.
Multiple Regression. In the previous section, we examined simple regression, which has just one independent variable on the right side of the equation.
Understanding Multivariate Research Berry & Sanders.
1 Research Method Lecture 6 (Ch7) Multiple regression with qualitative variables ©
Lecture 3-3 Summarizing r relationships among variables © 1.
Multiple Regression 1 Sociology 5811 Lecture 22 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
1 Dummy Variables. 2 Topics for This Chapter 1. Intercept Dummy Variables 2. Slope Dummy Variables 3. Different Intercepts & Slopes 4. Testing Qualitative.
1 MF-852 Financial Econometrics Lecture 10 Serial Correlation and Heteroscedasticity Roy J. Epstein Fall 2003.
Statistics and Quantitative Analysis U4320 Segment 12: Extension of Multiple Regression Analysis Prof. Sharyn O’Halloran.
Correlation and Linear Regression. Evaluating Relations Between Interval Level Variables Up to now you have learned to evaluate differences between the.
Statistics and Econometrics for Business II Fall 2014 Instructor: Maksym Obrizan Lecture notes III # 2. Advanced topics in OLS regression # 3. Working.
Multiple Regression 3 Sociology 5811 Lecture 24 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
1Spring 02 Non-Linear Relationships If a relationship is not linear, how can we deal with it. For example:
1 Javier Aparicio División de Estudios Políticos, CIDE Primavera Regresión.
Copyright © 2006 The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Dummy Variable Regression Models chapter ten.
EXAMPLES Linear models The log-linear model Semilog models
Welcome to Econ 420 Applied Regression Analysis Study Guide Week Seven.
Warsaw Summer School 2015, OSU Study Abroad Program Advanced Topics: Interaction Logistic Regression.
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.
Logistic Regression. Linear regression – numerical response Logistic regression – binary categorical response eg. has the disease, or unaffected by the.
Introduction to Multiple Regression Lecture 11. The Multiple Regression Model Idea: Examine the linear relationship between 1 dependent (Y) & 2 or more.
Multiple Regression Learning Objectives n Explain the Linear Multiple Regression Model n Interpret Linear Multiple Regression Computer Output n Test.
Statistics for Managers Using Microsoft Excel, 5e © 2008 Prentice-Hall, Inc.Chap 14-1 Statistics for Managers Using Microsoft® Excel 5th Edition Chapter.
The General Linear Model. Estimation -- The General Linear Model Formula for a straight line y = b 0 + b 1 x x y.
1/25 Introduction to Econometrics. 2/25 Econometrics Econometrics – „economic measurement“ „May be defined as the quantitative analysis of actual economic.
Lecturer: Ing. Martina Hanová, PhD. Business Modeling.
32931 Technology Research Methods Autumn 2017 Quantitative Research Component Topic 4: Bivariate Analysis (Contingency Analysis and Regression Analysis)
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Curvilinear Relationships
QM222 A1 How to proceed next in your project Multicollinearity
QUALITATIVE EXPLANATORY VARIABLES REGRESSION MODELS
Nonlinear Relationships
Nonlinear Relationships
Lecturer: Ing. Martina Hanová, PhD.
Chapter 8: DUMMY VARIABLE (D.V.) REGRESSION MODELS
Regression and Categorical Predictors
Chapter 9 Dummy Variables Undergraduated Econometrics Page 1
Financial Econometrics Fin. 505
Presentation transcript:

1 MF-852 Financial Econometrics Lecture 9 Dummy Variables, Functional Form, Trends, and Tests for Structural Change Roy J. Epstein Fall 2003

2 Topics 0-1 Dummy Variables Linear Trend Transformations of Variables Tests for Structural Change

3 Dummy Variables H 0 often involves a change in a regression coefficient. Example: Y i is cheese dogs consumed at party by ith person. Use regression to estimate mean number of cheese dogs eaten: Y i =  0 + e i Does the mean differ between men and women?

4 Dummy Variables A dummy variable D has the value 0 or 1. 0 is for a “baseline” group 1 is for a “contrast” group. Suppose women are the baseline. Then D i = 0 if the ith person is female, otherwise D i = 1. What if men were the baseline?

5 Dummy Variables H 0 : men eat same number of cheese dogs on average New regression is Y i =  0 +  1 D i + e i Female mean =  0 ; Male mean =  0 +  1 Test H 0 by testing significance of  1.

6 Dummy Variables Suppose 3 categories: men, women, children. H 0 : same mean for all. Define 2 “dummies”: D 1i = 1 if woman, else D 1i = 0 D 2i = 1 if child, else D 2i = 0 Regression is Y i =  0 +  1 D 1i +  2 D 2i + e i Effects:  0 ;  0 +  1 ;  0 +  2 Test H 0 with F test on  1 and  2.

7 Functional Form We have specified a multiple regression as linear function: Y i =  0 +  1 X 1i +  2 X 2i + … +  k X ki + e i But we have a LOT of flexibility in defining the variables.

8 Transformations of Variables Examples: Z i = ln(X i )Z i = 1/X i Z i = X i 2 Z i = X i – X i –1 (first difference) Z i = (X i – X i –1 )/X i –1 (% change) Z i = ln(X i /X i –1 )(compound g)

9 More Examples of Valid Transformations Suppose Y i = a 0 X i a 1 exp(e i ) where a 0 and a 1 are coefficients. Take logs of both sides: ln(Y i ) =  0 + a 1 ln(X i ) + e i This is a linear regression model!  0 = ln(a 0 )

10 Transformations in General We allow any term with 1 regression coefficient factored out in front. Y i =  0 +  1 [ln(X 1i )*X 2i ] –  2 X 2 3i –1 But not Y i =  0 +  1 ln(X 1i )*X 2i *  2 X 2 3i –1

11 Trend Trend: the average increase (decrease) in Y i each period, after controlling for other factors. Only makes sense for time-series data. Define trend variable T i = i. T 1 = 1, T 2 = 2, etc. Y i =  0 +  1 T i +  2 X i + e i

12 Trend Interpretation: Y changes on average by  1 units each period, after controlling for X. Reflects net effect of omitted variables. Other trend models: Ln(Y i ) =  0 +  1 T i +  2 X i  1 is average percent change in Y each period, after controls.

13 Structural Change We assume that the model describes all of the data but this may not be accurate. The earlier example of a single mean for TV viewing for all populations (men, women, children) is simplest case where assumption might not be valid.

14 Structural Change Testing, Generally H0 defines categories of interest in data, e.g., Genders, age groups, geographic locations (cross-section data) Old vs. recent observations, special time periods (war, different regulatory regime) (time-series data). Define a dummy variable for each category other than the chosen baseline group.

15 Structural Change Testing, Generally Include the dummy variables in the regression. This allows the different categories to have different intercepts. Equivalent to allowing different means. Y i =  0 +  1 D i +  2 X i + e i Test significance of dummies with t or F test, as appropriate.

16 Structural Change Testing, Generally Next level of sophistication is to allow different categories to have different slopes for X i. Create “interaction” term D i X i. Y i =  0 +  1 D i +  2 X i +  3 D i X i + e i Test significance of  1 and  3 with F test. Can do this with categories > 2.

17 Structural Change Examples CAPM (time-series): (A)You estimate model to test if returns were significantly different during a subperiod in the data. This is an “event study.” (B)You estimate model with 20 weekly returns. Beta might have been different for the first 10 weeks.

18 Structural Change Examples Cross-section: Model for prices charged by stores in different locations. Do stores have different prices after controlling for their costs? (from Staples-Office Depot merger) Baseball player salaries depend on years of experience and the square of experience. Does the player’s position also affect salary?

19 Testing for Structural Change CAPM (A). Want to test if returns were higher in weeks Define D i = 0 if i 12. Otherwise D i = 1. Y i =  0 +  1 D i +  2 X i + e i Perform test of significance on  1.

20 Testing for Structural Change CAPM (B). Want to test if beta was different for weeks Define D i = 0 if i > 10. Otherwise D i = 0. Y i =  0 +  1 D i +  2 X i +  3 (D i X i )+ e i Perform F test on  1 and  3.

21 Testing for Structural Change Store model. 50 stores in 3 different cities. Test if average markup is different across cities. Define D 1i =1 if in city 2, else = 0. Define D 2i =1 if in city 3, else = 0. Y i =  0 +  1 D 1i +  2 D 2i +  3 X i + e i Perform F test on  1 and  2.

22 Warning! Amount of data will limit how many structural changes you can test for. Model needs at least 5 data points per estimated coefficient (Epstein’s rule of thumb). So you can’t introduce lots of dummies indiscriminately. Slope changes are harder to measure than intercept changes.