Instant PDF download, name-and-email checkout. Complete Book Bundle: every Economics, Statistics, Mathematics and Econometrics book
Econometrics guide, Unit 2, step 7 of 20Previous stepNext step

Step 7: F-Tests and Joint Hypotheses

Course matchIntroductory econometrics: inference in multiple regression · Wooldridge Ch. 4 · Stock & Watson Ch. 7
In 30 seconds
  • In multiple regression the \( t \) test works as before, with \( n-k-1 \) degrees of freedom. A claim about one combination of coefficients, such as \( \beta_3 = \beta_2 \), needs the covariance of the two estimates, or a reparameterised model.
  • Several restrictions at once (“experience has no effect” when experience enters twice) need the \( F \) test: \( F = \dfrac{(\text{SSR}_r-\text{SSR}_{ur})/q}{\text{SSR}_{ur}/(n-k-1)} \).
  • Correlated variables can be individually insignificant but jointly highly significant. Test related groups together before dropping them.
  • The \( R^2 \) form of \( F \) is valid only when both models have the same dependent variable. The SSR form always works.
  • Exam point: with one restriction, \( F = t^2 \). The \( F \) test always rejects in the right tail, even when the alternative is two-sided.
Video lesson coming soonA short animated lesson for this step will appear here.
What you will learn
  • How to run \( t \) tests in multiple regression, including against non-zero values and one-sided alternatives.
  • How to test a single linear combination of coefficients, with the covariance or by reparameterising.
  • How to test several restrictions jointly with the \( F \) statistic, in its SSR and \( R^2 \) forms.
  • Why variables can be jointly significant but individually insignificant, and what the overall \( F \) test tells you.
  • How to test general restrictions such as a unit elasticity, how to report a regression table, and how the LM test works.

The \( t \) test in multiple regression

A regression with several regressors answers many questions at once, and most of them are not about one coefficient. Does experience matter at all, when it enters as a quadratic? Do regions differ? Is a year with your current employer worth more than a year elsewhere? This step builds the tools for those questions. It starts from the \( t \) test of Step 5.

Add the normality assumption MLR.6 (\( u \) is independent of the \( x \)s and normally distributed) to MLR.1–MLR.5 of Step 6. Then

\[ t = \frac{\hat\beta_j – \beta_j}{\operatorname{se}(\hat\beta_j)} \sim t_{n-k-1}, \]

where \( k \) counts the regressors, not the intercept. The degrees of freedom are the observations minus the number of estimated coefficients. Without normality, the central limit theorem makes the \( t \) and \( F \) distributions approximately right in large samples. With 1,000 workers or 500 houses, normality is not a worry.

Key termExclusion restrictions: a null hypothesis that a set of \( q \) coefficients are all zero. The unrestricted model is the full model; the restricted model imposes \( H_0 \), which for exclusion restrictions means dropping those variables. \( q \) is the number of restrictions, the numerator degrees of freedom of the \( F \) test.
Econometrics Made Simple textbook coverChapter 7 of Econometrics Made Simple covers this in full: t tests, linear combinations, F tests in SSR and R² form, general linear restrictions and the LM test, with Python, R and Stata output.Get the textbook · $15

The running example, from Chapter 7 of Econometrics Made Simple, is a wage equation estimated on the 1,000 workers in wages.csv:

\[ \log(\text{wage}) = \beta_0 + \beta_1\,\text{educ} + \beta_2\,\text{exper} + \beta_3\,\text{expersq} + \beta_4\,\text{tenure} + \beta_5\,\text{female} + u, \]

where expersq \( = \text{exper}^2/100 \). Dividing by 100 only rescales \( \beta_3 \) to make it easier to read. With \( n = 1{,}000 \) and \( k = 5 \), the degrees of freedom are 994. The 5% two-sided critical value is 1.962, almost the familiar 1.96. Every coefficient has \( |t| > 4 \); tenure, for example, has \( t = 4.869 \).

Worked example

Earlier studies put the return to a year of schooling at 8%. Test \( H_0\colon \beta_1 = 0.08 \) against \( H_1\colon \beta_1 > 0.08 \) at 1%, given \( \hat\beta_1 = 0.10480 \) and \( \operatorname{se}(\hat\beta_1) = 0.007573 \).

