Skip to contents

bootmakr reports the coefficient you would have obtained had a variable “as strong as” an observed covariate been omitted. That phrase needs a definition, and readers who are used to the impact threshold of a confounding variable (ITCV) expect one in terms of correlations. The block that bootmakr prints below its results gives it. This article explains what the block contains, how to reproduce it, and what it should not be used for. (Why the ITCV itself cannot serve as the definition when the regression uses robust standard errors is explained in Why bootstrap?.)

Two relationships, two numbers

An omitted variable biases a regression coefficient only if it is related to both the treatment and the outcome. sensemakr measures the two relationships with partial R2 values (Cinelli & Hazlett, 2020):

  • the share of the variance of the treatment that the omitted variable explains, after the observed covariates have explained what they can;
  • the share of the variance of the outcome that it explains, after the treatment and the observed covariates have explained what they can.

The square roots of these shares are the absolute values of partial correlations. Nothing is known about an omitted variable, so the same two numbers are computed for an observed covariate, the benchmark, and the omitted variable is then assumed to be a multiple of it.

The block

We use the data of the worked example: the effect of a family CEO (owner_ceo) on the logarithm of CEO pay, with CEO tenure as the benchmark and two multiples of it. The data come from the authors’ OSF repository.

library(bootmakr)
library(haven)

osf  <- "https://osf.io/download/stk7y/?view_only=885d1ed5498c4b3c8a1194882e468286"
chen <- read_dta(osf)

ceo.model <- lg_ceopay ~ owner_ceo + ceo_tenure + PA_nic3_med + ceo_edu_dummy +
  lg_sales + firm_age + promoters_pct + institutions_pct +
  factor(year) + factor(nic_code_1digit)

out <- bootmakr(ceo.model, data = chen, treat = "owner_ceo",
                benchmark_covariates = "ceo_tenure", kd = c(0.5, 1),
                cluster = "co_code", reps = 100, seed = 123, progress = FALSE)

out$benchmark_strength
#> $type
#> [1] "single"
#> 
#> $observed
#>    benchmark   r2dxj.x    r2yxj.dx   r_dxj.x  r_yxj.dx
#> 1 ceo_tenure 0.1446519 0.003425632 0.3803313 0.0585289
#> 
#> $implied
#>    benchmark  kd  ky     r2dz.x     r2yz.dx    r_dz.x    r_yz.dx     r_yz.x
#> 1 ceo_tenure 0.5 0.5 0.08455735 0.002353248 0.2907875 0.04851029 0.08652389
#> 2 ceo_tenure 1.0 1.0 0.16911470 0.004836676 0.4112356 0.06954621 0.12013924
#>       impact
#> 1 0.02516006
#> 2 0.04940553
#> 
#> $r_yd.x
#> [1] 0.1394959

(The block does not depend on the bootstrap, so a small number of replications is enough here.)

$observed describes the benchmark. CEO tenure explains 14.5 percent of the variance of family-CEO status that the other covariates leave unexplained (r2dxj.x) and 0.3 percent of the variance of log CEO pay that the treatment and the other covariates leave unexplained (r2yxj.dx). The partial correlations are .38 and .06: tenure is clearly related to who is a family CEO and only weakly related to pay once family-CEO status and the other controls are held fixed.

$implied describes the omitted variable that each row of the results table assumes: its partial R2 with the treatment (r2dz.x) and with the outcome (r2yz.dx), the corresponding partial correlations (r_dz.x, r_yz.dx), its partial correlation with the outcome given the covariates only (r_yz.x), and the product of that correlation with r_dz.x, the impact. The printed block shows the two partial R2 values and the impact. $r_yd.x is the partial correlation of the outcome with the treatment given the covariates, which the impact calculation needs.

In Stata the same numbers are printed below the bootstrap table and returned in r(r2dxj_x), r(r2yxj_dx), r(impact), r(r_yd_x) and the matrix r(benchmark_strength).

The impact of the omitted variable

The ITCV is stated as a product of two correlations of the omitted variable, with the outcome and with the treatment, both taken given the observed covariates (Frank, 2000). sensemakr’s two partial R2 values are almost, but not quite, the squares of those correlations: the outcome relationship, r2yz.dx, is measured given the treatment as well as the covariates. The recursion formula for partial correlations removes the treatment from the conditioning set,

ryz·x = ryz·dx √((1 − ryd·x²)(1 − rdz·x²)) + ryd·xrdz·x,

where ryd·x is the partial correlation of the outcome with the treatment given the covariates, a quantity computed from the fitted model (.14 here). The impact is then ryz·x × rdz·x.

One detail concerns signs. sensemakr’s bounds identify only the magnitudes of the two correlations, and the sign of a hypothetical variable is arbitrary. bootmakr takes rdz·x as positive and gives ryz·dx the sign of ryd·x, which is the configuration in which the omitted variable biases the estimate away from zero, the case that sensemakr’s adjustment removes (with reduce = FALSE the sign is reversed). The impact therefore carries the sign of the treatment effect, as the ITCV does.

