arXiv:2611.18116econ.EMNov 2026

Manuscript Offprint

arXiv:2611.18116

Positive Weights Do Not Certify TWFE Inference: A Design Diagnostic under Treatment-Effect Heterogeneity

Stanisław M. S. Halkiewicz

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Conventional two-way fixed-effects (TWFE) inference need not be uniformly adequate even when all treatment weights are positive. Under a local treatment-effect drift, the statistic for the equally weighted treated-cell effect has worst-case mean shift (c/q)Γ(c/q)\Gamma, where Γ=N1∥w−u∥2\Gamma=\sqrt{N_{1}}\|w-u\|_{2} is design-only and qq is the cluster-score noise scale. Projection matches the exposure to cohort, event-time, additive, and saturated group-time pilots; when residualized treatment is constant within treated group-time cells, Γgt=Γ\Gamma_{\mathrm{gt}}=\Gamma. A direct score estimator is feasible with fixed panel length as clusters grow. Because a debiased quadratic pilot is nonregular at zero, we use two regular one-sided procedures: a reverse-triangle multiplier lower bound to detect unsafe envelopes and covariance-aware noncentral-χ2\chi^{2} inversion to certify adequacy. At 5%5\% nominal size with a five-point tolerance, the shift threshold is 0.6520.652. In the Callaway–Sant’Anna minimum-wage panel, where every treated-cell weight is positive, the saturated 95%95\% lower shift bound is 0.7930.793, so conventional inference is not uniformly certified. A complementary Brazilian property-tax reanalysis with 2,8402{,}840 municipalities withholds certification in all four classes; its smallest lower bound is 1.0401.040. Under the maintained many-cluster approximation, castle-doctrine homicide passes for additive cohort-plus-event-time heterogeneity with a 95%95\% upper bound of 0.2360.236; its saturated covariance lacks one required rank. Divorce is inconclusive. These envelopes are not predictions of realized rejection. The diagnostic separates point correction, uniform exposure, and statistically warranted certification.

1 Introduction

Two-way fixed-effects (TWFE) regression remains one of the most familiar ways to study policies adopted in different places at different times. Its appeal is easy to understand. Unit effects absorb persistent differences across places, time effects absorb common shocks, and a single coefficient summarizes the estimated response. Combined with clustered standard errors, this specification has become a standard empirical language for policy evaluation.

The credibility revolution put research design and transparent identifying comparisons at the center of empirical economics (Angrist and Pischke, 2009). In staggered policy settings, TWFE became a standard language for implementing that design. A second stage then clarified the estimand. de Chaisemartin and D’Haultfœuille (2020) and Goodman-Bacon (2021) showed that under heterogeneous effects the TWFE coefficient is generally a nonuniformly weighted combination of treated-cell effects, sometimes with negative weights. Callaway and Sant’Anna (2021), Sun and Abraham (2021), and Borusyak et al. (2024) supplied estimators for interpretable group-time and event-time targets, and these methods are now part of routine applied practice.

Those two stages answer different questions. The first asks which comparisons identify an effect; the second asks which effect the estimator aggregates. Neither certifies that the reported test has its nominal size under the heterogeneity supported by the data. The credibility revolution addressed identification, and the recent heterogeneity literature repaired the estimand. The inference problem survived both.

The gap is systematic. Inference adequacy—whether a realized design can support the test actually reported—has usually been addressed problem by problem. Its symptoms recur across modern empirical work: Young (2022) documents leverage concentration and distorted IV inference in published applications; Kline et al. (2020) develops leave-out variance methods for many-fixed-effect models; and few-cluster corrections remain a separate practical literature (MacKinnon et al., 2023). The staggered-adoption weighting problem itself became explicit only after DiD had been standard practice for decades. These are different mechanisms, but they share a methodological lesson: credible identification and an interpretable estimand do not complete the inferential audit.

Applied work nevertheless relies on two reassuring shortcuts. Researchers may regard a conventional TWFE confidence interval as adequately protected when all treated-cell weights are positive or when the TWFE coefficient lies near a heterogeneity-robust aggregate. Neither observation answers the coverage question. Positive weights make the coefficient a convex average, but they do not make that average equal to the target. Coverage depends on the discrepancy relative to the standard error. A modest coefficient difference can be consequential in a precise panel, while visibly uneven weights can be harmless when heterogeneity is small relative to sampling noise.

This paper develops a diagnostic for that missing step. Given an adoption design, a target, and an empirically calibrated class of treatment-effect heterogeneity, it asks whether the conventional TWFE test can be certified to remain within a stated size tolerance uniformly over that class. Γ\Gamma is a worst-case envelope over the stated class, not a prediction of realized rejection. Failure to certify does not show that a published result is invalid; it means the design and calibration do not rule out profiles that violate the tolerance. A pass is the stronger conclusion: every profile in the stated class satisfies the bound. If the projected covariance lacks the rank required by that class, the procedure reports an inconclusive result for that structural reason rather than forcing a verdict.

