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 :

Slides:



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

EC220 - Introduction to econometrics (review chapter)
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 THE DISTURBANCE TERM IN LOGARITHMIC MODELS Thus far, nothing has been said about the disturbance term in nonlinear regression models.
EC220 - Introduction to econometrics (chapter 7)
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 (review chapter) Slideshow: asymptotic properties of estimators: plims and consistency Original.
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.
HETEROSCEDASTICITY-CONSISTENT STANDARD ERRORS 1 Heteroscedasticity causes OLS standard errors to be biased is finite samples. However it can be demonstrated.
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.
Random effects estimation RANDOM EFFECTS REGRESSIONS When the observed variables of interest are constant for each individual, a fixed effects regression.
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.
ASYMPTOTIC PROPERTIES OF ESTIMATORS: PLIMS AND CONSISTENCY
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.
1 We will now consider the distributional properties of OLS estimators in models with a lagged dependent variable. We will do so for the simplest such.
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.
1 A MONTE CARLO EXPERIMENT In the previous slideshow, we saw that the error term is responsible for the variations of b 2 around its fixed component 
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.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: Friedman Original citation: Dougherty, C. (2012) EC220 - Introduction.
Confidence intervals were treated at length in the Review chapter and their application to regression analysis presents no problems. We will not repeat.
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.
ASYMPTOTIC AND FINITE-SAMPLE DISTRIBUTIONS OF THE IV ESTIMATOR
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.
A.1The model is linear in parameters and correctly specified. PROPERTIES OF THE MULTIPLE REGRESSION COEFFICIENTS 1 Moving from the simple to the multiple.
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 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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
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.
HETEROSCEDASTICITY 1 This sequence relates to Assumption A.4 of the regression model assumptions and introduces the topic of heteroscedasticity. This relates.
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 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.
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
Introduction to Econometrics, 5th edition
Presentation transcript:

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 :  =  0 alternative hypothesis:H 1 :  =  1

2 We will start by considering the case where  can take only two possible values:  0, as under the null hypothesis, and  1, the only possible alternative. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

3 An example of this situation is where you are selling computer accessories and among your products there are two types of removable lap-top batteries: regular (average charge duration  0 ) and long life (average charge duration  1 ). ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

4 You have been sent an unmarked shipment and you take a sample and see how long they last. Your null hypothesis is that they are regular batteries. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

5 Suppose that the sample outcome is as shown. You would not reject the null hypothesis because the sample estimate lies within the acceptance region for H 0. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

6 Here you would reject the null hypothesis and conclude that the shipment was of long life batteries. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

7 Here you would stay with the null hypothesis. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

8 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% A sample outcome such as this one gives rise to a serious problem. It lies in the rejection region for H 0, so our first impulse would be to reject H 0. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

9 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% But to reject H 0 and go with H 1 is nonsensical. Granted, the sample outcome seems to contradict H 0, but it contradicts H 1 even more strongly. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

10 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% The probability of getting a sample outcome like this one is much smaller under H 1 than it is under H 0. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

11 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% For this reason the left tail should be eliminated as a rejection region for H 0. We should use only the right tail as a rejection region. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

12 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% The probability of making a Type I error, if H 0 happens to be true, is now 2.5%, so the significance level of the test is now 2.5%. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

13 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% We can convert it back to a 5% significance test by building up the right tail until it contains 5% of the probability under the curve. It starts standard deviations from the mean. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

14 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% Why would we want to do this? For the answer, we go back to the trade-off between Type I and Type II errors. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

15 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% With a 5% test, there is a greater chance of making a Type I error if H 0 happens to be true, but there is less risk of making a Type II error if it happens to be false. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

16 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% Note that the logic for dropping the left tail depended only on  1 being greater than  0. It did not depend on  1 being any specific value. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

17 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% Hence we can generalize the one-sided test to cover the case where the alternative hypothesis is simply that  is greater than  0. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  >  0

18 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% To justify the use of a one-sided test, all we have to do is to rule out, on the basis of economic theory or previous empirical experience, the possibility that  is less than  0. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  >  0

