EC220 - Introduction to econometrics (chapter 6)

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.
EC220 - Introduction to econometrics (chapter 13)
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
EC220 - Introduction to econometrics (chapter 14)
EC220 - Introduction to econometrics (chapter 11)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the central limit theorem Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (chapter 2)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: probability distribution example: x is the sum of two dice Original.
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 8)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: consequences of autocorrelation Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: Ramsey’s reset test of functional misspecification Original citation:
EC220 - Introduction to econometrics (chapter 2)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: f test of a linear restriction Original citation: Dougherty, C. (2012)
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
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 4)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: White test for heteroscedasticity Original citation: Dougherty, C. (2012)
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a random variable Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: population variance of a discreet random variable Original citation:
EC220 - Introduction to econometrics (chapter 5)
CHOW TEST AND DUMMY VARIABLE GROUP TEST
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 10)
EC220 - Introduction to econometrics (chapter 4)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 4) Slideshow: interactive explanatory variables Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (chapter 7)
EC220 - Introduction to econometrics (chapter 2)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: variable misspecification iii: consequences for diagnostics Original.
EC220 - Introduction to econometrics (chapter 1)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
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 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 5) Slideshow: Chow test Original citation: Dougherty, C. (2012) EC220 - Introduction.
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,
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.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: footnote: the Cochrane-Orcutt iterative process Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 9) Slideshow: instrumental variable estimation: variation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: multiple restrictions and zero restrictions Original citation: Dougherty,
(1)Combine the correlated variables. 1 In this sequence, we look at four possible indirect methods for alleviating a problem of multicollinearity. POSSIBLE.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
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.
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.
Introduction to Econometrics, 5th edition
Presentation transcript:

EC220 - Introduction to econometrics (chapter 6) Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: reparameterization of a model and t test of a linear restriction   Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (chapter 6). [Teaching Resource] © 2012 The Author This version available at: http://learningresources.lse.ac.uk/132/ 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. http://creativecommons.org/licenses/by-sa/3.0/   http://learningresources.lse.ac.uk/

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 of a regression model and we will start with this. 1

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Suppose that you have a regression model shown and that the regression model assumptions are valid. 2

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION We fit the model in the usual way. This enables us to obtain estimates of the parameters and their standard errors. 3

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Suppose, however, that we are interested in a linear combination, q, of the parameters, where the lj are weights. 4

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Obviously, the can obtain a point estimate of q as the corresponding linear combination of the estimates of the individual parameters. If the regression model assumptions are valid, it can easily be shown that it is unbiased and that it is the most efficient estimator of q. 5

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION However you do not have information on its standard error and hence you are not able to construct confidence intervals for q or to perform t tests. There are three ways that you might use to obtain such information. 6

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION (1) Some regression applications have a special command that produces it. For example, Stata has the lincom command. 7

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION (2) Given the appropriate command, most regression applications will produce the variance-covariance matrix for the estimates of the parameters. This is the complete list of the estimates of their variances and covariances, for convenience arranged in matrix form. 8

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION The standard errors in the ordinary regression output are the square roots of the variances. The estimate of the variance of the estimate of q is given by the expression shown, where s subscript bpbj is the estimate of the covariance between bp and bj. 9

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION This method is cumbersome and avoided when possible. 10

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION (3) The third method is to reparameterize the model, manipulating it so that q and its standard error are estimated directly as part of the regression output. 11

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION To do this, we rewrite the expression for q so that one of the b parameters is expressed in terms of q and the other b parameters. This will be illustrated with two simple examples, the general case being left as an additional exercise (see the study guide on the website). 12

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Suppose the regression model is as shown and suppose we are interested in the sum of b2 and b3. 13

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION We rewrite the relationship as shown, expressing one of the b parameters in terms of q and the other b parameter. 14

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Substituting in the original model, we reparameterize it as shown. 15

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Thus if we define a new variable Z = X2 – X3, and regress Y on Z and X3, the coefficient of Z will be an estimate of b2 and that of X3 will be an estimate of q. 16

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION The estimate of q will be exactly the same as that obtained by summing the estimates of b2 and b3 in the original model. The difference is that we obtain its standard error directly from the regression results. The estimate of b2 and its standard error will be the same as those obtained with the original model. 17

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Suppose instead that we were interested in the difference between b2 and b3. 18

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION We rewrite this as shown and substitute in the original model. Thus if we define a new variable Z = X2 + X3 and regress Y on Z and X3, the coefficient of Z will be an estimate of b2 and that of X3 will be an estimate of q. 19

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION The estimate of q will be exactly the same as that obtained by taking the difference of the estimates of b2 and b3 in the original model and we obtain its standard error directly from the regression results. The estimate of b2 and its standard error will be the same as those obtained with the original model. 20

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION An obvious application of reparameterization is its use in the testing of linear restrictions. Suppose that your hypothetical restriction is as shown, where a is a scalar. 21

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Define q as shown and reparameterize. q will become the coefficient of one of the variables in the model, and a t test of H0: q = 0 is effectively a t test of the restriction. 22

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION As an illustration. we will use the example discussed in the previous sequence. The model relates years of schooling, S, to the cognitive ability score ASVABC and years of schooling of the mother and the father, SM and SF. 23

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION It was hypothesized that mother’s education and father’s education are equally important for educational attainment, implying the restriction b4 = b3. 24

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION The restriction may be rewritten as b4 – b3 = 0. Define q as shown. 25

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION Hence express one of the b parameters in terms of q and the other b parameter, and substitute in the original model. 26

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION SP is defined as the sum of SM and SF. A t test on the coefficient of SF is a test of the restriction. 27

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION . reg S ASVABC SP SF Source | SS df MS Number of obs = 540 -------------+------------------------------ F( 3, 536) = 104.30 Model | 1181.36981 3 393.789935 Prob > F = 0.0000 Residual | 2023.61353 536 3.77539837 R-squared = 0.3686 -------------+------------------------------ Adj R-squared = 0.3651 Total | 3204.98333 539 5.94616574 Root MSE = 1.943 ------------------------------------------------------------------------------ S | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ASVABC | .1257087 .0098533 12.76 0.000 .1063528 .1450646 SP | .0492424 .0390901 1.26 0.208 -.027546 .1260309 SF | .0584401 .0617051 0.95 0.344 -.0627734 .1796536 _cons | 5.370631 .4882155 11.00 0.000 4.41158 6.329681 Here is the corresponding regression. We see that the coefficient of SF is not significantly different from zero, indicating that the restriction is not rejected. 28

REPARAMETERIZATION OF A MODEL AND t TEST OF A LINEAR RESTRICTION . reg S ASVABC SP SF Source | SS df MS Number of obs = 540 -------------+------------------------------ F( 3, 536) = 104.30 Model | 1181.36981 3 393.789935 Prob > F = 0.0000 Residual | 2023.61353 536 3.77539837 R-squared = 0.3686 -------------+------------------------------ Adj R-squared = 0.3651 Total | 3204.98333 539 5.94616574 Root MSE = 1.943 ------------------------------------------------------------------------------ S | Coef. Std. Err. t P>|t| [95% Conf. Interval] -------------+---------------------------------------------------------------- ASVABC | .1257087 .0098533 12.76 0.000 .1063528 .1450646 SP | .0492424 .0390901 1.26 0.208 -.027546 .1260309 SF | .0584401 .0617051 0.95 0.344 -.0627734 .1796536 _cons | 5.370631 .4882155 11.00 0.000 4.41158 6.329681 It can be shown mathematically that the F test of a restriction and the corresponding t test are equivalent. The F statistic is the square of the t statistic and the critical value of F is the square of the critical value of t. 29

Copyright Christopher Dougherty 2011. 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 6.5 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 http://www.oup.com/uk/orc/bin/9780199567089/. Individuals studying econometrics on their own and 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 http://www2.lse.ac.uk/study/summerSchools/summerSchool/Home.aspx or the University of London International Programmes distance learning course 20 Elements of Econometrics www.londoninternational.ac.uk/lse. 11.07.25