Tutorials › Propensity Score Matching and Instrumental Variables › Testing Negative Control Exposure Associations

Negative Controls and Falsification Tests · Tutorial 379 of 699

Testing Negative Control Exposure Associations

Estimate the adjusted association between a negative control exposure and the outcome, test it appropriately, and understand what the test does—and does not—measure.

Advanced 10 min read

What You'll Learn

  • Define the adjusted association being tested for a negative control exposure.
  • Formulate and interpret a null hypothesis for that association.
  • Calculate Wald tests and intervals for linear and logistic regression estimates.
  • Account for matching or other features of the study’s adjustment strategy.
  • Recognize diagnostics and design problems that can undermine the test.
  • Distinguish a falsification-test association from the treatment-effect estimate.

What Association Is Being Tested?

A negative control exposure is an exposure that, under the scientific assumptions for the study, does not cause the study outcome. Its value is diagnostic: if it is associated with the outcome after applying the study’s adjustment strategy, that association can reveal that the strategy has not removed all relevant structure. The test does not estimate the effect of the treatment of interest.

Let \(A\) denote the treatment of interest, \(Y\) the outcome, \(Z\) a candidate negative control exposure, and \(C\) the measured covariates used in the study’s adjustment strategy. The specific statistical target depends on the outcome scale and model. For example, it may be the coefficient of \(Z\) in a linear regression for a continuous outcome, or the coefficient of \(Z\) in a logistic regression for a binary outcome. These are adjusted associations, conditional on the covariates and model—not automatically causal effects.

Definition: A negative control exposure association test estimates the association between \(Z\) and \(Y\) under the study’s specified adjustment strategy and tests whether that association is zero on a chosen model scale. In a model with \(Z\) as a predictor, the usual null hypothesis is \(H_0:\beta_Z=0\), where \(\beta_Z\) is the adjusted coefficient for \(Z\). The alternative is \(H_a:\beta_Z\ne 0\), unless a directional alternative was specified in advance.

A valid negative control exposure must meet scientific conditions established when selecting it: in particular, it must not causally affect \(Y\) over the relevant period, and it should be informative about confounding or bias structures relevant to the treatment-outcome analysis. It also must be measured and analyzed in a way that does not create a new bias. These are substantive design assumptions, not facts established by a regression test. The earlier material on negative control exposures and shared confounding pathways gives the basis for assessing those conditions.

The key comparison is between the role of \(A\) and the role of \(Z\). The treatment-effect analysis targets a contrast involving \(A\). The negative control test instead asks whether \(Z\) remains associated with \(Y\) after the study’s adjustment. Even if the same outcome and covariates appear in both analyses, their coefficients answer different questions.

Specify the Model and the Test

For a continuous outcome, a simple adjusted model is

$$ E(Y\mid Z,C)=\beta_0+\beta_Z Z+\boldsymbol{\beta}_C^\mathsf{T}C. $$

Here \(\beta_Z\) is the conditional mean difference in \(Y\) for a one-unit increase in \(Z\), holding the modeled covariates fixed. If \(Z\) is binary, it is the adjusted mean difference between \(Z=1\) and \(Z=0\), provided the model is correctly specified. A linear model’s usual standard errors and tests require an appropriate variance model; robust standard errors may be needed when the constant-variance assumption is not credible.

For a binary outcome, a common model is

$$ \log\left(\frac{P(Y=1\mid Z,C)}{1-P(Y=1\mid Z,C)}\right) =\beta_0+\beta_Z Z+\boldsymbol{\beta}_C^\mathsf{T}C. $$

In this model, \(\exp(\beta_Z)\) is the adjusted odds ratio for a one-unit increase in \(Z\). The test \(H_0:\beta_Z=0\) is equivalent to testing whether that adjusted odds ratio equals 1. This is an association on the conditional odds scale; it is not a risk difference or a risk ratio.

Use the same adjustment strategy as in the study’s primary analysis: this may mean the same covariates, weights, matched sample, or other design features. If the original analysis uses matching, for example, the negative control test should respect the matched sets and use an inference method appropriate to that design. Merely fitting an ordinary regression to matched observations while ignoring dependence within sets can give misleading standard errors.

Wald Inference: A Short Justification

