Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: exercise 6.13 Original citation: Dougherty, C. (2012) EC220 - Introduction.

Slides:



Advertisements
Similar presentations
CHOW TEST AND DUMMY VARIABLE GROUP TEST
Advertisements

EC220 - Introduction to econometrics (chapter 5)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.7 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 4)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: exercise 6.7 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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 1) Slideshow: exercise 1.16 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: exercise 7.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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 7)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: exercise 3.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 2)
© Christopher Dougherty 1999–2006 VARIABLE MISSPECIFICATION I: OMISSION OF A RELEVANT VARIABLE We will now investigate the consequences of misspecifying.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: exercise 2.22 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: variable misspecification iii: consequences for diagnostics Original.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient (2010/2011.
EC220 - Introduction to econometrics (chapter 1)
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 5) Slideshow: exercise 5.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
EC220 - Introduction to econometrics (chapter 3)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: precision of the multiple regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: semilogarithmic models Original citation: Dougherty, C. (2012) EC220.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: nonlinear regression 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: the effects of changing the reference category Original citation: Dougherty,
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: Tobit models Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
1 PROXY VARIABLES Suppose that a variable Y is hypothesized to depend on a set of explanatory variables X 2,..., X k as shown above, and suppose that for.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.9 Original citation: Dougherty, C. (2012) EC220 - Introduction.
F TEST OF GOODNESS OF FIT FOR THE WHOLE EQUATION 1 This sequence describes two F tests of goodness of fit in a multiple regression model. The first relates.
MULTIPLE REGRESSION WITH TWO EXPLANATORY VARIABLES: EXAMPLE 1 This sequence provides a geometrical interpretation of a multiple regression model with two.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: exercise 1.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: exercise 2.24 Original citation: Dougherty, C. (2012) EC220 - Introduction.
. reg LGEARN S WEIGHT85 Source | SS df MS Number of obs = F( 2, 537) = Model |
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: exercise 5.2 Original citation: Dougherty, C. (2012) EC220 - Introduction.
POSSIBLE DIRECT MEASURES FOR ALLEVIATING MULTICOLLINEARITY 1 What can you do about multicollinearity if you encounter it? We will discuss some possible.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: exercise 4.5 Original citation: Dougherty, C. (2012) EC220 - Introduction.
(1)Combine the correlated variables. 1 In this sequence, we look at four possible indirect methods for alleviating a problem of multicollinearity. POSSIBLE.
COST 11 DUMMY VARIABLE CLASSIFICATION WITH TWO CATEGORIES 1 This sequence explains how you can include qualitative explanatory variables in your regression.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: exercise 2.11 Original citation: Dougherty, C. (2012) EC220 - Introduction.
RAMSEY’S RESET TEST OF FUNCTIONAL MISSPECIFICATION 1 Ramsey’s RESET test of functional misspecification is intended to provide a simple indicator of evidence.
1 CHANGES IN THE UNITS OF MEASUREMENT Suppose that the units of measurement of Y or X are changed. How will this affect the regression results? Intuitively,
SEMILOGARITHMIC MODELS 1 This sequence introduces the semilogarithmic model and shows how it may be applied to an earnings function. The dependent variable.
6.4*The table gives the results of multiple and simple regressions of LGFDHO, the logarithm of annual household expenditure on food eaten at home, on LGEXP,
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 In the Monte Carlo experiment in the previous sequence we used the rate of unemployment, U, as an instrument for w in the price inflation equation. SIMULTANEOUS.
F TESTS RELATING TO GROUPS OF EXPLANATORY VARIABLES 1 We now come to more general F tests of goodness of fit. This is a test of the joint explanatory power.
WHITE TEST FOR HETEROSCEDASTICITY 1 The White test for heteroscedasticity looks for evidence of an association between the variance of the disturbance.
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
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: exercise 6.13 Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 6). [Teaching Resource] © 2012 The Author This version available at: Available in LSE Learning Resources Online: May 2012 This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. This license allows the user to remix, tweak, and build upon the work even for commercial purposes, as long as the user credits the author and licenses their new creations under the identical terms

6.13*The first regression shows the result of regressing LGFDHO, the logarithm of annual household expenditure on food eaten at home, on LGEXP, the logarithm of total annual household expenditure, and LGSIZE, the logarithm of the number of persons in the household, using a sample of 868 households in the 1995 Consumer Expenditure Survey. In the second regression, LGFDHOPC, the logarithm of food expenditure per capita (FDHO/SIZE), is regressed on LGEXPPC, the logarithm of total expenditure per capita (EXP/SIZE). In the third regression LGFDHOPC is regressed on LGEXPPC and LGSIZE. 1 EXERCISE 6.13