The diagnostic separates three objects that are often blended together. The first is the design’s exposure to heterogeneity: how far its treated-cell weights lie from the target weights, in the directions allowed by the chosen class. The second is the amount of heterogeneity supported by the outcome data. The third is the cluster-score noise of the statistic being assessed. Keeping these objects separate makes clear which conclusions follow from the adoption pattern alone and which require an empirical calibration.

Formally, let ww denote the TWFE weights on the N1N_{1} treated cells and let u=1/N1u=1/N_{1} denote the uniform weights defining the equally weighted treated-cell ATT. Under a local drift with heterogeneity scale cc and centered, unit-variance profile ss, the standardized TWFE numerator has mean η=(c/σ)(w−u)′s\eta=(c/\sigma)(w-u)^{\prime}s. Hence

max⁡s∣η∣=cσΓ,Γ:=N1∥w−u∥2.\max_{s}|\eta|=\frac{c}{\sigma}\Gamma,\qquad\Gamma:=\sqrt{N_{1}}\|w-u\|_{2}.

The outcome-free statistic Γ\Gamma records unrestricted design exposure. Projecting w−uw-u onto cohort, event-time, additive cohort-plus-event-time, or saturated group-time profiles gives matched restricted statistics ΓS\Gamma_{S}. The saturated equality Γgt=Γ\Gamma_{\mathrm{gt}}=\Gamma holds when residualized treatment is constant within treated group-time cells, including the balanced unit-and-time-effects designs used below.

For clustered applications, the relevant denominator is the standard deviation of the treatment score, not a separately estimated residual variance and serial-correlation adjustment. We estimate that score scale directly from the reported cluster sandwich and show its consistency as the number of units grows with fixed panel length. The fixed-effect centering identity makes the argument unusually transparent: estimation of the unit effects contributes exactly zero to every treatment score. The result is a structured specialization of the broader many-covariate cluster theory of Anatolyev and Ng (2026).

Empirical calibration introduces a second inferential problem. A debiased quadratic estimate of heterogeneity is nonregular when true heterogeneity is zero, so an ordinary percentile interval cannot support a certificate at precisely the boundary where a pass is most plausible. We instead work with the projected vector itself. A multiplier radius and the reverse triangle inequality give a lower bound for detecting an unsafe envelope. For certification, we invert the projected Wald statistic’s noncentral-χ2\chi^{2} law and translate its Mahalanobis upper bound to the Euclidean norm without changing the heterogeneity class. The estimated score denominator enters by ordinary plug-in under the bounded local experiment; no deterministic rate buffer is needed. The two one-sided statements produce three outcomes: certify, withhold certification, or report that the calibration is inconclusive. A signed directional plug-in is reported separately as evidence about whether the estimated effect profile actually points toward the adverse design direction.

The applications are chosen to show why each outcome matters, not to assemble a catalogue of failures. The minimum-wage application in Callaway and Sant’Anna (2021) remains the headline case: every treated-cell weight is positive, yet the conventional interval is not certified. A Brazilian property-tax reanalysis based on Christensen and Garfias (2021) supplies the complementary large-panel result: 17.3%17.3\% of treated-cell weights are negative and all four classes fail, with a smallest lower bound larger than minimum wage’s. Together they show that neither the absence nor the presence of negative weights determines inference adequacy, and that the negative-weight share is not a severity ranking. The castle-doctrine application in Cheng and Hoekstra (2013) supplies a genuine pass under economically structured heterogeneity and an inconclusive result for the broadest class. The no-fault-divorce application in Stevenson and Wolfers (2006) shows why a large point envelope need not be decisive when the heterogeneity calibration is noisy and high-dimensional. Section 3 develops the substantive context and reports the estimates and confidence bounds.

The paper makes three contributions. First, it converts TWFE weighting geometry into an exact mean-shift bound measured in the units of the reported test, with restricted-profile and directional versions. Second, it shows why positive weights, small coefficient corrections, and sign-reversal diagnostics do not by themselves certify inference: absolute bias can shrink under panel replication while size distortion remains unchanged. Third, it makes the bound feasible by combining a direct fixed-TT, many-cluster score result with regular, covariance-aware one-sided decisions at zero heterogeneity. The certification step connects the problem to equivalence testing (Romano, 2005; Lavergne, 2014) while retaining the Euclidean worst-case norm dictated by the TWFE geometry. Together these results turn a familiar warning about heterogeneous effects into a decision rule that distinguishes what the design certifies from what it merely makes possible. Complete proofs, additional simulations, construction details, and extensions appear in Appendices A–D.

References (29)