EC220 - Introduction to econometrics (review chapter)

Slides:



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

EC220 - Introduction to econometrics (review chapter)
EC220 - Introduction to econometrics (chapter 4)
EC220 - Introduction to econometrics (review chapter)
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 10) Slideshow: introduction to maximum likelihood estimation Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 11) Slideshow: adaptive expectations Original citation: Dougherty, C. (2012) EC220.
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 12) Slideshow: dynamic model specification Original citation: Dougherty, C. (2012)
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.
EC220 - Introduction to econometrics (chapter 7)
EC220 - Introduction to econometrics (chapter 2)
EC220 - Introduction to econometrics (chapter 9)
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 (review chapter) Slideshow: expected value of a function of a random variable Original citation:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 6) Slideshow: variable misspecification iii: consequences for diagnostics Original.
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 (chapter 1)
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 (review chapter) Slideshow: continuous random variables Original citation: Dougherty, C. (2012)
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 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:
EC220 - Introduction to econometrics (chapter 12)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: the normal distribution Original citation: Dougherty, C. (2012)
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.
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)
Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: sampling and estimators Original citation: Dougherty, C. (2012)
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:
Christopher Dougherty EC220 - Introduction to econometrics (chapter 12) Slideshow: autocorrelation, partial adjustment, and adaptive expectations Original.
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.
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.
Christopher Dougherty EC220 - Introduction to econometrics (chapter 7) Slideshow: weighted least squares and logarithmic regressions Original citation:
EC220 - Introduction to econometrics (chapter 8)
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.
© Christopher Dougherty 1999–2006 The denominator has been rewritten a little more carefully, making it explicit that the summation of the squared deviations.
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 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 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 :
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.
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 -
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 (review chapter) Slideshow: independence of two random variables Original citation: Dougherty,
Christopher Dougherty EC220 - Introduction to econometrics (chapter 1) Slideshow: simple regression model Original citation: Dougherty, C. (2012) EC220.
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Introduction to Econometrics, 5th edition
Presentation transcript:

EC220 - Introduction to econometrics (review chapter) Christopher Dougherty EC220 - Introduction to econometrics (review chapter) Slideshow: hypothesis testing   Original citation: Dougherty, C. (2012) EC220 - Introduction to econometrics (review chapter). [Teaching Resource] © 2012 The Author This version available at: http://learningresources.lse.ac.uk/141/ 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/

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Assumption: X ~ N(m, s2) Null hypothesis: Alternative hypothesis: This sequence describes the testing of a hypothesis at the 5% and 1% significance levels. It also defines what is meant by a Type I error. 1

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Assumption: X ~ N(m, s2) Null hypothesis: Alternative hypothesis: We will suppose that we have observations on a random variable with a normal distribution with unknown mean m and that we wish to test the hypothesis that the mean is equal to some specific value m0. 2

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Assumption: X ~ N(m, s2) Null hypothesis: Alternative hypothesis: The hypothesis being tested is described as the null hypothesis. We test it against the alternative hypothesis H1, which is simply that m is not equal to m0. 3

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Assumption: X ~ N(m, s2) Null hypothesis: Alternative hypothesis: Example As an illustration, we suppose that the null hypothesis is that the mean is equal to 10 and the alternative hypothesis that it is not equal to 10. 4

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X If this null hypothesis is true, X will have a distribution with mean 10. To draw the distribution, we must know its standard deviation. 5

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X We will assume that we know the standard deviation of X and that it is equal to 1. This is a very unrealistic assumption. In practice you have to estimate it. 6

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd Here is the distribution of X for the general case. Again, for the time being we are assuming that we know its standard deviation (sd). 7

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X Suppose that we have a sample of data for the example model and the sample mean X is 9. Would this be evidence against the null hypothesis m = 10? 8

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X No, it is not. It is lower than 10, but we would not expect to be exactly equal to 10 because the sample mean has a random component. 9

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X If the null hypothesis is true, we should frequently get estimates as low as 9, so there is no real conflict. 10

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd In terms of the general case, the sample mean is one standard deviation below the hypothetical population mean. 11

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd If the null hypothesis is true, the probability of the sample mean being one standard deviation or more above or below the population mean is 31.7%. 12

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X Now suppose that in the example model the sample mean is equal to 14. This clearly conflicts with the null hypothesis. 13

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd 1.4 is four standard deviations above the hypothetical mean and the chance of getting such an extreme estimate is only 0.006%. We would reject the null hypothesis. 14

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X Now suppose that in the example model the sample mean is equal to 7.7. This is an awkward result. 15

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd Under the null hypothesis, the estimate is between 2 and 3 standard deviations below the mean. 16

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X There are two possibilities. One is that the null hypothesis is true, and we have a slightly freaky sample mean. 17

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 6 7 8 9 10 11 12 13 14 X The other is that the null hypothesis is false. The population mean is not equal to 10. 18

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd The usual procedure for making decisions is to reject the null hypothesis if it implies that the probability of getting such an extreme sample mean is less than some (small) probability p. 19

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) 2.5% 2.5% X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd For example, we might choose to reject the null hypothesis if it implies that the probability of getting such an extreme sample mean is less than 0.05 (5%). 20

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) 2.5% 2.5% X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd According to this decision rule, we would reject the null hypothesis if the sample mean fell in the upper or lower 2.5% tails. 21

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X If we apply this decision rule to the example model, a sample mean of 9 would not lead to a rejection of the null hypothesis. 22

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X A sample mean of 14 definitely would lead us to reject H0. 23

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =10 is true (standard deviation equals 1 taken as given) 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X A sample mean of 7.7 also would lead to rejection.. 24

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X Distribution of X under the null hypothesis H0: m =m0 is true (standard deviation taken as given) 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd The 2.5% tails of a normal distribution always begin 1.96 standard deviations from its mean. 25

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X – m0 > 1.96 s.d. (2) if X – m0 < –1.96 s.d. (1) if (X – m0) / s.d. > 1.96 (2) if (X – m0) / s.d. < –1.96 (1) if z > 1.96 (2) if z < -1.96 probability density function of X 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd Thus we would reject H0 if the sample mean were 1.96 standard deviations (or more) above or below the hypothetical population mean. 26

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X – m0 > 1.96 s.d. (2) if X – m0 < –1.96 s.d. (1) if (X – m0) / s.d. > 1.96 (2) if (X – m0) / s.d. < –1.96 (1) if z > 1.96 (2) if z < -1.96 probability density function of X 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd We would reject H0 if the difference between the sample mean and hypothetical population mean were more than 1.96 standard deviations. 27

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X – m0 > 1.96 s.d. (2) if X – m0 < –1.96 s.d. (1) if (X – m0) / s.d. > 1.96 (2) if (X – m0) / s.d. < –1.96 (1) if z > 1.96 (2) if z < -1.96 probability density function of X 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd We would reject H0 if the difference, expressed in terms of standard deviations, were more than 1.96 in absolute terms (positive or negative). 28

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X – m0 > 1.96 s.d. (2) if X – m0 < –1.96 s.d. (1) if (X – m0) / s.d. > 1.96 (2) if (X – m0) / s.d. < –1.96 (1) if z > 1.96 (2) if z < -1.96 probability density function of X 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd We will denote the difference, expressed in terms of standard deviations, as z. 29

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X – m0 > 1.96 s.d. (2) if X – m0 < –1.96 s.d. (1) if (X – m0) / s.d. > 1.96 (2) if (X – m0) / s.d. < –1.96 (1) if z > 1.96 (2) if z < –1.96 probability density function of X 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd Then the decision rule is to reject the null hypothesis if z is greater than 1.96 in absolute terms. 30

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if z > 1.96 (2) if z < –1.96 probability density function of X acceptance region for X: 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd The range of values of X that do not lead to the rejection of the null hypothesis is known as the acceptance region. 31

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if z > 1.96 (2) if z < –1.96 probability density function of X acceptance region for X: 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd The limiting values of z for the acceptance region are 1.96 and –1.96 (for a 5% significance test). 32

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X > 10 + 1.96 x 1.0 (2) if X < 10 – 1.96 x 1.0 (1) if X > 11.96 (2) if X < 8.04 probability density function of X 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X We will look again at the decision process in terms of the example model. The null hypothesis is that the slope coefficient is equal to 10. 33

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X > 10 + 1.96 x 1.0 (2) if X < 10 – 1.96 x 1.0 (1) if X > 11.96 (2) if X < 8.04 probability density function of X 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X We are assuming that we know the standard deviation and that it is equal to 1.0. 34

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (5% significance level): reject (1) if X > m0 + 1.96 s.d. (2) if X < m0 – 1.96 s.d. (1) if X > 10 + 1.96 x 1.0 (2) if X < 10 – 1.96 x 1.0 (1) if X > 11.96 (2) if X < 8.04 probability density function of X acceptance region for X : 8.04 ≤ X ≤ 11.96 2.5% 2.5% 6 7 8 9 10 11 12 13 14 X The acceptance region for X is therefore the interval 8.04 to 11.96. A sample mean in this range will not lead to the rejection of the null hypothesis. 35

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 5% Significance level of the test is 5%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd Rejection of the null hypothesis when it is in fact true is described as a Type I error. 36

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 5% Significance level of the test is 5%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd With the present test, if the null hypothesis is true, a Type I error will occur 5% of the time because 5% of the time we will get estimates in the upper or lower 2.5% tails. 37

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 5% Significance level (size) of the test is 5%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd The significance level of a test (often described as the size of a test) is defined to be the probability of making a Type I error if the null hypothesis is true. 38

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 5% Significance level (size) of the test is 5%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd We can of course reduce the risk of making a Type I error by reducing the size of the rejection region. 39

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 5% Significance level (size) of the test is 5%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 2.5% 2.5% X m0–1.96sd m0 m0+1.96sd For example, we could change the decision rule to “reject the null hypothesis if it implies that the probability of getting the sample estimate is less than 0.01 (1%)”. 40

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 0.5% 0.5% X m0–1.96sd m0 m0+1.96sd The rejection region now becomes the upper and lower 0.5% tails 41

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (1% significance level): reject (1) if X > m0 + 2.58 s.d. (2) if X < m0 – 2.58 s.d. (1) if z > 2.58 (2) if z < –2.58 probability density function of X acceptance region for X: 0.5% 0.5% X m0–2.58sd m0 m0+2.58sd The 0.5% tails of a normal distribution start 2.58 standard deviations from the mean, so we now reject the null hypothesis if z is greater than 2.58, in absolute terms. 42

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Type I error: rejection of H0 when it is in fact true. Probability of Type I error: in this case, 1% Significance level (size) of the test is 1%. probability density function of X reject H0: m = m0 acceptance region for X reject H0: m = m0 0.5% 0.5% X m0–2.58sd m0 m0+2.58sd Since the probability of making a Type I error, if the null hypothesis is true, is now only 1%, the test is said to be a 1% significance test. 43

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (1% significance level): reject (1) if X > m0 + 2.58 s.d. (2) if X < m0 – 2.58 s.d. (1) if X > 10 + 2.58 x 1.0 (2) if X < 10 – 2.58 x 1.0 (1) if X > 12.58 (2) if X < 7.42 probability density function of X acceptance region for X : 7.42 ≤ X ≤ 12.58 0.5% 0.5% 6 7 8 9 10 11 12 13 14 X In the case of the example model, given that the standard deviation is 1.0, the 0.5% tails start 2.58 above and below the mean, that is, at 7.42 and 12.58. 44

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN Decision rule (1% significance level): reject (1) if X > m0 + 2.58 s.d. (2) if X < m0 – 2.58 s.d. (1) if X > 10 + 2.58 x 1.0 (2) if X < 10 – 2.58 x 1.0 (1) if X > 12.58 (2) if X < 7.42 probability density function of X acceptance region for X : 7.42 ≤ X ≤ 12.58 0.5% 0.5% 6 7 8 9 10 11 12 13 14 X The acceptance region for X is therefore the interval 7.42 to 12.58. Because it is wider than that for the 5% test, there is less risk of making a Type I error, if the null hypothesis is true. 45

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 5% and 1% acceptance regions compared 5%: m0 – 1.96 s.d. ≤ X ≤ m0 + 1.96 s.d. –1.96 ≤ z ≤ 1.96 1%: m0 – 2.58 s.d. ≤ X ≤ m0 + 2.58 s.d. –2.58 ≤ z ≤ 2.58 probability density function of X 1% level 5% level 0.5% 0.5% X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd This diagram compares the decision-making processes for the 5% and 1% tests. Note that if you reject H0 at the 1% level, you must also reject it at the 5% level. 46

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN 5% and 1% acceptance regions compared 5%: m0 – 1.96 s.d. ≤ X ≤ m0 + 1.96 s.d. –1.96 ≤ z ≤ 1.96 1%: m0 – 2.58 s.d. ≤ X ≤ m0 + 2.58 s.d. –2.58 ≤ z ≤ 2.58 probability density function of X 1% level 5% level 0.5% 0.5% X m0–4sd m0–3sd m0–2sd m0–sd m0 m0+sd m0+2sd m0+3sd m0+4sd Note also that if X lies within the acceptance region for the 5% test, it must also fall within it for the 1% test. 47

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN General case Decision Example model Reject H0 at 1% level (and also 5% level) 12.58 Reject H0 at 5% level but not 1% level 11.96 Do not reject H0 at 5% level (or at 1% level) 10.00 8.04 Reject H0 at 5% level but not 1% level 7.42 Reject H0 at 1% level (and also 5% level) The diagram summarizes the possible decisions for the 5% and 1% tests, for both the general case and the example model. 48

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN General case Decision Example model Reject H0 at 1% level (and also 5% level) 12.58 Reject H0 at 5% level but not 1% level 11.96 Do not reject H0 at 5% level (or at 1% level) 10.00 8.04 Reject H0 at 5% level but not 1% level 7.42 Reject H0 at 1% level (and also 5% level) The middle of the diagram indicates what you would report. You would not report the phrases in parentheses. 49

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN General case Decision Example model Reject H0 at 1% level (and also 5% level) 12.58 Reject H0 at 5% level but not 1% level 11.96 Do not reject H0 at 5% level (or at 1% level) 10.00 8.04 Reject H0 at 5% level but not 1% level 7.42 Reject H0 at 1% level (and also 5% level) If you can reject H0 at the 1% level, it automatically follows that you can reject it at the 5% level and there is no need to say so. Indeed, you would look ignorant if you did. 50

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN General case Decision Example model Reject H0 at 1% level (and also 5% level) 12.58 Reject H0 at 5% level but not 1% level 11.96 Do not reject H0 at 5% level (or at 1% level) 10.00 8.04 Reject H0 at 5% level but not 1% level 7.42 Reject H0 at 1% level (and also 5% level) Likewise, if you cannot reject H0 at the 5% level, that is all you should say. It automatically follows that you cannot reject it at the 1% level and you would look ignorant if you said so. 51

TESTING A HYPOTHESIS RELATING TO THE POPULATION MEAN General case Decision Example model Reject H0 at 1% level (and also 5% level) 12.58 Reject H0 at 5% level but not 1% level 11.96 Do not reject H0 at 5% level (or at 1% level) 10.00 8.04 Reject H0 at 5% level but not 1% level 7.42 Reject H0 at 1% level (and also 5% level) You should report the results of both tests only when you can reject H0 at the 5% level but not at the 1% level. 52

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 R.9 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