Tutorials › Propensity Score Matching and Instrumental Variables › Partial R-Squared for Instrument Strength

Weak-Instrument Diagnostics · Tutorial 512 of 699

Partial R-Squared for Instrument Strength

You will calculate conditional first-stage partial R-squared, connect it to the conventional F statistic, and interpret both without confusing instrument strength with instrument validity.

Advanced 10 min read

What You'll Learn

  • Define partial R-squared for excluded instruments in a first-stage regression.
  • Calculate it from restricted and unrestricted residual sums of squares.
  • Derive its exact relationship to the conventional first-stage F statistic.
  • Recover partial R-squared from an F statistic and its degrees of freedom.
  • Distinguish conditional first-stage fit from overall R-squared and instrument validity.
  • Recognize when the usual partial R-squared–F identity does not apply.

Why Partial R-Squared Is Useful

A first-stage regression can explain substantial variation in an endogenous regressor because of included covariates, even when the excluded instruments add little explanatory power. The overall first-stage R-squared does not separate these contributions. Partial R-squared does: it measures the share of the variation left after controlling for included covariates that is explained by the excluded instruments.

This conditional measure complements the conventional first-stage F statistic. The partial R-squared describes the size of the instruments’ incremental fit on a bounded zero-to-one scale; the F statistic evaluates that fit relative to its sampling variation and degrees of freedom. For the conventional homoskedastic first-stage test, the two quantities are linked exactly.

Definition: Let \(D\) be an endogenous regressor, \(X\) the included covariates (including an intercept), and \(Z\) the \(q\) excluded instruments. Fit a restricted first-stage regression of \(D\) on \(X\), and an unrestricted regression of \(D\) on both \(X\) and \(Z\), using the same observations. Write their residual sums of squares as \(SSR_R\) and \(SSR_U\), respectively. The partial R-squared for \(Z\), conditional on \(X\), is $$ R^2_{\mathrm{partial}}=\frac{SSR_R-SSR_U}{SSR_R}=1-\frac{SSR_U}{SSR_R}. $$

The restricted model leaves the variation in \(D\) unexplained by \(X\). The unrestricted model asks how much of that remaining variation is explained when \(Z\) is added. Thus, partial R-squared is not generally the ordinary R-squared of the unrestricted regression. It is a measure of the incremental contribution of the excluded instruments, conditional on the included covariates.

Residualization and the F-Statistic Relationship

The same quantity can be understood by removing the linear contribution of \(X\) from both \(D\) and the columns of \(Z\), then regressing the residualized \(D\) on the residualized instruments. The resulting R-squared is the partial R-squared. This is the partial-regression interpretation: the comparison concerns what \(Z\) explains after the part associated with \(X\) has been set aside.

The conventional first-stage F test evaluates the null hypothesis that all excluded-instrument coefficients are zero, conditional on \(X\). Let \(n\) be the sample size and \(k\) the number of columns in \(X\), counting the intercept. The unrestricted regression has \(n-k-q\) residual degrees of freedom. Under the conventional homoskedastic OLS calculation,

$$ F=\frac{(SSR_R-SSR_U)/q}{SSR_U/(n-k-q)}. $$

The numerator is the reduction in residual sum of squares per excluded-instrument restriction. The denominator is the unrestricted residual mean square. Divide numerator and denominator by \(SSR_R\), and use the definition of partial R-squared:

$$ F =\frac{(SSR_R-SSR_U)/q}{SSR_U/(n-k-q)} =\frac{R^2_{\mathrm{partial}}/q}{(1-R^2_{\mathrm{partial}})/(n-k-q)}. $$

This identity is exact for the conventional nested-model F statistic. It shows why partial R-squared and F are related but not interchangeable: F depends not only on the incremental fit, but also on the number of excluded instruments and the residual degrees of freedom. Conversely, if the F statistic and both degrees of freedom are known, rearrangement gives