Step 1\( t = \dfrac{0.1048 – 0.08}{0.007573} = 3.27 \).
Step 2One-sided 1% critical value with 994 df: 2.330.
Step 3\( 3.27 > 2.330 \), so reject \( H_0 \). The one-sided \( p \)-value is 0.0005.

The return to schooling in these data is significantly above 8%. Remember that ability bias pushes this coefficient up (Step 6), so this is a statement about the regression coefficient, not proof that the causal return is that high.

Common mistakeUsing \( n-1 \) or \( n-2 \) degrees of freedom in a multiple regression. One degree is lost for every estimated coefficient, including the intercept. With \( n = 30 \) and \( k = 6 \) the correct df is 23, and the 5% two-sided critical value is 2.069, not 2.045.

Testing one combination of coefficients

Human-capital theory distinguishes general skills from firm-specific ones. If firm-specific skills are rewarded, a year of tenure should be worth more than a year of general experience. In the model \( \log(\text{wage}) = \beta_0 + \beta_1\text{educ} + \beta_2\text{exper} + \beta_3\text{tenure} + \beta_4\text{female} + u \), the hypothesis is \( H_0\colon \beta_3 – \beta_2 = 0 \).

\[ t = \frac{\hat\beta_3 – \hat\beta_2}{\operatorname{se}(\hat\beta_3 – \hat\beta_2)}, \qquad \operatorname{se}(\hat\beta_3 – \hat\beta_2) = \sqrt{\operatorname{se}(\hat\beta_3)^2 + \operatorname{se}(\hat\beta_2)^2 – 2\,\widehat{\operatorname{Cov}}(\hat\beta_3,\hat\beta_2)}. \]
Worked example

The estimates are \( \hat\beta_3 = 0.01578 \) (se 0.00319) for tenure and \( \hat\beta_2 = 0.00565 \) (se 0.00196) for experience, with estimated covariance \( -4.08 \times 10^{-6} \). Test \( H_0\colon \beta_3 = \beta_2 \).

Step 1Difference: \( 0.01578 – 0.00565 = 0.01013 \).
Step 2\( \operatorname{se} = \sqrt{0.00319^2 + 0.00196^2 – 2(-4.08\times10^{-6})} = 0.00471 \).
Step 3\( t = 0.01013/0.00471 = 2.15 \), with 995 df: \( p = 0.032 \).

Reject at 5% but not at 1%. A year of tenure is associated with about one percentage point more pay than a year of general experience. Ignoring the covariance would give a standard error of 0.00374 and \( t = 2.71 \): too confident.

The reparameterisation trick

Standard output does not print the covariance. A neat way round it is to rewrite the model so that the combination becomes one coefficient. Let \( \theta = \beta_3 – \beta_2 \), so \( \beta_3 = \theta + \beta_2 \). Substitute and collect terms:

\[ \log(\text{wage}) = \beta_0 + \beta_1\,\text{educ} + \beta_2\,(\text{exper} + \text{tenure}) + \theta\,\text{tenure} + \beta_4\,\text{female} + u. \]

Create totexp = exper + tenure and regress log wage on educ, totexp, tenure and female. The coefficient on tenure is \( \theta \): 0.0101 with \( t = 2.151 \), exactly the direct result. It is the same model written differently, so \( R^2 \) and the residuals do not change.

Exam tipTo reparameterise for \( H_0\colon a\beta_1 + b\beta_2 = c \): define \( \theta = a\beta_1 + b\beta_2 \), solve for one coefficient, substitute it into the model and collect terms. You create one new variable. Examiners want the substitution written out and the new variable named.

The \( F \) test for several restrictions

Does experience matter at all? It enters through two terms, so the null hypothesis is \( H_0\colon \beta_2 = 0 \) and \( \beta_3 = 0 \). Two separate \( t \) tests do not answer this. Each tests one coefficient with the other left free, and two tests at 5% each do not make a test with a 5% false-rejection rate. We need one test of both restrictions together.

The logic is about fit. Dropping variables can never lower the sum of squared residuals, so \( \text{SSR}_r \ge \text{SSR}_{ur} \). The question is whether the rise is larger than chance would produce.

