Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: t tests Original citation: Dougherty, C. (2012) EC220 - Introduction.

Slides:



Advertisements
Similar presentations
t TEST OF A HYPOTHESIS RELATING TO A REGRESSION COEFFICIENT
Advertisements

EC220 - Introduction to econometrics (chapter 2)
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)
1 SIMULTANEOUS EQUATIONS MODELS Most of the issues relating to the fitting of simultaneous equations models with time series data are similar to those.
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 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)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 8) Slideshow: Friedman’s critique of OLS estimation of the consumption function Original.
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 6)
EC220 - Introduction to econometrics (chapter 3)
EC220 - Introduction to econometrics (chapter 4)
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: exercise r.19 Original citation: Dougherty, C. (2012) EC220 - Introduction.
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 (chapter 2) Slideshow: exercise 2.16 Original citation: Dougherty, C. (2012) EC220 - Introduction.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: population variance of a discreet random variable Original citation:
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)
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 2) Slideshow: a Monte Carlo experiment Original citation: Dougherty, C. (2012) EC220.
EC220 - Introduction to econometrics (chapter 7)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 2) Slideshow: testing a hypothesis relating to a regression coefficient Original citation:
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.
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: expected value of a function of a random variable Original citation:
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)
Christopher Dougherty EC220 - Introduction to econometrics (chapter 3) Slideshow: prediction Original citation: Dougherty, C. (2012) EC220 - Introduction.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: maximum likelihood estimation of regression coefficients Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
EC220 - Introduction to econometrics (review chapter)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
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.
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.
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,
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: alternative expression for population variance Original citation:
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 -
Introduction to Econometrics, 5th edition
Presentation transcript:

Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: t tests Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [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

1 t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit The diagram summarizes the procedure for performing a 5% significance test on the slope coefficient of a regression under the assumption that we know its standard deviation.

2 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit This is a very unrealistic assumption. We usually have to estimate it with the standard error, and we use this in the test statistic instead of the standard deviation. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

3 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit Because we have replaced the standard deviation in its denominator with the standard error, the test statistic has a t distribution instead of a normal distribution. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

4 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit Accordingly, we refer to the test statistic as a t statistic. In other respects the test procedure is much the same. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

5 We look up the critical value of t and if the t statistic is greater than it, positive or negative, we reject the null hypothesis. If it is not, we do not. s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

6 Here is a graph of a normal distribution with zero mean and unit variance normal t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

7 A graph of a t distribution with 10 degrees of freedom (this term will be defined in a moment) has been added. normal t, 10 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

8 When the number of degrees of freedom is large, the t distribution looks very much like a normal distribution (and as the number increases, it converges on one). normal t, 10 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

9 Even when the number of degrees of freedom is small, as in this case, the distributions are very similar. normal t, 10 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

10 Here is another t distribution, this time with only 5 degrees of freedom. It is still very similar to a normal distribution. normal t, 5 d.f. t, 10 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

11 So why do we make such a fuss about referring to the t distribution rather than the normal distribution? Would it really matter if we always used 1.96 for the 5% test and 2.58 for the 1% test? normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

12 The answer is that it does make a difference. Although the distributions are generally quite similar, the t distribution has longer tails than the normal distribution, the difference being the greater, the smaller the number of degrees of freedom. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

13 As a consequence, the probability of obtaining a high test statistic on a pure chance basis is greater with a t distribution than with a normal distribution. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

14 This means that the rejection regions have to start more standard deviations away from zero for a t distribution than for a normal distribution. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

15 The 2.5% tail of a normal distribution starts 1.96 standard deviations from its mean. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

16 The 2.5% tail of a t distribution with 10 degrees of freedom starts 2.33 standard deviations from its mean. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

17 That for a t distribution with 5 degrees of freedom starts 2.57 standard deviations from its mean. normal t, 10 d.f. t, 5 d.f. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

18 For this reason we need to refer to a table of critical values of t when performing significance tests on the coefficients of a regression equation. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

19 At the top of the table are listed possible significance levels for a test. For the time being we will be performing two-sided tests, so ignore the line for one-sided tests. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

20 Hence if we are performing a (two-sided) 5% significance test, we should use the column thus indicated in the table. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

21 The left hand vertical column lists degrees of freedom. When estimating the population mean using the sample mean, the number of degrees of freedom is defined to be the number of observations minus 1. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… When estimating the population mean using the sample mean, the number of degrees of freedom = n – 1. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

22 Thus, if there are 20 observations in the sample, as in the sales tax example we will discuss in a moment, the number of degrees of freedom would be 19 and the critical value of t for a 5% test would be t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

23 Note that as the number of degrees of freedom becomes large, the critical value converges on 1.96, the critical value for the normal distribution. This is because the t distribution converges on the normal distribution. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

24 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > t crit or t < –t crit t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN Hence, referring back to the summary of the test procedure,

25 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 5% significance test: reject H 0 :  =  0 if t > or t < –2.093 t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN we should reject the null hypothesis if the absolute value of t is greater than

26 If instead we wished to perform a 1% significance test, we would use the column indicated above. Note that as the number of degrees of freedom becomes large, the critical value converges to 2.58, the critical value for the normal distribution. t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

27 For a samplr of 20 observations, the critical value of t at the 1% level is t Distribution: Critical values of t Degrees of Two-sided test 10% 5% 2% 1% 0.2% 0.1% freedom One-sided test 5% 2.5% 1% 0.5% 0.1% 0.05% ………………… ………………… t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

28 s.d. of X known discrepancy between hypothetical value and sample estimate, in terms of s.d.: 5% significance test: reject H 0 :  =  0 if z > 1.96 or z < –1.96 s.d. of X not known discrepancy between hypothetical value and sample estimate, in terms of s.e.: 1% significance test: reject H 0 :  =  0 if t > or t < –2.861 t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN So we should use this figure in the test procedure for a 1% test.

We now consider an example of a t test. 29 Example: A certain city abolishes its local sales tax on consumer expenditure. A survey of 20 households shows that, in the following month, mean household expenditure increased by $160 and the standard error of the increase was $60. We wish to determine whether the abolition of the tax had a significant effect on household expenditure. We take as our null hypothesis that there was no effect: H 0 :  = 0. The test statistic is The critical values of t with 19 degrees of freedom are 2.09 at the 5 percent significance level and 2.86 at the 1 percent level. Hence we reject the null hypothesis of no effect at the 5 percent level but not at the 1 percent level. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

30 Example: A certain city abolishes its local sales tax on consumer expenditure. A survey of 20 households shows that, in the following month, mean household expenditure increased by $160 and the standard error of the increase was $60. We wish to determine whether the abolition of the tax had a significant effect on household expenditure. We take as our null hypothesis that there was no effect: H 0 :  = 0. The test statistic is The critical values of t with 19 degrees of freedom are 2.09 at the 5 percent significance level and 2.86 at the 1 percent level. Hence we reject the null hypothesis of no effect at the 5 percent level but not at the 1 percent level. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

31 Example: A certain city abolishes its local sales tax on consumer expenditure. A survey of 20 households shows that, in the following month, mean household expenditure increased by $160 and the standard error of the increase was $60. We wish to determine whether the abolition of the tax had a significant effect on household expenditure. We take as our null hypothesis that there was no effect: H 0 :  = 0. The test statistic is The critical values of t with 19 degrees of freedom are 2.09 at the 5 percent significance level and 2.86 at the 1 percent level. Hence we reject the null hypothesis of no effect at the 5 percent level but not at the 1 percent level. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

32 Example: A certain city abolishes its local sales tax on consumer expenditure. A survey of 20 households shows that, in the following month, mean household expenditure increased by $160 and the standard error of the increase was $60. We wish to determine whether the abolition of the tax had a significant effect on household expenditure. We take as our null hypothesis that there was no effect: H 0 :  = 0. The test statistic is The critical values of t with 19 degrees of freedom are 2.09 at the 5 percent significance level and 2.86 at the 1 percent level. Hence we reject the null hypothesis of no effect at the 5 percent level but not at the 1 percent level. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

33 Example: A certain city abolishes its local sales tax on consumer expenditure. A survey of 20 households shows that, in the following month, mean household expenditure increased by $160 and the standard error of the increase was $60. We wish to determine whether the abolition of the tax had a significant effect on household expenditure. We take as our null hypothesis that there was no effect: H 0 :  = 0. The test statistic is The critical values of t with 19 degrees of freedom are 2.09 at the 5 percent significance level and 2.86 at the 1 percent level. Hence we reject the null hypothesis of no effect at the 5 percent level but not at the 1 percent level. t TEST OF A HYPOTHESIS RELATING TO A POPULATION MEAN

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.11 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 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 or the University of London International Programmes distance learning course 20 Elements of Econometrics