19 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  <  0 Sometimes, given a null hypothesis H 0 :  =  0, on the basis of economic theory or previous experience, you can rule out the possibility of  being greater than  0.

20 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% In this situation you would also perform a one-sided test, now with the left tail being used as the rejection region. With this change, the logic is the same as before. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  <  0

We will next investigate how the use of a one-sided test improves the trade-off between the risks of making Type I and Type II errors. 21 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

22 We will start by returning to the case where  can take only two possible values,  0 and  1. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

23 Suppose that we use a two-sided 5% significance test. If H 0 is true, there is a 5% risk of making a Type I error. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

24 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% However, H 0 may be false. In that case the probability of not rejecting it and making a Type II error is given by the blue shaded area. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

25 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 2.5% This area gives the probability of the estimate lying within the acceptance region for H 0, if H 1 is in fact true. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

26 Now suppose that you use a one-sided test, taking advantage of the fact that it is irrational to reject H 0 if the estimate is in the left tail. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  >  0

27 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% Having expanded the right tail to 5%, we are still performing a 5% significance test, and the risk of making a Type I error is still 5%, if H 0 is true. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  >  0

28 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd 5% But if H 0 is false, the risk of making a Type II error is smaller than before. The probability of an estimate lying in the acceptance region for H 0 is now given by the red area. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  >  0

29 This is smaller than the blue area for the two-sided test. ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

30 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd Thus, with no increase in the probability of making a Type I error (if H 0 is true), we have reduced the probability of making a Type II error (if H 0 is false). null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

31 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd When the alternative hypothesis is H 1 :  >  0 or H 1 :  <  0, the more general (and more typical) case, we cannot draw this diagram. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

32 ONE-SIDED t TESTS 11 00  0 +sd  0 –sd  0 –2sd  1 +2sd Nevertheless we can be sure that, by using a one-sided test, we are reducing the probability of making a Type II error, if H 0 happens to be false. null hypothesis:H 0 :  =  0 alternative hypothesis:H 1 :  =  1

33 One-sided tests are often particularly useful where the analysis relates to the evaluation of treatment and effect. Suppose that a number of units of observation receive some type of treatment and X i is a measure of the effect of the treatment for observation i. ONE-SIDED t TESTS null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  ≠ sd–1.96 sd 2.5% reject H 0 do not reject H 0

34 To demonstrate that the treatment did have an effect, we set up the null hypothesis H 0 :  = 0 and see if we can reject it, given the sample average X. ONE-SIDED t TESTS sd–1.96 sd 2.5% reject H 0 do not reject H 0 null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  ≠ 0

35 If you use a two-sided 5% significance test, X must be 1.96 standard deviations above or below 0 if you are to reject H 0. ONE-SIDED t TESTS sd–1.96 sd 2.5% reject H 0 do not reject H 0 null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  ≠ 0

36 ONE-SIDED t TESTS 0 –1.96 sd 2.5% do not reject H sd However, if you can justify the use of a one-sided test, for example with H 1 :  > 0, your estimate has to be only 1.65 standard deviations above 0. reject H 0 null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 0

37 ONE-SIDED t TESTS 0 –1.96 sd 2.5% reject H sd This makes it easier to reject H 0 and thereby demonstrate that the treatment has had a significant effect. do not reject H 0 null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 0

38 ONE-SIDED t TESTS 0 –1.96 sd 2.5% reject H sd do not reject H 0 Throughout this sequence, it has been assumed that the standard deviation of the distribution of b 2 is known, and the normal distribution has been used in the diagrams. null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 0

39 ONE-SIDED t TESTS 0 –1.96 sd 2.5% reject H sd do not reject H 0 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. null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 0

40 ONE-SIDED t TESTS 0 –1.96 sd 2.5% reject H sd do not reject H 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. null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 0

41 ONE-SIDED t TESTS 0 –1.96 sd 2.5% reject H sd do not reject H 0 Hence, if H 0 is false, the risk of not rejecting it, thereby making a Type II error, is smaller. null hypothesis:H 0 :  = 0 alternative hypothesis:H 1 :  > 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 R.13 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