\[ F = \frac{(\text{SSR}_r – \text{SSR}_{ur})/q}{\text{SSR}_{ur}/(n-k-1)} \;\sim\; F_{q,\,n-k-1} \text{ under } H_0, \]

where \( k \) and \( n-k-1 \) refer to the unrestricted model. Reject if \( F \) exceeds the critical value. A large \( F \) is evidence against \( H_0 \) and a small one is not, so the rejection region is always in the right tail.

Worked example

The unrestricted wage model has \( \text{SSR}_{ur} = 197.9457 \) with 994 df. Dropping exper and expersq gives \( \text{SSR}_r = 203.9813 \). Test \( H_0\colon \beta_2 = \beta_3 = 0 \) at 5%.

Step 1\( q = 2 \). The rise in SSR is \( 203.9813 – 197.9457 = 6.0356 \).
Step 2\( F = \dfrac{6.0356/2}{197.9457/994} = \dfrac{3.0178}{0.19914} = 15.15 \).
Step 3The 5% critical value of \( F_{2,994} \) is 3.005. \( 15.15 > 3.005 \): reject. The \( p \)-value is \( 3.3 \times 10^{-7} \).

Experience and its square are jointly significant: experience matters for wages, holding education, tenure and gender fixed.

The F(2, 994) distribution and the experience test density
F(2, 994) density5% rejection region
02468101214160.20.40.60.81.0Fcritical value 3.005observed F = 15.15p = 3.3 × 10⁻⁷
Figure 1. Under H₀ the F statistic for two restrictions with 994 denominator degrees of freedom has this right-skewed distribution. Only 5% of it lies beyond 3.005 (shaded). The experience test gives F = 15.15, far into the tail. Densities computed with scipy; test statistic from Econometrics Made Simple, Chapter 7.

The \( R^2 \) form

Because \( \text{SSR} = \text{SST}(1-R^2) \), and both models share SST when they explain the same variable,

\[ F = \frac{(R^2_{ur} – R^2_r)/q}{(1-R^2_{ur})/(n-k-1)}. \]

For experience, \( R^2_{ur} = 0.2495 \) and \( R^2_r = 0.2267 \), so \( F = (0.0228/2)/(0.7505/994) = 15.10 \), the same as 15.15 apart from rounding of the \( R^2 \)s. This form is handy when you only have the \( R^2 \)s of two published regressions.

Common mistakeUsing the \( R^2 \) form when the restricted model has a different dependent variable. That happens whenever \( H_0 \) fixes a coefficient at a non-zero value (see the unit-elasticity test below). The two \( R^2 \)s then measure fit to different variables. The SSR form is always valid: use it whenever you are unsure.

A test that does not reject

In houses.csv, do bedrooms and bathrooms affect price once floor area, age, distance and a pool are held fixed? The \( F \) test gives \( F = 1.74 \) with \( p = 0.177 \): no evidence that they do. Without sqft in the model, the same two variables have \( F = 190 \). They only look important because more rooms usually means a bigger house. An \( F \) test answers a ceteris paribus question, so its answer depends on what else is in the model.

Econometrics Made Simple Practice Questions coverComputing F statistics by hand is a standard exam question. The Practice Questions book has over 1,150 questions, every one with a worked answer.Get 1,150+ questions · $9

Jointly significant, individually insignificant

It is common, and at first puzzling, to find a group of variables none of which is significant alone, yet which are highly significant together. The usual cause is strong correlation among them. When variables move almost in step, the data cannot tell which one is doing the work, so the individual standard errors are large. But the data can be very clear that the group matters.

Worked example

Add a cubic term, expercu \( = \text{exper}^3/10{,}000 \), to the wage equation. The \( p \)-values on exper, expersq and expercu are 0.154, 0.902 and 0.491. Should experience be dropped?

Step 1Check the correlations: expersq and expercu have a correlation of 0.976, exper and expersq 0.962. The three terms are nearly collinear.
Step 2Test them jointly: \( F = 10.26 \) with 3 and 993 df, \( p = 1.2 \times 10^{-6} \).
Step 3Conclusion: the profile as a whole is clearly not flat. The data simply cannot split it into linear, quadratic and cubic parts.

