ELASTICITIES AND LOGARITHMIC MODELS 1 This sequence defines elasticities and shows how one may fit nonlinear models with constant elasticities. First,

Slides:



Advertisements
Similar presentations
EC220 - Introduction to econometrics (chapter 2)
Advertisements

EC220 - Introduction to econometrics (chapter 1)
1 Although they are biased in finite samples if Part (2) of Assumption C.7 is violated, OLS estimators are consistent if Part (1) is valid. We will demonstrate.
ADAPTIVE EXPECTATIONS 1 The dynamics in the partial adjustment model are attributable to inertia, the drag of the past. Another, completely opposite, source.
EXPECTED VALUE RULES 1. This sequence states the rules for manipulating expected values. First, the additive rule. The expected value of the sum of two.
ADAPTIVE EXPECTATIONS: FRIEDMAN'S PERMANENT INCOME HYPOTHESIS
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the central limit theorem Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 14)
EC220 - Introduction to econometrics (review chapter)
EC220 - Introduction to econometrics (chapter 11)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: two-stage least squares Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (review chapter)
EC220 - Introduction to econometrics (chapter 2)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: model c assumptions Original citation: Dougherty, C. (2012) EC220 -
EC220 - Introduction to econometrics (chapter 8)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: model b: properties of the regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: one-sided t tests Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: one-sided t tests Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 1)
THE ERROR CORRECTION MODEL 1 The error correction model is a variant of the partial adjustment model. As with the partial adjustment model, we assume a.
1 MAXIMUM LIKELIHOOD ESTIMATION OF REGRESSION COEFFICIENTS X Y XiXi 11  1  +  2 X i Y =  1  +  2 X We will now apply the maximum likelihood principle.
MODELS WITH A LAGGED DEPENDENT VARIABLE
1 INTRODUCTION TO MAXIMUM LIKELIHOOD ESTIMATION This sequence introduces the principle of maximum likelihood estimation and illustrates it with some simple.
EC220 - Introduction to econometrics (chapter 6)
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 4)
Definition of, the expected value of a function of X : 1 EXPECTED VALUE OF A FUNCTION OF A RANDOM VARIABLE To find the expected value of a function of.
1 This very short sequence presents an important definition, that of the independence of two random variables. Two random variables X and Y are said to.
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: asymptotic properties of estimators: the use of simulation Original.
EC220 - Introduction to econometrics (chapter 5)
The third sequence defined the expected value of a function of a random variable X. There is only one function that is of much interest to us, at least.
CHOW TEST AND DUMMY VARIABLE GROUP TEST
EC220 - Introduction to econometrics (chapter 5)
EC220 - Introduction to econometrics (chapter 10)
EC220 - Introduction to econometrics (chapter 4)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: slope dummy variables Original citation: Dougherty, C. (2012) EC220 -
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: interactive explanatory variables Original citation: Dougherty, C. (2012)
ELASTICITIES AND DOUBLE-LOGARITHMIC MODELS
HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS 1 Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated.
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 1)
1 INTERPRETATION OF A REGRESSION EQUATION The scatter diagram shows hourly earnings in 2002 plotted against years of schooling, defined as highest grade.
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
Chapter 4 – Nonlinear Models and Transformations of Variables.
SLOPE DUMMY VARIABLES 1 The scatter diagram shows the data for the 74 schools in Shanghai and the cost functions derived from a regression of COST on N.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: semilogarithmic models Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: Chow test Original citation: Dougherty, C. (2012) EC220 - Introduction.
TOBIT ANALYSIS Sometimes the dependent variable in a regression model is subject to a lower limit or an upper limit, or both. Suppose that in the absence.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy variable classification with two categories Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: two sets of dummy variables Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: dummy classification with more than two categories Original citation:
DUMMY CLASSIFICATION WITH MORE THAN TWO CATEGORIES This sequence explains how to extend the dummy variable technique to handle a qualitative explanatory.
1 INTERACTIVE EXPLANATORY VARIABLES The model shown above is linear in parameters and it may be fitted using straightforward OLS, provided that the regression.
1 TWO SETS OF DUMMY VARIABLES The explanatory variables in a regression model may include multiple sets of dummy variables. This sequence provides an example.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE 1 This sequence provides a geometrical interpretation of a multiple regression model with two.
Simple regression model: Y =  1 +  2 X + u 1 We have seen that the regression coefficients b 1 and b 2 are random variables. They provide point estimates.
. reg LGEARN S WEIGHT85 Source | SS df MS Number of obs = F( 2, 537) = Model |
COST 11 DUMMY VARIABLE CLASSIFICATION WITH TWO CATEGORIES 1 This sequence explains how you can include qualitative explanatory variables in your regression.
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
SEMILOGARITHMIC MODELS 1 This sequence introduces the semilogarithmic model and shows how it may be applied to an earnings function. The dependent variable.
GRAPHING A RELATIONSHIP IN A MULTIPLE REGRESSION MODEL The output above shows the result of regressing EARNINGS, hourly earnings in dollars, on S, years.
1 REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Linear restrictions can also be tested using a t test. This involves the reparameterization.
1 COMPARING LINEAR AND LOGARITHMIC SPECIFICATIONS When alternative specifications of a regression model have the same dependent variable, R 2 can be used.
VARIABLE MISSPECIFICATION II: INCLUSION OF AN IRRELEVANT VARIABLE In this sequence we will investigate the consequences of including an irrelevant variable.
VARIABLE MISSPECIFICATION I: OMISSION OF A RELEVANT VARIABLE In this sequence and the next we will investigate the consequences of misspecifying the regression.
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