Suppose the fitted model estimates \(\beta_Z\) by \(\hat{\beta}_Z\), with standard error \(SE(\hat{\beta}_Z)\). Under the null hypothesis and regularity conditions for the model, the standardized estimate is approximately standard normal in a sufficiently large sample. This gives the Wald statistic and two-sided p-value:

$$ z=\frac{\hat{\beta}_Z}{SE(\hat{\beta}_Z)}, \qquad p=2P\bigl(N(0,1)\ge |z|\bigr). $$

The corresponding approximate 95% confidence interval is \(\hat{\beta}_Z\pm1.96SE(\hat{\beta}_Z)\). For a logistic model, this interval is first calculated on the log-odds coefficient scale; exponentiating both endpoints gives an interval for the adjusted odds ratio.

The justification follows directly from the large-sample approximation. If \(H_0\) holds, then \(\beta_Z=0\), so the sampling distribution of \(\hat{\beta}_Z\) is approximately centered at zero with standard deviation \(SE(\hat{\beta}_Z)\). Dividing by that standard deviation gives an approximately standard normal statistic. The p-value is the probability, under this null approximation, of observing a statistic at least as far from zero as the one obtained. This approximation can be poor with sparse data, small samples, or unstable estimates; in those settings, use a method suitable for the design and sample size rather than relying automatically on a normal approximation.

Worked Example: A Continuous Outcome Association

In a hypothetical study, a research team fits its pre-specified adjusted linear model for a continuous outcome measured in points, adding a binary negative control exposure \(Z\). The model uses the study’s designated covariates and estimates \(\hat{\beta}_Z=0.10\) points with \(SE(\hat{\beta}_Z)=0.07638\) points. Assume the model and variance estimator support the large-sample normal approximation.

The null and alternative are \(H_0:\beta_Z=0\) and \(H_a:\beta_Z\ne0\). The Wald statistic is

$$ z=\frac{0.10}{0.07638}=1.309. $$

The two-sided normal-approximation p-value is \(2P(N(0,1)\ge1.309)=0.1905\). At \(\alpha=0.05\), this test does not reject \(H_0\). The approximate 95% interval is

$$ 0.10\pm1.96(0.07638) =0.10\pm0.1497 =(-0.0497,\ 0.2497)\text{ points}. $$

On the model scale, the estimate is an adjusted difference of 0.10 outcome points between the two values of \(Z\). The interval and test concern the \(Z\)-outcome association under this adjustment strategy, not the treatment effect of \(A\). This result alone does not establish that the negative control conditions hold or that residual bias is absent.

Worked Example: A Binary Outcome and an Adjusted Odds Ratio

Suppose a hypothetical logistic regression for a binary outcome gives \(\hat{\beta}_Z=0.405\) and \(SE(\hat{\beta}_Z)=0.160\), after applying the study’s covariate adjustment. Assume the model is adequately supported by the data and the coefficient estimate is approximately normal.

The Wald statistic is \(z=0.405/0.160=2.531\), giving a two-sided normal-approximation p-value of about 0.0114. At \(\alpha=0.05\), the test rejects \(H_0:\beta_Z=0\). On the odds-ratio scale, the estimate is

$$ \exp(0.405)\approx1.499. $$

Thus the fitted model estimates 1.499 times the odds of the outcome for \(Z=1\) versus \(Z=0\), conditional on the modeled covariates. The 95% coefficient interval is

$$ 0.405\pm1.96(0.160)=(0.0914,\ 0.7186). $$

Exponentiating the endpoints gives an approximate 95% interval for the adjusted odds ratio of \((\exp(0.0914),\exp(0.7186))=(1.096,\ 2.052)\). This is an association in the hypothetical study; it is not an estimate of the causal effect of \(Z\), and it does not quantify the treatment effect of \(A\).

Respecting the Study’s Adjustment Design

The adjustment strategy is part of the definition of the diagnostic. A covariate-adjusted regression, a weighted analysis, and an analysis in a matched sample can produce different estimates because they use different populations, weights, or conditioning structures. Therefore, the test should be described with enough detail to identify the sample and adjustment used. Do not silently switch to an unadjusted comparison just because it is easier to calculate.

Worked Example: Testing Within Matched Sets

Consider a hypothetical matched analysis with eight independent matched pairs. In each pair, one member has \(Z=1\) and the other \(Z=0\). After applying the study’s matching strategy, the within-pair differences in the continuous outcome \(Y\), calculated as the \(Z=1\) value minus the \(Z=0\) value, are \(-1, 0, 0, 1, 1, 1, 2, 2\) points. Assume the differences are reasonably modeled as independent draws from a normal distribution; with only eight pairs, that assumption deserves careful scrutiny.

