Docsity

Hypothesis Testing - Lecture Notes | ECON 4340, Study notes of Introduction to Econometrics

Partial preview of the text

Download Hypothesis Testing - Lecture Notes | ECON 4340 and more Study notes Introduction to Econometrics in PDF only on Docsity!

Chapter 5

Hypothesis

Testing

Copyright © 2011 Pearson Addison-Wesley. All rights reserved. Slides by Niels-Hugo Blunch Washington and Lee University

What Is Hypothesis Testing?

  • (^) Hypothesis testing is used in a variety of settings
    • (^) The Food and Drug Administration (FDA), for example, tests new products before allowing their sale - (^) If the sample of people exposed to the new product shows some side effect significantly more frequently than would be expected to occur by chance, the FDA is likely to withhold approval of marketing that product
    • (^) Similarly, economists have been statistically testing various relationships , for example that between consumption and income
  • (^) Note here that while we cannot prove a given hypothesis (for

example the existence of a given relationship), we often can

reject a given hypothesis (again, for example, rejecting the

existence of a given relationship)

Type I and Type II Errors

  • (^) Two types of errors possible in hypothesis testing:
    • (^) Type I: Rejecting a true null hypothesis
    • (^) Type II: Not rejecting a false null hypothesis
  • (^) Example: Suppose we have the following null and alternative hypotheses: H 0 : β ≤ 0 HA: β > 0
    • (^) Even if the true β really is not positive, in any one sample we might still observe an estimate of β that is sufficiently positive to lead to the rejection of the null hypothesis
  • (^) This can be illustrated by Figure 5.

Figure 5.1 Rejecting a True Null

Hypothesis Is a Type I Error

Figure 5.2 Failure to Reject a False Null Hypothesis Is a Type II Error

Decision Rules of

Hypothesis Testing

  • (^) To test a hypothesis, we calculate a sample statistic that determines when the null hypothesis can be rejected depending on the magnitude of that sample statistic relative to a preselected critical value (which is found in a statistical table)
  • (^) This procedure is referred to as a decision rule
  • (^) The decision rule is formulated before regression estimates are obtained
  • (^) The range of possible values of the estimates is divided into two regions, an “ acceptance ” (really, non-rejection ) region and a rejection region
  • (^) The critical value effectively separates the “acceptance”/non-rejection region from the rejection region when testing a null hypothesis
  • (^) Graphs of these “acceptance” and rejection regions are given in Figures 5.3 and 5.

Figure 5.4 “Acceptance” and Rejection Regions for a Two-Sided Test of β

The t -Test

  • (^) The t-test is the test that econometricians usually use to test hypotheses about individual regression slope coefficients - (^) Tests of more than one coefficient at a time ( joint hypotheses) are typically done with the F-test , presented in Section 5.
  • (^) The appropriate test to use when the stochastic error term is normally distributed and when the variance of that distribution must be estimated - (^) Since these usually are the case, the use of the t-test for hypothesis testing has become standard practice in econometrics

The Critical t -Value and the

t -Test Decision Rule

  • (^) To decide whether to reject or not to reject a null hypothesis based

on a calculated t -value, we use a critical t -value

  • (^) A critical t -value is the value that distinguishes the “acceptance”

region from the rejection region

  • (^) The critical t -value, t c, is selected from a t -table (see Statistical

Table B-1 in the back of the book) depending on:

  • (^) whether the test is one-sided or two-sided,
  • (^) the level of Type I Error specified and
  • (^) the degrees of freedom (defined as the number of observations minus the number of coefficients estimated (including the constant) or N – K – 1)

The Critical t -Value and the

t -Test Decision Rule (cont.)

  • (^) The rule to apply when testing a single regression coefficient ends up being that you should: Reject H 0 if |tk| > tc and if tk also has the sign implied by HA Do not reject H 0 otherwise

The Critical t-Value and the t -Test

Decision Rule (cont.)

  • (^) As well as for two-sided hypotheses around zero (or another hypothesized value, S):

H 0 : βk = 0 H 0 : βk = S

HA: βk ≠ 0 HA: βk ≠ S

  • (^) From Statistical Table B-1 the critical t -value for a one-tailed test at a given level of significance is exactly equal to the critical t -value for a two-tailed test at twice the level of significance of the one-tailed test—as also illustrated by Figure 5.

Figure 5.5 One-Sided and

Two-Sided t -Tests

Confidence Intervals

  • (^) A confidence interval is a range that contains the true value of an item a specified percentage of the time
  • (^) It is calculated using the estimated regression coefficient, the two-sided critical t-value and the standard error of the estimated coefficient as follows: (5.5)
  • (^) What’s the relationship between confidence intervals and two- sided hypothesis testing?
  • (^) If a hypothesized value fall within the confidence interval, then we cannot reject the null hypothesis

p -Values

  • (^) This is an alternative to the t-test
  • (^) A p-value, or marginal significance level, is the probability of observing a t-score that size or larger (in absolute value) if the null hypothesis were true
  • (^) Graphically , it’s two times the area under the curve of the t-distribution between the absolute value of the actual t-score and infinity.
  • (^) In theory , we could find this by combing through pages and pages of statistical tables
  • (^) But we don’t have to, since we have EViews and Stata : these (and other) statistical software packages automatically give the p-values as part of the standard output!
  • (^) In light of all this, the p-value decision rule therefore is: Reject H 0 if p-valueK < the level of significance and if has the sign implied by HA