A student who dropped every variable with \( p > 0.05 \) would conclude, wrongly, that experience does not affect wages.

Common mistakeDropping a group of variables because each has a small \( t \) statistic. Individual \( t \) tests ask whether one variable adds anything given all the others, including its close relatives. Before excluding the terms of a polynomial, a set of dummies or several measures of the same thing, test them jointly. The reverse trap also exists: bundling one strong variable with several irrelevant ones can dilute it so that the joint test fails.

Overall significance and general restrictions

Every regression output reports one \( F \) test automatically. It tests whether none of the regressors helps, \( H_0\colon \beta_1 = \cdots = \beta_k = 0 \). The restricted model \( y = \beta_0 + u \) has \( R^2 = 0 \), so

\[ F = \frac{R^2/k}{(1-R^2)/(n-k-1)} \sim F_{k,\,n-k-1}. \]

For the wage equation, \( F = (0.2495/5)/(0.7505/994) = 66.1 \). This is a low bar: with large samples almost every model passes. An \( R^2 \) of only 0.05 with \( n = 1{,}000 \) and \( k = 3 \) still gives \( F = 17.5 \).

Restrictions that are not zeros

Economic theory often predicts values other than zero. Is the price of a house proportional to its size? In

\[ \log(\text{price}) = \beta_0 + \beta_1\log(\text{sqft}) + \beta_2\,\text{bedrooms} + \beta_3\,\text{bathrooms} + \beta_4\,\text{age} + \beta_5\,\text{dist\_cbd} + \beta_6\,\text{pool} + u, \]

\( \beta_1 \) is the elasticity of price with respect to floor area. One restriction, \( \beta_1 = 1 \), is a \( t \) test: \( \hat\beta_1 = 0.6558 \), se 0.0392, so \( t = -8.79 \). The matching \( F \) is \( 77.23 = (-8.79)^2 \).

Worked example

Test \( H_0\colon \beta_1 = 1,\ \beta_2 = 0,\ \beta_3 = 0 \) (price proportional to size, rooms irrelevant). The unrestricted SSR is 16.5135 with 493 df.

Step 1Impose the restrictions: \( \log(\text{price}) = \beta_0 + 1\cdot\log(\text{sqft}) + \beta_4\text{age} + \beta_5\text{dist\_cbd} + \beta_6\text{pool} + u \).
Step 2Move the known term to the left: regress \( \log(\text{price}/\text{sqft}) \) on age, dist_cbd and pool. Its SSR is 22.5227.
Step 3\( F = \dfrac{(22.5227 – 16.5135)/3}{16.5135/493} = \dfrac{2.0031}{0.03350} = 59.80 \).
Step 4The 5% critical value of \( F_{3,493} \) is 2.62. Reject \( H_0 \).

A 10% larger house sells for only about 6.6% more: big houses are cheaper per square foot. The \( R^2 \) form would be badly wrong here, giving 237.7, because the restricted model explains a different variable.

Reporting results and the LM test

Papers and dissertations present several models side by side in a regression table: coefficients with standard errors in brackets, significance stars with their key, \( n \), \( R^2 \) or adjusted \( R^2 \), which controls are included, and the joint tests that matter. Chapter 7 reports three wage models. Two rows tell the story:

(1)(2)(3)
educ0.1051*** (0.0077)0.1048*** (0.0076)0.1056*** (0.0074)
tenure0.0218*** (0.0024)0.0154*** (0.0032)0.0156*** (0.0031)
\( F \): exper, expersq = 015.15 [0.000]13.27 [0.000]
\( F \): region dummies = 04.72 [0.003]
\( R^2 \)0.22670.24950.2838

Column (1) omits experience; (2) is the main model; (3) adds urban, union, married and region dummies. The return to education hardly moves. The tenure coefficient falls from 0.0218 to 0.0154 once experience enters, because long tenure goes with long experience (correlation 0.652): omitted variable bias from Step 6. For a guided tour of every number in a table like this, read How to Read Regression Output.

The Lagrange multiplier (\( nR^2 \)) test

The LM test needs only the restricted model. If the excluded variables have no effect, the restricted residuals should be unrelated to them.