The mean difference is \(\bar{d}=6/8=0.75\) points. The sum of squared deviations from this mean is \(7.5\), so the sample variance is \(s_d^2=7.5/(8-1)=1.0714\) points squared. The standard error is

$$ SE(\bar{d})=\frac{s_d}{\sqrt{8}} =\sqrt{\frac{1.0714}{8}} =0.3660\text{ points}. $$

A paired t statistic is \(t=0.75/0.3660=2.049\), with \(df=7\). The two-sided p-value is approximately 0.080. Using \(t_{0.975,7}=2.365\), the 95% interval is \(0.75\pm2.365(0.3660)=(-0.116,\ 1.616)\) points. At the 0.05 level, this test does not reject a zero within-pair mean association. The paired calculation preserves the matched-set structure; treating all 16 observations as independent would not.

Diagnostics, Alternatives, and Limitations

Before interpreting the test, check whether its statistical and design assumptions are plausible. Confirm that the negative control exposure and outcome are measured in the intended time order, that the chosen adjustment strategy is actually implemented, and that the analysis sample has adequate overlap and usable variation in \(Z\). In regression, inspect functional form, sparse cells, influential observations, and the stability of the coefficient and standard error. In matched or clustered data, verify that the variance calculation reflects the dependence structure. A near-zero or unstable coefficient can arise from little information about \(Z\), not just from a small underlying association.

There are several legitimate alternatives to a Wald test. A likelihood-ratio or score test can be used for a fitted likelihood model; a t test can be appropriate for independent matched differences under its assumptions; and design-based or robust procedures may be preferable for weighted, clustered, or matched analyses. The choice should follow the data structure and model rather than whichever test returns the smallest p-value. An unadjusted test is a different estimand and is not a substitute for the requested association under the study’s adjustment strategy.

A p-value measures compatibility of the observed test statistic with a specified null model and its assumptions. It is not the probability that \(H_0\) is true. Likewise, failure to reject \(H_0\) does not demonstrate that the association is exactly zero. The test can be insensitive when the sample is small, the negative control exposure is measured with error, or its relevant confounding pathways are weak. Conversely, a nonzero fitted association can reflect model misspecification, selection, chance, or a failure of the negative control’s scientific conditions. A statistical test alone cannot distinguish these explanations.

The most important pitfall is to report \(\hat{\beta}_Z\) as though it were the treatment effect. The coefficient belongs to \(Z\), and it describes an adjusted association between \(Z\) and \(Y\) on the selected model scale. The treatment-effect estimate belongs to a separate analysis of \(A\). Keeping the exposure labels, estimands, and units explicit prevents this basic but consequential error.

Key takeaway: Test the negative control exposure’s outcome association using the same adjustment strategy and a variance method suited to the design. Report the estimate, scale, uncertainty, and test, while keeping clear that this is a diagnostic association—not the treatment-effect estimate.

Check Your Understanding

Answer each question before reviewing the brief solutions.

  1. In a linear model for a continuous outcome, what does \(H_0:\beta_Z=0\) test?
  2. A logistic model estimates \(\hat{\beta}_Z=0.20\). What adjusted odds ratio does this correspond to, approximately?
  3. Why should a negative control test in a matched study account for matched sets?
  4. A test gives \(p=0.30\). Is this evidence that the adjusted association is exactly zero? Explain.
  5. Why is the negative control exposure coefficient not the treatment-effect estimate?

Solutions. (1) It tests whether the adjusted conditional mean association between \(Z\) and \(Y\) is zero on the linear model scale. (2) \(\exp(0.20)\approx1.221\), an adjusted odds ratio for a one-unit increase in \(Z\) (or \(Z=1\) versus \(Z=0\), if binary). (3) Outcomes within a matched set are dependent by design, so an analysis that ignores sets can misstate uncertainty. (4) No. A p-value of 0.30 means the data do not provide strong evidence against the specified null under the test assumptions; it does not establish an exactly zero association. (5) The coefficient is for \(Z\), the negative control exposure; the treatment-effect estimand concerns \(A\) and is obtained from a separate analysis.

Clinical Biostats