r.yd <- out$benchmark_strength$r_yd.x
imp  <- out$benchmark_strength$implied
r.yz.x <- imp$r_yz.dx * sqrt((1 - r.yd^2) * (1 - imp$r_dz.x^2)) + r.yd * imp$r_dz.x
cbind(kd = imp$kd, impact = r.yz.x * imp$r_dz.x)
#>       kd     impact
#> [1,] 0.5 0.02516006
#> [2,] 1.0 0.04940553

The impact is on the same scale as a conditional ITCV, one stated in partial correlations given the covariates. An ITCV in zero-order correlations, the unconditional form that Lonati and Wulff (2026) use in their simulations, would need the omitted variable’s relationship with the covariates as well; with a single control the assumption that the two are unrelated suffices, with several controls it is a substantive assumption that the sensitivity parameters do not identify. bootmakr therefore reports the conditional impact only.

Where the numbers come from

The observed strength can be reproduced from two regressions: the model itself, and a regression of the treatment on the covariates.

fit   <- lm(ceo.model, data = chen)
fit.d <- lm(update(ceo.model, owner_ceo ~ . - owner_ceo), data = chen)

# benchmark with the outcome, given the treatment and the other covariates
sensemakr::partial_r2(fit, covariates = "ceo_tenure")
#>  ceo_tenure 
#> 0.003425632

# benchmark with the treatment, given the other covariates
sensemakr::partial_r2(fit.d, covariates = "ceo_tenure")
#> ceo_tenure 
#>  0.1446519

# outcome with the treatment, given the covariates (signed)
sign(coef(fit)[["owner_ceo"]]) * sqrt(sensemakr::partial_r2(fit, covariates = "owner_ceo"))
#> owner_ceo 
#> 0.1394959

A partial R2 of a single covariate is a function of its t statistic and the residual degrees of freedom, t2 / (t2 + df), and the t statistic used here is the conventional one. This does not make the block depend on the choice of standard errors. The partial R2 is equally the proportional reduction in the residual sum of squares when the covariate is added to the model, a quantity that involves no standard error at all. The t statistic is only a convenient way of computing it.

rss <- function(m) sum(residuals(m)^2)
1 - rss(fit) / rss(update(fit, . ~ . - ceo_tenure))
#> [1] 0.003425632

The implied strength of the omitted variable follows from the observed strength of the benchmark. kd is defined as the variance of the treatment explained by the omitted variable relative to the variance explained by the benchmark, both measured after the remaining covariates have been taken into account. Restating this as a partial R2 given all covariates, benchmark included, gives

kd  <- c(0.5, 1)
r2d <- sensemakr::partial_r2(fit.d, covariates = "ceo_tenure")

kd * r2d / (1 - r2d)
#> [1] 0.08455735 0.16911470

which is the column r2dz.x. The corresponding value for the outcome, r2yz.dx, is an upper bound that also depends on ky and on the benchmark’s relationship with the treatment. Cinelli and Hazlett (2020) derive both expressions. This is why the omitted variable at kd = 1 is somewhat stronger than the benchmark itself in the block: the two are measured against different sets of covariates.

bootmakr takes these values from sensemakr. You can obtain them directly:

bounds <- sensemakr::ovb_bounds(fit, treatment = "owner_ceo",
                                benchmark_covariates = "ceo_tenure",
                                kd = c(0.5, 1))
bounds[, c("bound_label", "r2dz.x", "r2yz.dx", "adjusted_estimate")]
#>       bound_label     r2dz.x     r2yz.dx adjusted_estimate
#> 1 0.5x ceo_tenure 0.08455735 0.002353248         0.2927133
#> 2   1x ceo_tenure 0.16911470 0.004836676         0.2541140

The last column is the adjusted estimate that bootmakr reports and bootstraps.

What the block is for

It makes the assumption concrete. “An omitted variable as strong as CEO tenure” becomes “an omitted variable with an impact of .05, a partial correlation of about .41 with family-CEO status and .12 with CEO pay”. Readers can judge whether that is a little or a lot in their field, and compare it with the impact of observed variables.

It describes the data, not the inference. Every number in the block is a function of the data alone. It is the same under conventional, heteroskedasticity-robust and cluster-robust standard errors, and the same in every bootstrap run. The problem that motivates bootmakr, that robust standard errors change the t statistic on which the ITCV rests, does not touch it.

It is not a threshold. The block does not say how strong an omitted variable must be to overturn the result. That would require a critical value, which brings the standard error back in. Whether a given strength overturns the result is answered by the bootstrap confidence interval in the table above the block, and the strength at which it first does so is the breakdown point. In particular, the impact should never be compared with an ITCV computed from robust standard errors, which is not a product of correlations at all.

When the assumed strength is impossible

An omitted variable cannot explain more variance than there is left to explain. If kd is so large that the implied partial R2 reaches 1, sensemakr cannot compute the adjusted estimate. With CEO tenure as the benchmark the limit is reached at kd = (1 − r2dxj.x) / r2dxj.x:

(1 - r2d) / r2d
#> ceo_tenure 
#>   5.913146

