Docsity

Introduction to Econometrics: Linear Regression and Hypothesis Testing, Dispense di Economia

Anteprima parziale del testo

Scarica Introduction to Econometrics: Linear Regression and Hypothesis Testing e più Dispense in PDF di Economia solo su Docsity!

Introduction to Econometrics [ET2013]

Teresa Randazzo

Ca’ Foscari University of Venice [email protected]

Today

  1. Short recall of algebra/statistics/probability
  2. Basic ingredients of regression analysis I (^) The classic linear regression model (OLS) I (^) Finite sample properties I (^) Goodness-of-fit I (^) Asymptotic properties I (^) Hypothesis testing I (^) Data problems
  3. Interpreting and comparing regression model
  4. Heteroskedasticity and autocorrelation
  5. Univariate Time series model

Sampling distributions of the OLS estimators

I (^) We now want to test hypotheses about the βk. That is, we make the conjecture that a population parameter is a certain value, then use the data to determine whether the hypothesis is likely to be false. I (^) Recall that the OLS estimators are random variables: we already know their expected values and their variances. I (^) However, to test hypotheses about the βk using exact or finite sample testing procedures, we need to know their distributions.

Hypothesis Testing

I (^) The CLM assumptions are crucial to develop tests for hypothesis on the unknown population parameters β

( ˆβOLS − β) ≈ (0, σ^2 (X ′X )−^1 )

I (^) it turns out that the k element of the vector ( ˆβOLS − β) is

( ˆβkOLS − βk ) ≈ (0, σ^2 ckk )

I (^) Consequently, the standardized estimators follow a standard normal distribution z = βˆk − βk σ

ckk

I (^) By replacing the unknown σ with its estimate ˆσ the normal distribution becomes a t-distribution I (^) Hence, βˆk − βk σ ˆ

ckk

βˆk − βk se( ˆβk )

∼ tN−K = tdf

I (^) The t distribution is also bell-shaped, but is more spread out than the N (0, 1)

E(tdf ) = 0 if df > 1

Var(tdf ) =

df df − 2

1 if df > 2

I (^) As df → ∞ tdf → N (0, 1)

I (^) The difference is very small for df > 120

I (^) We use the result on the t distribution to test the null hypothesis that xk has no partial effect on y :

H 0 : βk = 0

I (^) For example, we might be willing to consider the following model and test an hypothesis about β 2 :

wage = β 0 + β 1 educ + β 2 exper + β 3 tenure + ε H 0 : β 2 = 0

I (^) In words: Our conjecture is that, once we control for education and time on the current job (tenure), total workforce experience has no affect on wage.

Testing hypothesis about a single population parameter

Testing against one-sided alternatives

I (^) First consider the alternative

H 1 : βk > 0 which means the null is

H 0 : βk ≤ 0 Using a positive one-sided alternative, if we reject βk = 0 than we reject any βk < 0, too. We often just state H 0 : βk = 0 and act like we do not care about negative values. I (^) If ˆβk is positive, the question is: how large does t (^) βˆ k = ˆβk^ /se( ˆβk^ ) have to be before we conclude H 0 is unlikely?

COMPONENTS OF HYPOTHESIS TESTS

1 Determine the null (H 0 ) and alternative hypotheses (H 1 )

2 Specify the test statistic and its distribution if the null hypothesis is true

3 Select the significance level that is the probability of rejecting H 0

4 Choose a critical value and determine the rejection region

5 Calculate the sample value of the test statistic region which indicate whether the null hypothesis is likely to hold

t (^) βˆk > α

I (^) Suppose for example that df = 28 and we use a 5% test

I (^) The rejection rule for H 0 : βk = 0 against H 1 : βk > 0, at the 5% level, is

t (^) βˆk > 1. 701

I (^) We need a t statistic greater than 1.701 to conclude there is enough evidence against H 0.

I (^) If t (^) βˆk ≤ 1 .701, we fail to reject H 0 against H 1 at the 5% significance level.

I (^) Given df = 28, if we want to carry out the test at a different significance level (often the 1% level), the critical values are:

α. 05 = 1. 701 α. 01 = 2. 467

Testing hypothesis about a single population parameter

One-side test

I (^) With large sample sizes N, and certainly with df>120, we can use critical values from the standard normal distribution, which correspond to those for the t with df = ∞

α. 10 = 1. 282

α. 05 = 1. 645 α. 01 = 2. 326 I (^) The value 1.64 is especially common for a one-tailed test.

I (^) We compute:

t (^) βˆexper =

which is well above the one-sided critical value at the 1% level, 2.36. I (^) H 0 : βexper = 0 can be rejected against H 1 : βexper > 0 at very small significance levels. I (^) The estimated effect of exper is statistically significant at the 1% level. Another year of experience, holding educ and IQ fixed, is estimated to be worth about 4.4%.

I (^) For the negative one-sided alternative,

H 1 : βk < 0 , we use a symmetric rule. The rejection rule is now

t (^) βˆk < −α where α is chosen in the same way as in the previous case.

I (^) For example, with df = 18 and a 5% test, the critical value is α = − 1 .734, so the rejection rule is

t (^) βˆk < − 1. 734

I (^) Now we must get a significantly negative value for the t statistic to reject H 0 : βk = 0 in favor of H 1 : βk < 0.

Example: does missing lectures affect final exam performance?

final = β 0 + β 1 missed + β 2 priGPA + β 3 ACT + u

final̂ = 12. 373 (1.172)

(0.035)

missed + 1. 915 (0.373)

PriGPA + 0. 401 (0.053)

ACT

n = 680, R^2 =. 201

H 0 : β 1 = 0, H 1 : β 1 < 0

I (^) We get βˆ 1 = −.079, t (^) βˆ 1 = − 2 .26. The 5% critical value is − 1. 64 and the 1% critical value is − 2 .32. So we reject H 0 in favor of H 1 at the 5% but not at the 1% level.

Testing against two-sided alternatives

I (^) Sometimes we do not know a priori whether a variable has a positive effect or a negative effect. I (^) Generally, the null and alternative are:

H 0 : βk = 0 H 1 : βk 6 = 0

I (^) Now we reject H 0 if ˆβk is sufficient large in magnitude, either positive or negative. We again use the t statistic t (^) βˆk = ˆβk /se( ˆβk ) I (^) But now the rejection rule is:

|t (^) βˆk | > α

In a two-tailed test, the critical values are those that leave α/ 2 probability in each tail of the distribution