ELASTICITIES AND LOGARITHMIC MODELS 1 This sequence defines elasticities and shows how one may fit nonlinear models with constant elasticities. First, the general definition of an elasticity. Y X A O Definition: The elasticity of Y with respect to X is the proportional change in Y per proportional change in X. elasticity

2 Re-arranging the expression for the elasticity, we can obtain a graphical interpretation. ELASTICITIES AND LOGARITHMIC MODELS Y X A O Definition: The elasticity of Y with respect to X is the proportional change in Y per proportional change in X. elasticity slope of the tangent at A slope of OA

Y X A 3 The elasticity at any point on the curve is the ratio of the slope of the tangent at that point to the slope of the line joining the point to the origin. O Definition: The elasticity of Y with respect to X is the proportional change in Y per proportional change in X. elasticity ELASTICITIES AND LOGARITHMIC MODELS slope of the tangent at A slope of OA

4 In this case it is clear that the tangent at A is flatter than the line OA and so the elasticity must be less than 1. ELASTICITIES AND LOGARITHMIC MODELS Y X A O Definition: The elasticity of Y with respect to X is the proportional change in Y per proportional change in X. elasticity slope of the tangent at A slope of OA elasticity < 1

5 In this case the tangent at A is steeper than OA and the elasticity is greater than 1. A O Y X elasticity > 1 ELASTICITIES AND LOGARITHMIC MODELS Definition: The elasticity of Y with respect to X is the proportional change in Y per proportional change in X. elasticity slope of the tangent at A slope of OA

6 In general the elasticity will be different at different points on the function relating Y to X. ELASTICITIES AND LOGARITHMIC MODELS slope of the tangent at A slope of OA elasticity x A O Y X

7 In the example above, Y is a linear function of X. ELASTICITIES AND LOGARITHMIC MODELS x A O Y X slope of the tangent at A slope of OA elasticity

8 The tangent at any point is coincidental with the line itself, so in this case its slope is always  2. The elasticity depends on the slope of the line joining the point to the origin. ELASTICITIES AND LOGARITHMIC MODELS x A O Y X slope of the tangent at A slope of OA elasticity

9 OB is flatter than OA, so the elasticity is greater at B than at A. (This ties in with the mathematical expression: (  1  / X) +  2 is smaller at B than at A, assuming that  1 is positive.) x A O B Y X ELASTICITIES AND LOGARITHMIC MODELS slope of the tangent at A slope of OA elasticity

10 However, a function of the type shown above has the same elasticity for all values of X. ELASTICITIES AND LOGARITHMIC MODELS

11 For the numerator of the elasticity expression, we need the derivative of Y with respect to X. ELASTICITIES AND LOGARITHMIC MODELS

12 For the denominator, we need Y/X. ELASTICITIES AND LOGARITHMIC MODELS

13 Hence we obtain the expression for the elasticity. This simplifies to  2 and is therefore constant. elasticity ELASTICITIES AND LOGARITHMIC MODELS

14 By way of illustration, the function will be plotted for a range of values of  2. We will start with a very low value, Y X ELASTICITIES AND LOGARITHMIC MODELS

15 Y X ELASTICITIES AND LOGARITHMIC MODELS We will increase  2 in steps of 0.25 and see how the shape of the function changes.

16 Y X ELASTICITIES AND LOGARITHMIC MODELS  2 = 0.75.

17 Y X ELASTICITIES AND LOGARITHMIC MODELS When  2 is equal to 1, the curve becomes a straight line through the origin.

18 Y X ELASTICITIES AND LOGARITHMIC MODELS  2 = 1.25.

19 Y X ELASTICITIES AND LOGARITHMIC MODELS  2 = 1.50.

20 Y X ELASTICITIES AND LOGARITHMIC MODELS  2 = Note that the curvature can be quite gentle over wide ranges of X.

21 Y X ELASTICITIES AND LOGARITHMIC MODELS This means that even if the true model is of the constant elasticity form, a linear model may be a good approximation over a limited range.

22 It is easy to fit a constant elasticity function using a sample of observations. You can linearize the model by taking the logarithms of both sides. ELASTICITIES AND LOGARITHMIC MODELS

23 You thus obtain a linear relationship between Y' and X', as defined. All serious regression applications allow you to generate logarithmic variables from existing ones. ELASTICITIES AND LOGARITHMIC MODELS where