Well below that limit, the bootstrap runs into the same wall in some replications and not in others, because the strength of the benchmark is re-estimated in every bootstrap sample. bootmakr drops such replications and reports how many failed. Here is a sweep that approaches the limit (200 replications keep it quick):

near <- bootmakr(ceo.model, data = chen, treat = "owner_ceo",
                 benchmark_covariates = "ceo_tenure", kd = c(1, 3, 5, 5.5),
                 cluster = "co_code", reps = 200, seed = 123, progress = FALSE)
near
#> 
#> Call:
#> bootmakr(formula = ceo.model, data = chen, treat = "owner_ceo", 
#>     benchmark_covariates = "ceo_tenure", kd = c(1, 3, 5, 5.5), 
#>     reps = 200, seed = 123, cluster = "co_code", progress = FALSE)
#> 
#> Bootstrap sensitivity analysis (200 reps, n = 2,011, 277 clusters)
#> Benchmark: ceo_tenure | kd = 1 3 5 5.5, ky = 1 3 5 5.5
#> 
#> Adjusted estimates (percentile 95% CI):
#>                     Estimate  Std. Err       2.5%    97.5% Pr(>|0|)  
#> owner_ceo (kd=1)    0.254114  0.117920   0.044595 0.474798   0.0517 .
#> owner_ceo (kd=3)    0.017287  0.206068  -0.364636 0.419972    0.793  
#> owner_ceo (kd=5)   -0.909475  0.738083  -2.105679 0.347583    0.569  
#> owner_ceo (kd=5.5) -2.353401 46.842693 -15.827437 0.309687    0.448  
#> ---
#> Signif. codes:  0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
#> (H0: adjusted estimate = 0; CI and p-value from percentile bootstrap)
#> 
#> Note: 84 of 200 replications failed and were dropped.
#> 
#> Benchmark strength (descriptive: computed from the data, no standard errors involved)
#>                                Partial R2 |Partial r|
#> ceo_tenure with treatment | X      0.1447       0.380
#> ceo_tenure with outcome | D, X     0.0034       0.059
#> Implied strength of the omitted variable (sensemakr bounds):
#>                    kd   ky R2dz.x R2yz.dx Impact
#> 1.00x ceo_tenure 1.00 1.00 0.1691  0.0048  0.049
#> 3.00x ceo_tenure 3.00 3.00 0.5073  0.0173  0.136
#> 5.00x ceo_tenure 5.00 5.00 0.8456  0.0518  0.199
#> 5.50x ceo_tenure 5.50 5.50 0.9301  0.1002  0.210
#> (R2dz.x, R2yz.dx: partial R2 of the omitted variable with the treatment given the
#>  covariates, and with the outcome given treatment and covariates. Impact: product of
#>  its partial correlations with the outcome and with the treatment, both given the
#>  covariates only, i.e. the scale of the ITCV; signed so that the omitted variable
#>  biases the estimate away from zero. Descriptive only: independent of the variance
#>  estimator, and not a threshold.)

The note below the table says that 84 of the 200 replications failed. At kd = 5.5 the omitted variable is assumed to explain 93 percent of the remaining variance of family-CEO status; the adjusted estimate has become large and negative, and its standard error is many times the estimate itself. Nothing is wrong with the computation. The assumption is simply absurd for these data, and the output says so in three ways: the failed replications, the exploding standard error, and an impact (.21) that no observed covariate comes close to.

Beyond the limit the full-sample estimate cannot be computed either, and the call stops with sensemakr’s message:

beyond <- bootmakr(ceo.model, data = chen, treat = "owner_ceo",
                   benchmark_covariates = "ceo_tenure", kd = 6,
                   cluster = "co_code", reps = 200, seed = 123, progress = FALSE)
#> Error in `ovb_partial_r2_bound.numeric()`:
#> ! Implied bound on r2dz.x >= 1. Impossible kd value. Try a lower kd.

The Stata command behaves the same way: failed replications are counted below the table (“Warning: … replications failed”; the number differs because Stata draws different bootstrap samples), and a kd() beyond the limit stops with error 3498, “Impossible value. Try a lower kd and/or ky”. A few failures are of no concern. Many of them mean that the assumed strength is near the limit of what the data allow, and that a smaller kd or a weaker benchmark is the more informative question to ask.

References

Chen, G., Chittoor, R., & Vissa, B. (2021). Does nepotism run in the family? CEO pay and pay-performance sensitivity in Indian family firms. Strategic Management Journal, 42(7), 1326–1343. https://doi.org/10.1002/smj.3263

Cinelli, C., & Hazlett, C. (2020). Making sense of sensitivity: Extending omitted variable bias. Journal of the Royal Statistical Society: Series B, 82(1), 39–67. https://doi.org/10.1111/rssb.12348

Frank, K. A. (2000). Impact of a confounding variable on a regression coefficient. Sociological Methods & Research, 29(2), 147–194. https://doi.org/10.1177/0049124100029002001

Lonati, S., & Wulff, J. N. (2026). Why you should not use the ITCV with robust standard errors (and what to do instead). Academy of Management Proceedings, 2026(1). https://doi.org/10.5465/AMPROC.2026.247bp