Step 1Estimate the restricted model and save its residuals \( \tilde u \).
Step 2Regress \( \tilde u \) on all the regressors of the unrestricted model; record \( R^2_{\tilde u} \).
Step 3\( LM = nR^2_{\tilde u} \sim \chi^2_q \) in large samples.

For experience, \( R^2_{\tilde u} = 0.02959 \), so \( LM = 29.59 \), far above the 5% \( \chi^2_2 \) value of 5.991. LM is close to \( q \) times \( F \) (\( 2 \times 15.15 = 30.3 \)), and the \( p \)-values are almost identical. The same logic reappears in the heteroskedasticity tests of Step 11 and the autocorrelation tests of Step 12.

Exam tipFor any \( F \) test, write five things: \( H_0 \) in symbols and words, \( q \), the two degrees of freedom, the computed \( F \), and the comparison with the critical value. Then say what the result means for the economics. Examiners often give the SSRs or \( R^2 \)s of two regressions and expect you to spot which one is restricted.

Practise: 6 questions

Try each one on paper first, then check the worked answer.

EasyQ1. An unrestricted model with \( n = 120 \) and \( k = 5 \) has \( \text{SSR}_{ur} = 450 \). Dropping three variables raises the SSR to 480. Compute \( F \) and test at 5% (the critical value of \( F_{3,114} \) is 2.68). Show worked answer
\( q = 3 \) and \( n-k-1 = 114 \).
\( F = \dfrac{(480-450)/3}{450/114} = \dfrac{10}{3.947} = 2.53 \).
\( 2.53 < 2.68 \): do not reject at 5% (\( p \approx 0.06 \)). The three variables are not jointly significant at 5%, though they are at 10%.
EasyQ2. A regression with \( k = 4 \) and \( n = 105 \) has \( R^2 = 0.30 \). Compute the overall \( F \) statistic and state its degrees of freedom. Show worked answer
\( F = \dfrac{R^2/k}{(1-R^2)/(n-k-1)} = \dfrac{0.30/4}{0.70/100} = \dfrac{0.075}{0.007} = 10.71 \).
Degrees of freedom: 4 and 100.
The 1% critical value is about 3.51, so at least one regressor matters.
MediumQ3. Two regressions for log wage on the same 1,000 workers: the unrestricted model has \( k = 6 \) and \( R^2 = 0.452 \); dropping two variables gives \( R^2 = 0.430 \). Compute \( F \). Why is the \( R^2 \) form valid here? Show worked answer
\( n-k-1 = 993 \).
\( F = \dfrac{(0.452-0.430)/2}{(1-0.452)/993} = \dfrac{0.011}{0.000552} = 19.93 \).
The 1% critical value of \( F_{2,993} \) is about 4.63, so reject.
The \( R^2 \) form is valid because both models have the same dependent variable, log wage, and the same observations, so they share the same SST.
MediumQ4. Two coefficients are \( \hat\beta_1 = 0.42 \) (se 0.10) and \( \hat\beta_2 = 0.30 \) (se 0.08), with estimated covariance 0.004. Test \( H_0\colon \beta_1 = \beta_2 \) using the normal approximation. What would you get if you ignored the covariance? Show worked answer
\( \operatorname{se}(\hat\beta_1-\hat\beta_2) = \sqrt{0.10^2 + 0.08^2 – 2(0.004)} = \sqrt{0.0084} = 0.0917 \).
\( t = 0.12/0.0917 = 1.31 \): below 1.96, so do not reject.
Ignoring the covariance: \( \sqrt{0.0164} = 0.128 \) and \( t = 0.94 \).
Here the covariance is positive, so ignoring it overstates the standard error. The conclusion is the same, but the number is wrong.
MediumQ5. In \( y = \beta_0 + \beta_1x_1 + \beta_2x_2 + u \), you want to test \( H_0\colon \beta_1 = 2\beta_2 \). Write down a regression whose coefficient on one variable directly gives \( \theta = \beta_1 – 2\beta_2 \) and its standard error. Show worked answer
Define \( \theta = \beta_1 – 2\beta_2 \), so \( \beta_1 = \theta + 2\beta_2 \).
Substitute: \( y = \beta_0 + (\theta + 2\beta_2)x_1 + \beta_2x_2 + u = \beta_0 + \theta x_1 + \beta_2(2x_1 + x_2) + u \).
Create \( z = 2x_1 + x_2 \) and regress \( y \) on \( x_1 \) and \( z \).
The coefficient on \( x_1 \) is \( \theta \); its \( t \) statistic tests \( H_0\colon \theta = 0 \).
ExamQ6. A house-price model with \( n = 200 \) and \( k = 7 \) includes three neighbourhood dummies, none with \( |t| > 1.7 \). (a) Dropping the three dummies raises the SSR from 58.1 to 62.4. Test whether the dummies are jointly significant at 5% (critical value of \( F_{3,192} \): 2.65). [3] (b) Explain how the dummies can be jointly significant when none is significant alone. [2] (c) The auxiliary regression for the LM test has \( R^2 = 0.0689 \). Compute LM and test at 5% (\( \chi^2_3 \) critical value 7.81). [2] Show worked answer
(a) \( q = 3 \), df \( = 200 – 7 – 1 = 192 \). [M1]
\( F = \dfrac{(62.4 – 58.1)/3}{58.1/192} = \dfrac{1.433}{0.3026} = 4.74 \). [A1]
\( 4.74 > 2.65 \): reject; neighbourhood matters jointly. [A1]
(b) The dummies are correlated with each other and with the other regressors, so their individual standard errors are large and each \( t \) test asks whether one dummy adds anything given the rest. [B1] The \( F \) test asks whether the group as a whole adds explanatory power, which it can do even when the data cannot pin down each coefficient. [B1]
(c) \( LM = nR^2 = 200 \times 0.0689 = 13.8 \). [M1] \( 13.8 > 7.81 \): reject, agreeing with the \( F \) test. [A1]
Total: 7 marks.