24 The coefficient of X' will be a direct estimate of the elasticity,  2. ELASTICITIES AND LOGARITHMIC MODELS where

25 The constant term will be an estimate of log  1. To obtain an estimate of  1, you calculate exp(b 1 '), where b 1 ' is the estimate of  1 '. (This assumes that you have used natural logarithms, that is, logarithms to base e, to transform the model.) ELASTICITIES AND LOGARITHMIC MODELS where

26 Here is a scatter diagram showing annual household expenditure on FDHO, food eaten at home, and EXP, total annual household expenditure, both measured in dollars, for 1995 for a sample of 869 households in the United States (Consumer Expenditure Survey data). FDHO EXP ELASTICITIES AND LOGARITHMIC MODELS

. reg FDHO EXP Source | SS df MS Number of obs = F( 1, 867) = Model | Prob > F = Residual | e R-squared = Adj R-squared = Total | e Root MSE = FDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] EXP | _cons | Here is a regression of FDHO on EXP. It is usual to relate types of consumer expenditure to total expenditure, rather than income, when using household data. Household income data tend to be relatively erratic. ELASTICITIES AND LOGARITHMIC MODELS

28 The regression implies that, at the margin, 5 cents out of each dollar of expenditure is spent on food at home. Does this seem plausible? Probably, though possibly a little low. ELASTICITIES AND LOGARITHMIC MODELS. reg FDHO EXP Source | SS df MS Number of obs = F( 1, 867) = Model | Prob > F = Residual | e R-squared = Adj R-squared = Total | e Root MSE = FDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] EXP | _cons |

29 It also suggests that $1,916 would be spent on food at home if total expenditure were zero. Obviously this is impossible. It might be possible to interpret it somehow as baseline expenditure, but we would need to take into account family size and composition. ELASTICITIES AND LOGARITHMIC MODELS. reg FDHO EXP Source | SS df MS Number of obs = F( 1, 867) = Model | Prob > F = Residual | e R-squared = Adj R-squared = Total | e Root MSE = FDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] EXP | _cons |

30 Here is the regression line plotted on the scatter diagram EXP ELASTICITIES AND LOGARITHMIC MODELS FDHO

31 We will now fit a constant elasticity function using the same data. The scatter diagram shows the logarithm of FDHO plotted against the logarithm of EXP. LGFDHO LGEXP ELASTICITIES AND LOGARITHMIC MODELS

. g LGFDHO = ln(FDHO). g LGEXP = ln(EXP). reg LGFDHO LGEXP Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | _cons | Here is the result of regressing LGFDHO on LGEXP. The first two commands generate the logarithmic variables. ELASTICITIES AND LOGARITHMIC MODELS

33 The estimate of the elasticity is Does this seem plausible? ELASTICITIES AND LOGARITHMIC MODELS. g LGFDHO = ln(FDHO). g LGEXP = ln(EXP). reg LGFDHO LGEXP Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | _cons |

34 Yes, definitely. Food is a normal good, so its elasticity should be positive, but it is a basic necessity. Expenditure on it should grow less rapidly than expenditure generally, so its elasticity should be less than 1. ELASTICITIES AND LOGARITHMIC MODELS. g LGFDHO = ln(FDHO). g LGEXP = ln(EXP). reg LGFDHO LGEXP Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | _cons |

35 The intercept has no substantive meaning. To obtain an estimate of  1, we calculate e 3.16, which is ELASTICITIES AND LOGARITHMIC MODELS. g LGFDHO = ln(FDHO). g LGEXP = ln(EXP). reg LGFDHO LGEXP Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | _cons |

36 Here is the scatter diagram with the regression line plotted. LGEXP ELASTICITIES AND LOGARITHMIC MODELS LGFDHO

37 Here is the regression line from the logarithmic regression plotted in the original scatter diagram, together with the linear regression line for comparison. EXP ELASTICITIES AND LOGARITHMIC MODELS FDHO

38 You can see that the logarithmic regression line gives a somewhat better fit, especially at low levels of expenditure. EXP ELASTICITIES AND LOGARITHMIC MODELS FDHO

39 However, the difference in the fit is not dramatic. The main reason for preferring the constant elasticity model is that it makes more sense theoretically. It also has a technical advantage that we will come to later on (when discussing heteroscedasticity). EXP ELASTICITIES AND LOGARITHMIC MODELS FDHO

Copyright Christopher Dougherty These slideshows may be downloaded by anyone, anywhere for personal use. Subject to respect for copyright and, where appropriate, attribution, they may be used as a resource for teaching an econometrics course. There is no need to refer to the author. The content of this slideshow comes from Section 4.2 of C. Dougherty, Introduction to Econometrics, fourth edition 2011, Oxford University Press. Additional (free) resources for both students and instructors may be downloaded from the OUP Online Resource Centre Individuals studying econometrics on their own who feel that they might benefit from participation in a formal course should consider the London School of Economics summer school course EC212 Introduction to Econometrics or the University of London International Programmes distance learning course EC2020 Elements of Econometrics