1 In the previous sequence, we were performing what are described as two-sided t tests. These are appropriate when we have no information about the alternative.

Slides:



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

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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: introduction to maximum likelihood estimation Original citation: Dougherty,
1 XX X1X1 XX X Random variable X with unknown population mean  X function of X probability density Sample of n observations X 1, X 2,..., X n : potential.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient Original citation:
1 THE NORMAL DISTRIBUTION In the analysis so far, we have discussed the mean and the variance of a distribution of a random variable, but we have not said.
1 PROBABILITY DISTRIBUTION EXAMPLE: X IS THE SUM OF TWO DICE red This sequence provides an example of a discrete random variable. Suppose that you.
MEASUREMENT ERROR 1 In this sequence we will investigate the consequences of measurement errors in the variables in a regression model. To keep the analysis.
1 ASSUMPTIONS FOR MODEL C: REGRESSIONS WITH TIME SERIES DATA Assumptions C.1, C.3, C.4, C.5, and C.8, and the consequences of their violations are the.
00  sd  0 –sd  0 –1.96sd  0 +sd 2.5% CONFIDENCE INTERVALS probability density function of X null hypothesis H 0 :  =  0 In the sequence.
EXPECTED VALUE OF A RANDOM VARIABLE 1 The expected value of a random variable, also known as its population mean, is the weighted average of its possible.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient (2010/2011.
TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 1 This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (review chapter)
TESTING A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT This sequence describes the testing of a hypotheses relating to regression coefficients. It is.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
DERIVING LINEAR REGRESSION COEFFICIENTS
1 In a second variation, we shall consider the model shown above. x is the rate of growth of productivity, assumed to be exogenous. w is now hypothesized.
1 This sequence shows why OLS is likely to yield inconsistent estimates in models composed of two or more simultaneous relationships. SIMULTANEOUS EQUATIONS.
1 PREDICTION In the previous sequence, we saw how to predict the price of a good or asset given the composition of its characteristics. In this sequence,
EC220 - Introduction to econometrics (review chapter)
1 UNBIASEDNESS AND EFFICIENCY Much of the analysis in this course will be concerned with three properties of estimators: unbiasedness, efficiency, and.
FIXED EFFECTS REGRESSIONS: WITHIN-GROUPS METHOD The two main approaches to the fitting of models using panel data are known, for reasons that will be explained.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: autocorrelation, partial adjustment, and adaptive expectations Original.
THE DUMMY VARIABLE TRAP 1 Suppose that you have a regression model with Y depending on a set of ordinary variables X 2,..., X k and a qualitative variable.
1 CONTINUOUS RANDOM VARIABLES A discrete random variable is one that can take only a finite set of values. The sum of the numbers when two dice are thrown.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: conflicts between unbiasedness and minimum variance Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: measurement error Original citation: Dougherty, C. (2012) EC220 - Introduction.
THE FIXED AND RANDOM COMPONENTS OF A RANDOM VARIABLE 1 In this short sequence we shall decompose a random variable X into its fixed and random components.
1 General model with lagged variables Static model AR(1) model Model with lagged dependent variable Methodologically, in developing a regression specification.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
CONSEQUENCES OF AUTOCORRELATION
ALTERNATIVE EXPRESSION FOR POPULATION VARIANCE 1 This sequence derives an alternative expression for the population variance of a random variable. It provides.
CONFLICTS BETWEEN UNBIASEDNESS AND MINIMUM VARIANCE
1 t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN The diagram summarizes the procedure for performing a 5% significance test on the slope coefficient.
MULTIPLE RESTRICTIONS AND ZERO RESTRICTIONS
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,
TYPE II ERROR AND THE POWER OF A TEST A Type I error occurs when the null hypothesis is rejected when it is in fact true. A Type II error occurs when the.
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.
A.1The model is linear in parameters and correctly specified. PROPERTIES OF THE MULTIPLE REGRESSION COEFFICIENTS 1 Moving from the simple to the multiple.
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 We will now look at the properties of the OLS regression estimators with the assumptions of Model B. We will do this within the context of the simple.
1 Y SIMPLE REGRESSION MODEL Suppose that a variable Y is a linear function of another variable X, with unknown parameters  1 and  2 that we wish to estimate.
1 We will continue with a variation on the basic model. We will now hypothesize that p is a function of m, the rate of growth of the money supply, as well.
1 11 00 This sequence explains the logic behind a one-sided t test. ONE-SIDED t TESTS  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :
1 ASYMPTOTIC PROPERTIES OF ESTIMATORS: THE USE OF SIMULATION In practice we deal with finite samples, not infinite ones. So why should we be interested.
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.
4 In our case, the starting point should be the model with all the lagged variables. DYNAMIC MODEL SPECIFICATION General model with lagged variables Static.
INSTRUMENTAL VARIABLES 1 Suppose that you have a model in which Y is determined by X but you have reason to believe that Assumption B.7 is invalid and.
1 INSTRUMENTAL VARIABLE ESTIMATION OF SIMULTANEOUS EQUATIONS In the previous sequence it was asserted that the reduced form equations have two important.
1 HETEROSCEDASTICITY: WEIGHTED AND LOGARITHMIC REGRESSIONS This sequence presents two methods for dealing with the problem of heteroscedasticity. We will.
1 ESTIMATORS OF VARIANCE, COVARIANCE, AND CORRELATION We have seen that the variance of a random variable X is given by the expression above. Variance.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: confidence intervals Original citation: Dougherty, C. (2012) EC220 -
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.
1 We will illustrate the heteroscedasticity theory with a Monte Carlo simulation. HETEROSCEDASTICITY: MONTE CARLO ILLUSTRATION 1 standard deviation of.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: simple regression model Original citation: Dougherty, C. (2012) EC220.
FOOTNOTE: THE COCHRANE–ORCUTT ITERATIVE PROCESS 1 We saw in the previous sequence that AR(1) autocorrelation could be eliminated by a simple manipulation.
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

1 In the previous sequence, we were performing what are described as two-sided t tests. These are appropriate when we have no information about the alternative hypothesis. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

2 Under the null, the coefficient is hypothesized to be a certain value. Under the alternative hypothesis, the coefficient could be any value other than that specified by the null. It could be higher or it could be lower. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

3 However, sometimes we are in a position to say that, if the null hypothesis is not true, the coefficient cannot be lower than that specified by it. We re-write the null hypothesis as shown and perform a one-sided test. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

4 On other occasions, we might be in a position to assert that, if the null hypothesis is not true, the coefficient cannot be greater than the value specified by it. The modified null hypothesis for this case is shown. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

5 The theory behind one-sided tests, in particular, the gain in the trade-off between the size (significance level) and power of a test, is non-trivial and an understanding requires a careful study of section R.13 of the Review chapter. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

6 This sequence assumes a good understanding of that material. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS True model Fitted model Null hypothesis Alternative hypothesis Test statistic Reject H 0 if

7 Returning to the price inflation/wage inflation model, we saw that we could not reject the null hypothesis  2 = 1, even at the 5% significance level. That was using a two-sided test. Example: p =  1 +  2 w + u Null hypothesis: H 0 :  2 = 1.0 Alternative hypothesis: H 1 :  2 ≠ 1.0 ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS

8 However, in practice, improvements in productivity may cause the rate of cost inflation, and hence that of price inflation, to be lower than that of wage inflation. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS Example: p =  1 +  2 w + u Null hypothesis: H 0 :  2 = 1.0 Alternative hypothesis: H 1 :  2 ≠ 1.0

9 Certainly, improvements in productivity will not cause price inflation to be greater than wage inflation and so in this case we are justified in ruling out  2 > 1. We are left with H 0 :  2 = 1 and H 1 :  2 < 1. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS Example: p =  1 +  2 w + u Null hypothesis: H 0 :  2 = 1.0 Alternative hypothesis: H 1 :  2 ≠ 1.0

10 Thus we can perform a one-sided test, for which the critical value of t with 18 degrees of freedom at the 5% significance level is Now we can reject the null hypothesis and conclude that price inflation is significantly lower than wage inflation, at the 5% significance level. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS Example: p =  1 +  2 w + u Null hypothesis: H 0 :  2 = 1.0 Alternative hypothesis: H 1 :  2 ≠ 1.0

11 Now we will consider the special, but very common, case H 0 :  2 = 0. Model Y =  1 +  2 X + u Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 ≠ 0 ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS

12 It occurs when you wish to demonstrate that a variable X influences another variable Y. You set up the null hypothesis that X has no effect (  2 = 0) and try to reject H 0. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS Model Y =  1 +  2 X + u Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 ≠ 0

13 probability density function of b 2 The figure shows the distribution of b 2, conditional on H 0 :  2 = 0 being true. For simplicity, we initially assume that we know the standard deviation. Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 ≠ 0 ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd–1.96 sd 2.5% b2b2

14 If you use a two-sided 5% significance test, your estimate must be 1.96 standard deviations above or below 0 if you are to reject H 0. probability density function of b 2 0 reject H 0 do not reject H sd–1.96 sd 2.5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 ≠ 0

15 probability density function of b 2 However, if you can justify the use of a one-sided test, for example with H 0 :  2 > 0, your estimate has to be only 1.65 standard deviations above 0. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

16 probability density function of b 2 0 reject H 0 do not reject H sd This makes it easier to reject H 0 and thereby demonstrate that Y really is influenced by X (assuming that your model is correctly specified). 5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

17 probability density function of b 2 Suppose that Y is genuinely determined by X and that the true (unknown) coefficient is  2, as shown. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

18 probability density function of b 2 Suppose that we have a sample of observations and calculate the estimated slope coefficient, b 2. If it is as shown in the diagram, what do we conclude when we test H 0 ? ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

19 probability density function of b 2 The answer is that b 2 lies in the rejection region. It makes no difference whether we perform a two-sided test or a one-sided test. We come to the correct conclusion. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

20 probability density function of b 2 What do we conclude if b 2 is as shown? We fail to reject H 0, irrespective of whether we perform a two-sided test or a two-dsided test. We would make a Type II error in either case. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

21 probability density function of b 2 What do we conclude if b 2 is as shown here? In the case of a two-sided test, b 2 is not in the rejection region. We are unable to reject H 0. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

22 probability density function of b 2 This means that we are unable to demonstrate that X has a significant effect on Y. This is disappointing, because we were hoping to demonstrate that X is a determinant of Y. ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

23 probability density function of b 2 However, if we are in a position to perform a one-sided test, b 2 does lie in the rejection region and so we have demonstrated that X has a significant effect on Y (at the 5% significance level, of course). ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 22 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

24 probability density function of b 2 0 reject H 0 do not reject H sd 22 Thus we get a positive finding that we could not get with a two-sided test. 5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

25 probability density function of b 2 0 reject H 0 do not reject H 0 22 To put this reasoning more formally, the power of a one-sided test is greater than that of a two-sided test. The blue area shows the probability of making a Type II error using a two- sided test. It is the area under the true curve to the left of the rejection region. 2.5% 1.96 sd ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

26 probability density function of b 2 0 reject H 0 do not reject H sd 22 The red area shows the probability of making a Type II error using a one-sided test. It is smaller. Since the power of a test is (1 – probability of making a Type II error when H 0 is false), the power of a one-sided test is greater than that of a two-sided test. 5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

In all of this, we have assumed that we knew the standard deviation of the distribution of b 2. In practice, of course, the standard deviation has to be estimated as the standard error, and the t distribution is the relevant distribution. However, the logic is exactly the same. 27 probability density function of b 2 ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS 0 reject H 0 do not reject H sd 5% b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

At any given significance level, the critical value of t for a one-sided test is lower than that for a two-sided test. 28 probability density function of b 2 0 reject H 0 do not reject H sd 5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

Hence, if H 0 is false, the risk of not rejecting it, thereby making a Type II error, is smaller, and so the power of a one-sided test is greater than that of a two-sided test. 29 probability density function of b 2 0 reject H 0 do not reject H sd 22 5% ONE-SIDED t TESTS OF HYPOTHESES RELATING TO REGRESSION COEFFICIENTS b2b2 Null hypothesis: H 0 :  2 = 0 Alternative hypothesis: H 1 :  2 > 0

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 2.6 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