Check yourself

1. You test 4 exclusion restrictions in a model with \( n = 200 \) and \( k = 9 \). The \( F \) statistic has degrees of freedom

The numerator df is \( q = 4 \); the denominator df is \( n-k-1 = 200-9-1 = 190 \) from the unrestricted model.

2. When is the \( R^2 \) form of the \( F \) statistic not valid?

The \( R^2 \)s must measure fit to the same variable. Restrictions such as \( \beta_1 = 1 \) change the dependent variable of the restricted model.

3. With a single restriction, how are the \( t \) and \( F \) statistics related?

With \( q = 1 \), \( F = t^2 \) and the two tests always give the same \( p \)-value against a two-sided alternative: \( 77.23 = (-8.79)^2 \).

Your score: 0 out of 3

The short version

  • Under MLR.1–MLR.6, \( (\hat\beta_j – \beta_j)/\operatorname{se}(\hat\beta_j) \sim t_{n-k-1} \); in large samples this holds approximately without normality.
  • A combination such as \( \beta_3 – \beta_2 \) needs the covariance term in its standard error, or a reparameterised model. A year of tenure is worth about one point more than a year of experience (\( t = 2.15 \)).
  • \( F = [(\text{SSR}_r-\text{SSR}_{ur})/q] \,/\, [\text{SSR}_{ur}/(n-k-1)] \). Experience is jointly significant (\( F = 15.15 \)); bedrooms and bathrooms are not, once floor area is held fixed (\( F = 1.74 \)).
  • Correlated variables can be individually insignificant but jointly significant: the cubic in experience has \( F = 10.26 \). Test related groups jointly.
  • The overall \( F \) test is a low bar. General restrictions are tested by building the restricted model; a unit price–size elasticity is rejected (\( F = 59.8 \)).
  • The LM statistic \( nR^2_{\tilde u} \sim \chi^2_q \) is a large-sample alternative to \( F \).
  • Chapter 7 of Econometrics Made Simple covers all of this in full, with code, tables and a complete set of exercises with answers.
Econometrics Made Simple Complete Bundle coverMaster t tests, F tests and linear restrictions with the full chapter and hundreds of worked questions. Get the textbook and the practice book together for $19 (was $24).Both books · $19

Studying more than one subject? The Complete Book Bundle includes every Economics, Statistics, Mathematics and Econometrics book we publish.

Want more questions like these, with worked answers?
The practice book has over 1,150 more, graded from easy to exam level.
Next: step 8 of 20Functional Form: Logs and Quadratics