Rosenman 2020 - Unbiased Risk Estimate and Common Shrinkage

Summary

Generalising Stein’s unbiased risk estimate to heteroscedastic, weighted loss gives the risk of any estimator in closed form. Minimising the URE over a single shrinkage factor yields with . It dominates the RCT-only estimator whenever (so ), and its positive-part version is asymptotically optimal among common-factor shrinkers as .

Overview

Procedure used for every estimator in the paper:

  1. Posit a structure for the shrinkage estimator.
  2. Derive the shrinkage factor by optimising the URE assuming the factor is known (“base” estimator).
  3. Optionally correct for the extra risk from estimating the factor from the data.

Main Content

Theorem 1 (estimator risk; generalisation of Strawderman et al. 2003, Thm 3.1)

Let with , a random vector, , and with differentiable in and . Then

Proof. Fix and apply Theorem 3.1 of Strawderman et al. (2003) to ; then use the tower rule, . (In the paper the is displayed outside; it is absorbed into here.)

Dropping the expectation gives the generalised Stein unbiased risk estimate

The estimator (common shrinkage, Sec. 4.2)

Structure: . For fixed (Eq. 1):

Strictly convex in if ; minimiser

and

(the positive part keeps the weight on between 0 and 1, i.e. : Baranchik 1964). generalises Green & Strawderman (1991) to the heteroscedastic, weighted-loss case.

Oracle. The weighted-MSE-optimal shrinkage factor is

The denominator cannot be estimated because is unknown, but it equals , so substitutes that “best guess”. Interpretation: the weight moved from toward is the RCT variance share of total discrepancy.

Lemma 1 (testable dominance)

If then dominates under the loss.

Proof. By Theorem 1, with , . Bound (up to the in ) to get a bound of the form whose numerator is non-positive exactly under the stated condition, so the risk difference is in favour of (the paper’s displayed chain carries the and factors, which the PDF extraction scrambles).

Remark: the condition forces at least (the paper says this is at least the dimension needed for classical James-Stein shrinkage toward a grand mean, Efron 2012), more if variances/weights are unequal. In a multi-arm trial that means at least four distinct treatments; for heterogeneous effects at least four subgroups.

Theorem 2 ( asymptotic risk)

Under mild conditions, as has the lowest risk among all estimators with a shared shrinkage factor across components.

Proof (Appendix 8, modelled on Xie, Kou & Brown 2012).

  • Lemma 4. Assume , , . Then in and in probability. The difference splits into (variance ) and ; for the latter bound by , apply Lemma 2.1 of Li et al. (1986) to reduce to , note the partial sums form a martingale (mean zero), and use the maximal inequality .
  • Lemma 5. Under those conditions for every fixed . Write ; the middle term is by minimality, the others are bounded by .

Corrected version (optional step 3)

Because is estimated from the data, the risk of is not the URE at fixed ; one should shrink by less. Scale by :

minimised at

Iterating would continue “ad infinitum”; the paper stops after one step.

Lemma 2 ( vs )

has risk no greater than if (reconstructed from the proof, which requires ); i.e. stratum variances and weights are sufficiently concentrated.

Examples

import numpy as np
def kappa1_plus(tau_r, tau_o, sigma2_r, d=None):
    """Common-shrinkage estimator of Rosenman et al. (2020). Returns (estimate, weight on tau_r)."""
    K = len(tau_r); d = np.ones(K) if d is None else d
    D = d / K
    lam = (sigma2_r * D).sum() / max(((tau_o - tau_r)**2 * D).sum(), 1e-12)   # lambda_1^URE
    lam = min(lam, 1.0)                                                         # positive part
    return tau_r - lam * (tau_r - tau_o), 1 - lam   # weight on tau_o = lam
 
# Toy: 20 strata, RCT sd 0.2, observational sd 0.02, bias sd 0.1
rng = np.random.default_rng(0); K = 20; tau = rng.uniform(0, 1, K)
tr = tau + rng.normal(0, 0.2, K); to = tau + rng.normal(0, 0.1, K) + rng.normal(0, 0.02, K)
est, _ = kappa1_plus(tr, to, np.full(K, 0.04))
print(((tr-tau)**2).mean(), ((est-tau)**2).mean())

Reading the weight

With equal RCT variances (so ), if the observed mean squared discrepancy (with ) then : 40% of the way from the RCT toward the observational estimate. If the discrepancy is (below the RCT’s own noise), capped at 1 by the positive part, i.e. full weight on .

Connections

See Also

Rosenman 2020 - Combining Observational and Experimental Datasets - Overview