. reg LGFDHO LGEXP LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | LGSIZE | _cons | EXERCISE 6.13

. reg LGFDHOPC LGEXPPC Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | _cons | EXERCISE 6.13

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | Explain why the second model is a restricted version of the first, stating the restriction. 2.Perform an F test of the restriction. 3.Perform a t test of the restriction. 4.Summarize your conclusions from the analysis of the regression results. EXERCISE 6.13

5 The first regression is a straightforward logarithmic regression of expenditure on food consumed at home on total household expenditure and size of household. EXERCISE 6.13

6 The second regression is a simple regression of LGFDHOPC, defined as log FDHO/SIZE, on LGEXPPC, defined as log EXP/SIZE. EXERCISE 6.13

7 The logarithmic ratios have been split.

8 EXERCISE 6.13 The LGSIZE terms have been brought together.

9 EXERCISE 6.13 Comparing this equation with that for the first regression, we see that the second specification is a restricted version of the first with the restriction  3 = 1 –  2.

. reg LGFDHO LGEXP LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | LGSIZE | _cons | Before performing a test of the restriction, we should check whether the estimates of the elasticities in the unrestricted version appear to satisfy it. EXERCISE 6.13

. reg LGFDHO LGEXP LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHO | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXP | LGSIZE | _cons | b 3 is – b 2 is The discrepancy is rather large, compared with the standard errors of the estimates. We should expect the restriction to be rejected. EXERCISE 6.13

. reg LGFDHO LGEXP LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE =.388. reg LGFDHOPC LGEXPPC Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = We see that the residual sum of squares increases from to when we impose the restriction. EXERCISE 6.13

. reg LGFDHO LGEXP LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE =.388. reg LGFDHOPC LGEXPPC Source | SS df MS Number of obs = F( 1, 866) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = The F statistic is far above the critical value of F(1,750) at the 0.1% level. The critical value of F(1,865) must be lower than that for F(1,750). Therefore we reject the null hypothesis and conclude that the restriction is invalid. EXERCISE 6.13

14 We will also use the t test approach to test the restriction. First we rewrite the restriction so that the right side of the definition is zero. EXERCISE 6.13

15 We define  to be equal to the left side. The restriction is now  = 0. EXERCISE 6.13

16 EXERCISE 6.13 We express one of the  coefficients in terms of  and the other  coefficient.

17 EXERCISE 6.13 We substitute for this  in the regression model.

18 EXERCISE 6.13 We bring the  2 components together and take the (+1)log SIZE to the left side of the equation.

19 EXERCISE 6.13 This allows us to rewrite the model with the dependent variable the logarithm of expenditure on food per capita and the explanatory variables the logarithms of total household expenditure per capita and household size.

20 EXERCISE 6.13 Having reparameterized the model in this way, we can test the restriction with a simple t test on the coefficient of LGSIZE.

21 EXERCISE 6.13 If the coefficient of LGSIZE is significantly different from zero, we need the term and should stay with the unrestricted model. If it is not, the term could be dropped, giving us the restricted model as the appropriate specification.

22 EXERCISE 6.13 Note that the null hypothesis for the t test is that the restriction is valid. This ties in with the reasoning in the previous slide. If the restriction is valid, we do not need the LGSIZE term and the restricted version is the appropriate specification.

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | Here is the corresponding regression result. We find that the coefficient has a very high (negative) t statistic. The null hypothesis is rejected and again we conclude that the restriction is invalid. EXERCISE 6.13

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | The F test and the t test approaches are of course equivalent. The F statistic, 80.4, is the square of the t statistic and the critical value of F is the square of the critical value of t. EXERCISE 6.13

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | Should we have anticipated this outcome? The restricted version effectively controls for the size of the household. Why should the size variable have a separate effect? EXERCISE 6.13

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | One possibility is that there are economies of scale in feeding a larger household, or perhaps less wastage. EXERCISE 6.13

. reg LGFDHOPC LGEXPPC LGSIZE Source | SS df MS Number of obs = F( 2, 865) = Model | Prob > F = Residual | R-squared = Adj R-squared = Total | Root MSE = LGFDHOPC | Coef. Std. Err. t P>|t| [95% Conf. Interval] LGEXPPC | LGSIZE | _cons | Another is that there may be a compositional effect, large households tending to have more children, who eat less. Perhaps we should be controlling by some notion of the number of equivalent adults, rather than the unadjusted number of people in the household. EXERCISE 6.13

Copyright Christopher Dougherty 2000–2007. This slideshow may be freely copied for personal use