$$ R^2_{\mathrm{partial}} =\frac{qF}{qF+(n-k-q)}. $$

For the usual finite-sample F reference distribution, the regression errors are assumed to be independent, normally distributed, and homoskedastic conditional on the regressors, with a correctly specified linear first-stage mean. The algebraic identity itself follows from the sums of squares; normality is needed for the exact conventional reference distribution, not for that arithmetic identity. If the test uses a heteroskedasticity-robust or otherwise modified covariance estimator, its reported statistic generally does not have this sums-of-squares identity.

Worked Example: Calculating Partial R-Squared From Residual Sums of Squares

Suppose a hypothetical first-stage analysis has 104 observations. The included-covariate set \(X\) has four columns, including an intercept, and two excluded instruments are added in the unrestricted model. The restricted residual sum of squares is \(SSR_R=200\), and the unrestricted residual sum of squares is \(SSR_U=160\). Calculate partial R-squared and the conventional first-stage F statistic.

The instruments reduce the residual sum of squares by \(200-160=40\). Therefore,

$$ R^2_{\mathrm{partial}}=\frac{200-160}{200}=\frac{40}{200}=0.2000. $$

The residual degrees of freedom are \(n-k-q=104-4-2=98\). The conventional F statistic is

$$ F=\frac{(200-160)/2}{160/98} =\frac{20}{1.632653} =12.25. $$

Checking through the partial R-squared identity gives

$$ F=\frac{0.2000/2}{(1-0.2000)/98} =\frac{0.1000}{0.008163265} =12.25. $$

In this hypothetical sample, the excluded instruments account for 20% of the variation in \(D\) remaining after the included covariates are controlled for. The F statistic tests whether their first-stage coefficients are jointly zero under the stated conventional model assumptions; it does not test whether the instruments satisfy the exclusion restriction or are otherwise valid.

Reading Partial R-Squared Alongside F

Partial R-squared is useful because it describes conditional explanatory power directly. A value near zero means adding the excluded instruments reduces the restricted residual sum of squares by only a small fraction. A larger value means a larger fraction of the variation left after fitting \(X\) is explained by \(Z\). The statistic is between zero and one when the unrestricted model includes the restricted model, both are fitted by least squares to the same observations, and \(SSR_R>0\).

The F statistic adds a dimension that partial R-squared alone cannot convey. For the same partial R-squared, increasing the number \(q\) of excluded-instrument restrictions changes the F statistic; changing the residual degrees of freedom changes it as well. Consequently, report the degrees of freedom with the F statistic and avoid treating one partial R-squared value as a universal threshold for strength.

Worked Example: Computing Partial R-Squared From a First-Stage F Statistic

A hypothetical first-stage report gives a conventional F statistic of \(2.10\) for three excluded instruments. There are 120 residual degrees of freedom in the unrestricted regression. Recover the partial R-squared.

Here \(q=3\) and \(n-k-q=120\). Using the rearranged identity,

$$ R^2_{\mathrm{partial}} =\frac{qF}{qF+(n-k-q)} =\frac{3(2.10)}{3(2.10)+120} =\frac{6.30}{126.30} \approx 0.04988. $$

The instruments therefore explain about 4.99% of the variation in \(D\) left after controlling for \(X\). This is a conditional fit description, not a probability that the instruments are weak and not evidence that they are valid. The F statistic and its degrees of freedom are needed to state the corresponding conventional joint test; a partial R-squared alone does not supply its reference distribution.

Worked Example: Separating Overall Fit From Conditional Fit

In another hypothetical analysis, the restricted first-stage residual sum of squares is 300 and the unrestricted residual sum of squares is 240. The total sum of squares for \(D\) about its sample mean is 1,000. Find the partial R-squared and the ordinary unrestricted first-stage R-squared.

The incremental reduction from adding \(Z\) is \(300-240=60\), so

$$ R^2_{\mathrm{partial}}=\frac{60}{300}=0.2000. $$

The unrestricted model’s ordinary R-squared uses the total sum of squares as its denominator:

$$ R^2_{\mathrm{unrestricted}} =1-\frac{240}{1000} =0.7600. $$

These values answer different questions. The unrestricted model explains 76.00% of the total variation in \(D\), while the excluded instruments explain 20.00% of the variation that remained after fitting the included covariates. Reporting the overall R-squared as though it were the instruments’ conditional contribution would overstate what the instruments add.

Assumptions, Diagnostics, and Limitations

Before interpreting the calculation, check that the restricted and unrestricted regressions use the same observations, the same dependent variable, and the same included covariates; the unrestricted model should add the excluded instruments being assessed. The models must be nested for the stated sum-of-squares comparison. Subject to these conditions, adding regressors cannot increase the OLS residual sum of squares, so \(SSR_U\leq SSR_R\) and the computed partial R-squared lies between zero and one, apart from numerical rounding.

If software reports a negative value, a value above one, or a value inconsistent with the two residual sums of squares, first check whether the models use different samples or covariates, whether the reported statistic is a robust test rather than the conventional F test, and whether the correct residual sums of squares have been extracted. A large partial R-squared should also be checked for unusual leverage or influential observations: one or a few observations can materially affect a fitted regression. Such diagnostics help assess how representative the fit measure is; they do not change its definition.

Partial R-squared measures first-stage relevance in the observed sample, not instrument validity. A strong association between \(Z\) and \(D\) conditional on \(X\) does not show that \(Z\) is independent of the structural error or affects the outcome only through \(D\). Those are distinct requirements for an instrumental-variable interpretation. Nor does a small partial R-squared, by itself, prove that identification fails; it describes limited incremental fit, while the F statistic accounts for its restrictions and residual degrees of freedom.

The comparison with other summaries is therefore practical. Ordinary first-stage R-squared summarizes fit from all regressors together. Partial R-squared isolates the added fit from excluded instruments. The conventional first-stage F statistic tests their joint zero-coefficient null and combines incremental fit with degrees of freedom. Use the measure appropriate to the question, and state whether the F statistic is conventional or uses a robust procedure.

Common pitfall: “The overall first-stage R-squared is high, so the excluded instruments must be strong.” This reasoning is wrong because included covariates may account for most of that total fit. Compare the restricted and unrestricted models instead: partial R-squared measures the instruments’ added fit after controlling for the included covariates, and the conventional F statistic summarizes the corresponding joint test.

Check Your Understanding

Work through each calculation, then compare your reasoning with the solutions.

  1. A restricted model has \(SSR_R=90\), and the unrestricted model has \(SSR_U=72\). There are two excluded instruments and 88 unrestricted residual degrees of freedom. Calculate partial R-squared and the conventional F statistic.
  2. A first-stage test has \(q=4\), \(n-k-q=196\), and conventional \(F=4.26\). Calculate partial R-squared to three significant figures.
  3. Explain why an unrestricted first-stage R-squared of 0.76 does not, by itself, tell you the partial R-squared of the excluded instruments.
  4. Does a large partial R-squared establish that the instruments satisfy the exclusion restriction? Explain briefly.

Solutions. (1) The partial R-squared is \((90-72)/90=18/90=0.2000\). The F statistic is \((18/2)/(72/88)=9/0.818182\approx11.00\). (2) Use \(R^2_{\mathrm{partial}}=qF/[qF+(n-k-q)]\): \(4(4.26)/[4(4.26)+196]=17.04/213.04\approx0.07998\), or 0.0800. (3) Ordinary R-squared uses the total variation in \(D\) as its denominator and includes the fit from \(X\); partial R-squared uses the restricted residual sum of squares as its denominator and isolates the added fit from \(Z\). The ordinary value alone is insufficient to determine the conditional value. (4) No. Partial R-squared describes conditional first-stage fit; it does not establish independence from the structural error or the exclusion restriction.

Clinical Biostats