CausalSmith · seminar slides
Treatment Effects with Missing Outcomes
We show how to estimate a population treatment effect when outcomes are selectively missing and many baseline groups have few observed outcomes.
slides for Treatment Effect Estimation with Missing Outcomes and Many Covariate Categories
Motivation
A balanced randomized trial records everyone’s treatment, baseline category, and binary short-term measurement. Some binary primary outcomes are missing.
Ordinary adjustment weights observed group means by population group masses. An empty outcome group has no empirical mean; replacing it with zero loses its contribution.
Zeng et al. (2026), in the closest observational setting, give a plug-in squared-error bound of order n−1+d2/n2, alongside a logarithmically smaller minimax benchmark.
Here n is sample size and d is the number of baseline categories.
How much precision can we recover when missing outcomes create many empty groups?
Key Idea
Estimate group masses from everyone’s records. Correct sparse-group outcome contributions using polynomials of observed counts.
Let q∈(0,1] be a supplied lower bound on observation probability in every occupied group.
Our deterministic estimator has mean squared error at most a universal constant times
rn,d,q:=min{1,nq1+[nqlog(e+nq)d]2}.
The sampling term uses effective sample size N=nq. The category term measures accumulated adjustment error; polynomial correction supplies its logarithmic improvement.
Under balanced randomization, consistency, independent sampling, and outcomes missing at random within groups, this upper bound holds for every positive q.
It is minimax optimal when qℓ2≤1/64, where ℓ=log(e+N).
Example
Consider our rare-category construction: balanced assignment, a constant short-term measurement, and zero control outcomes.
There are J rare baseline categories, each with mass b0, and one remaining category.
| Category | Population mass | Treated success mean | Observation probability | |---|---|---|---| | Rare category x | b0 | zx−1 | qzx | | Remaining category | 1−Jb0 | 0 | qH |
The fixed category parameters satisfy 1≤zx≤H, qH≤1, and Jb0≤1/2. Outcomes and observation are independent within categories.
The effect is τact(z)=b0∑x=0J−1zx−1.
For a rare treated cell, let tj be its expected observed count in the estimation stream:
- The zero-filled ratio contributes b0zx−1(1−e−tj) in expectation.
- Our polynomial statistic contributes b0zx−1{1−Qk(tj)}, where Qk is its residual fraction.
The later bound t∣Qk(t)∣≤B/k2 makes the membership-weighted residual summable at scale d/{Nlog(e+N)}. The correction changes the expected missing contribution across many cells.
Model
We observe n independent records from a common population law P.
Each record is Oi=(Xi,Ai,Si,Ri,RiYi); the sample is On.
- Xi: baseline category, with d possible values.
- Ai: treatment assignment.
- Si: binary short-term measurement, called the surrogate.
- Ri=1: the binary primary outcome Yi is observed.
Let Y(a) and S(a) denote potential outcomes and surrogates under arm a.
Our target is
τ(P):=EP[Y(1)−Y(0)],
the population mean difference between treated and control potential outcomes.
Assumptions
Balanced randomization: treatment is independent of baseline and all potential outcomes and surrogates, with probability one half.
Consistency: the realized variables are Y=Y(A) and S=S(A).
Missing at random: within a treatment–baseline–surrogate cell, observation does not select outcomes.
R⊥⊥Y∣(X,A,S).
Positive observation: write paxs(P) for cell mass and ρaxs(P) for its observation probability.
paxs(P)>0⟹ρaxs(P)≥q.
Cell masses and observation probabilities can otherwise vary arbitrarily.
In the example, conditional independence guarantees missing at random, and qzx≥q guarantees positive observation.
Identification
Missing at random makes the observed-outcome mean equal the full-cell mean.
μaxs(P):=EP[Y∣A=a,X=x,S=s,R=1],caxs(P):=paxs(P)μaxs(P).
Here μaxs(P) is the observed-outcome mean; caxs(P) is its population-weighted contribution.
τ(P)=Φ(P)=2(a,x,s)∈Jd∑g(a)caxs(P).
The set Jd contains the 4d treatment–baseline–surrogate cells. The sign g(a)=2a−1 adds treated contributions and subtracts controls. Balanced assignment supplies the factor two; Φ(P) names the observable contrast.
Everyone’s records identify masses. Observed outcomes identify means.
Main Result
Call the preceding sampling, randomization, consistency, and observation conditions the trial assumptions.
informal · Theorem T-9 With independent sampling, balanced randomization, consistency, and missing at random with occupied-cell observation at least q, our deterministic estimator has risk at most Crn,d,q for all n,d≥1 and 0<q≤1.
The guarantee is
EP[(τn,d,qmix(On)−τ(P))2]≤Un,d,q≤Crn,d,q,
where τn,d,qmix is our estimator and Un,d,q is its known deterministic risk bound.
informal · Theorem T-3 In the rare-arrival regime qℓ2≤1/64, under the trial assumptions with n,d≥1 and 0<q≤1, the smallest worst-case mean squared error is between universal positive constants times rn,d,q.
Writing Rn,d,q for that minimax risk,
crn,d,q≤Rn,d,q≤Crn,d,q.
For the rare-category example, the guarantee controls error in the sum of reciprocal category means—even when individual means are poorly estimated.
Separate the Estimation Tasks
Draw an independent auxiliary prefix length:
K0∼Poisson(n/2).
Assign each prefix record independently to three equally likely streams:
- Membership: estimate cell masses, including records with missing outcomes.
- Pilot: select which cells need correction.
- Estimation: calculate outcome statistics.
Sample splitting separates these tasks. In the uncapped Poisson experiment used for analysis, counts are also independent across cells.
Let Mj count membership records in cell j=(a,x,s), and let m=n/6 be expected stream size.
Wj=mMj.
The weight Wj estimates population mass pj=paxs(P), independently of outcome correction.
Empty-cell Bias
In the estimation stream, let Cj count observed outcomes and Uj count observed successes.
The ordinary cell mean is
Dj={Uj/Cj,0,Cj>0,Cj=0.
Write μj for the cell outcome mean, ρj for its observation probability, and tj=mpjρj for expected observed count.
In the Poisson comparison experiment,
EPoisDj=μj(1−e−tj),0≤Dj≤1.
The lost fraction e−tj is the probability of no observed outcome.
In our example, the treated cell has pj=b0/2, μj=zx−1, and ρj=qzx. Its missing effect contribution is b0zx−1e−tj.
Accurate population weights do not repair an empty outcome cell.
Polynomial Branch
Use polynomial correction when ℓ≥128 and d≥N. For N>1, the remaining regimes use ordinary ratios.
On that elementary branch the certificate is, with effective stream size N0=mq=N/6 and prefix-tail constant γ0=log2−1/2,
Un,d,q=min{4,(eN08d)2+4(N04+m1)+4e−nγ0}.
If d<N, its category term is absorbed by N−1; if ℓ<128, bounded ℓ makes it comparable to the advertised d2/(N2ℓ2) term.
Jiao et al. (2015) and Wu and Yang (2019) supply the approximation-to-count-statistic framework for discrete functionals. Here it is adapted to separately estimated membership weights, marked factorial counts, pilot selection, and a capped fixed-sample prefix.
Choose degree k=⌊ℓ/64⌋ and threshold B=256ℓ. The Chebyshev polynomial Tk, characterized by Tk(cosu)=cos(ku), is bounded by one in absolute value on [−1,1].
Define the residual polynomial
Qk(t):=⎩⎨⎧2k2t/B1−Tk(1−2t/B),1,t>0,t=0.
Here t is expected observed count. We want a count statistic whose expected residual is Qk(t).
How can we use a polynomial of an unknown count intensity?
From Polynomials to Counts
Expand the correction in powers of intensity:
1−Qk(t)=v=1∑k−1avtv,Gj=1LjHj+1LjcDj(t≥0).
The coefficients av define the polynomial statistic Hj. The second equality defines selection: Lj={Cj′≤B/4}, where Cj′ is the independent pilot’s observed count.
For integer v≥1, let Fj,v=Uj∏h=1v−1max{Cj−h,0}. This counts ordered distinct outcome tuples whose first member is a success.
EPoisFj,v=tjvμj.
Thus Hj=∑v=1k−1avFj,v satisfies
EPoisHj=μj{1−Qk(tj)}.
Count products estimate the intensity powers without knowing observation probabilities.
Weighted Bias
For intensities 0≤t≤B, the Chebyshev bound gives
t∣Qk(t)∣≤k2B.
Positive observation connects intensity to population mass: tj≥mqpj.
Consequently, the absolute weighted residual pjμj∣Qk(tj)∣ is at most B/(mqk2).
- There are 4d cells to aggregate.
- B grows with ℓ, while k2 grows with ℓ2.
- The aggregate bias therefore has scale d/(Nℓ), including pilot selection.
In the running example, the missing contribution changes from b0zx−1e−tj to b0zx−1Qk(tj) for the polynomial statistic.
This controls the weighted sum; it does not require recovering each rare mean accurately.
Controlling Noise
High-degree count products can be noisy. The pilot uses Hj when Cj′≤B/4 and the stable ratio Dj otherwise.
Controlled degree bounds polynomial noise when tj≤B:
EPoisHj2≤ek2/B+6k≤eℓ/8(tj≤B).
For tj>B, mistaken polynomial selection is sufficiently unlikely:
PoisPr(Lj)EPoisHj2≤e−tj/8≤e−32ℓ.
For the raw contrast τraw=2∑jg(a)WjGj, these controls imply, on the polynomial branch, VarPois(τraw)≤C{N−1+(Nℓd)2}.
Its three noise sources are ordinary ratio and membership fluctuations, sparse-cell polynomial fluctuations, and mistaken correction of dense cells.
The correction’s noise fits within the advertised risk scale.
Reported Estimator
On the polynomial branch, use Gj=1{Cj′≤B/4}Hj+1{Cj′>B/4}Dj. Otherwise use Gj=Dj.
When K0≤n and N>1, aggregate:
τ(On;ω)=clip[−1,1]⎩⎨⎧2j=(a,x,s)∑g(a)WjGj⎭⎬⎫.
This estimates the identified contrast using independent membership weights and selected outcome statistics.
Clipping replaces values outside the treatment-effect range by the nearest endpoint. Report zero if N≤1 or the prefix exceeds n.
Average over the prefix and stream randomization ω:
τn,d,qmix(On):=Eω[τ(On;ω)∣On].
Conditional averaging removes auxiliary variation and cannot increase squared-error risk. The prefix-overflow probability is exponentially small.
Hard Rare Populations
Return to the example. To prove its difficulty, choose a fixed small η>0 and set
K=⌈ℓ⌉,H=K2,b0=Nℓη,J=min{d−1,⌊2b01⌋}.
Here K is the moment-matching degree, H bounds category parameters, b0 is rare-category mass, and J is their number.
Draw each Zx once for the whole sample from one of two distributions, Π0 or Π1.
The approximation and moment-matching tools of Wu and Yang (2019) give equal moments through degree K, but
∫z−1dΠ1(z)−∫z−1dΠ0(z)≥121.
Thus ordinary moments agree while the reciprocal means determining the treatment effect differ.
Indistinguishable Records
Give the analyst extra information: an independent revealed flag Bact∼Bernoulli(qH).
When the flag is zero, the outcome is missing. When it is one, generate:
A=1, X=x<JA=0, X=x<JX≥J, either arm(R,RY)=(1,1)1/H00(R,RY)=(1,0)(Zx−1)/HZx/H1(R,RY)=(0,0)1−Zx/H1−Zx/H0
The columns are observed success, observed zero, and missing outcome. Forgetting the flag recovers the actual example.
Each flagged record contributes an affine likelihood factor in Zx. At most K flags therefore give a polynomial of degree at most K, hidden by matched moments.
Rare arrival ensures qH≤1; the chosen masses make exceeding K flags in any rare category unlikely.
Even this more informative experiment struggles to distinguish the populations.
Necessary Estimation Error
Let Δact be the difference between the two prior mean treatment effects.
Δact≥12Jb0.
The effects concentrate around those means, while the observed sample distributions remain close.
A sufficiently accurate estimator would distinguish the two populations. The testing comparison therefore gives, for sufficiently large N and J≥2048,
4096(Jb0)2≤Rn,d,q.
Since b0=η/(Nℓ) and rare-category mass is capped, this supplies the squared category contribution, including constant-risk saturation.
The sampling contribution comes from one category with treated success mean μone, zero control outcomes, and independent observation probability q. Only observed treated outcomes inform the mean: their expected number is nq/2.
Together these constructions deliver the matching lower bound.
Honest Intervals
For miscoverage α∈(0,1), use the known deterministic risk bound Un,d,q:
Iαmix:=[τn,d,qmix−αUn,d,q,τn,d,qmix+αUn,d,q]∩[−1,1],
an interval centered on our estimator with radius calibrated from worst-case mean squared error.
Markov’s inequality bounds the probability of exceeding this radius by α. Coverage is therefore at least 1−α for every admissible population: the interval is uniformly honest.
informal · Theorem T-4 Under the trial assumptions, n,d≥1, 0<q≤1, and qℓ2≤1/64, our interval is uniformly honest and has minimax maximal expected length of order rn,d,q for each fixed α∈(0,1).
Writing Ln,d,q,α for the smallest worst-case expected length among uniformly honest connected intervals, the theorem gives constants depending only on fixed α such that
cαrn,d,q≤Ln,d,q,α≤P∈Mn,d,qsupEP[length(Iαmix)]≤Cαrn,d,q.
Here Mn,d,q contains populations satisfying the trial assumptions and rare-arrival restriction; the middle upper bound is our interval’s worst-case expected length.
Why must an honest interval have this much width?
Necessary Interval Width
Our joint-law total-variation comparison transfers coverage between close sample distributions, including procedures with randomized endpoints.
Total variation bounds how much an event’s probability can differ between two experiments.
For every fixed positive coverage level:
- Mix Π0 and Π1 along a finite grid. All grid distributions retain the matched moments.
- Their effect centers span Δact≥Jb0/12; effects concentrate near those centers.
- The flag argument keeps all sample distributions close. Coverage of each target neighborhood therefore transfers to a common experiment.
- A connected interval meeting several separated neighborhoods must span their separation.
This forces expected width proportional to the rare-category separation. A grid in the one-category family supplies the sampling-width contribution.
The interval lower bound uses coverage and connectedness, alongside the same statistical indistinguishability.
Near-complete Observation
When almost every outcome is observed, directly contrast observed successes:
τnHT(On):=Π[−1,1]{n2i=1∑n(2Ai−1)1{Ri=1, RiYi=1}},n≥1.
The indicator selects observed successes; treatment signs add treated successes and subtract controls. The operator Π[−1,1] clips to the target range.
Let Mn,d,q+ denote the trial model with any positive observation floor, without the restriction qℓ2≤1/64.
P∈Mn,d,q+supEP[{τnHT(On)−τ(P)}2]≤n4+(1−q)2,
for every d. Variance is at most 4/n; each arm’s missing-success fraction is at most 1−q, so absolute contrast bias is at most 1−q.
Hard Large-category Populations
To see why the missing fraction matters, take a uniform baseline distribution over d categories, balanced assignment, zero surrogates, and zero control outcomes.
Write δ=1−q.
| Population | Treated outcome in category x | Treated observation probability | |---|---|---| | Pξ | Fixed binary value ξx | q if ξx=1; 1 if ξx=0 | | P⋆ | Bernoulli mean q/(1+q) | (1+q)/2, independent of outcome |
Controls are always observed. Draw the category values ξx independently as fair coins, once for the entire sample.
Every fixed population satisfies missing at random: outcomes under Pξ are constant within cells, and observation under P⋆ is independent of outcomes.
The effects under Pξ concentrate near 1/2, while τ(P⋆)=q/(1+q). Their center separation is
hsep:=21−1+qq=2(1+q)δ.
Thus separation is at least δ/4.
Single Visits Hide Selection
A single treated visit has identical observed probabilities under the fair-coin mixture of Pξ and under P⋆:
| Recorded status | Probability under either experiment | |---|---| | Observed success | q/2 | | Observed zero | 1/2 | | Missing outcome | δ/2 |
Only repeated treated visits to the same category reveal the distinction. Their probability is at most n2/(8d).
For d≥1024n2, this is small. When δ2>n−1, effect concentration and the separation force error proportional to δ2; otherwise the sampling lower bound suffices.
max{256n1,1024(1−q)2}≤Rn,d,q+≤n4+(1−q)2.
Here Rn,d,q+ is minimax risk without the restriction qℓ2≤1/64.
informal · Theorem T-18 Under the trial assumptions, for any sequence 0<qn≤1, minimax risk is eventually O(n−1) with one constant for every d≥1 if and only if 1−qn=O(n−1/2).
Open Questions
- Match estimation risk and honest interval length throughout intermediate moving-observation and category regimes.
- Characterize the observation requirement along individual smaller-category sequences, and extend the model beyond missing at random.
- Develop practical evaluation: the polynomial branch starts at nq≥e128−e, and exact conditional averaging enumerates exponentially many assignments.
Takeaways
- Full membership records identify population weights. Empty outcome cells still create accumulated adjustment bias.
- Count polynomials replace that residual bias; controlled degree and independent pilot selection keep noise within the risk bound. Under rare arrival, the resulting rate is minimax optimal.
- Across arbitrary category counts, single visits can hide selective observation. Parametric risk uniformly over all d requires and is delivered by 1−qn=O(n−1/2).
Appendix: Matched Minimax Frontier
Under rare arrival, the count estimator attains the smallest possible worst-case squared-error order.
There exist universal constants 0<c≤C<∞ such that, for every n,d∈N and q∈R satisfying
- (Sample size and dimension.) n≥1 and d≥1.
- (Arrival parameter.) 0<q≤1.
- (Rare-arrival restriction.) Assumption A-8 holds.
the minimax squared-error risk Rn,d,q defined in Definition P-6 and the frontier rate rn,d,q defined in Definition P-5 satisfy crn,d,q≤Rn,d,q≤Crn,d,q.
On the polynomial branch, the detailed variance allowance is
vn,d,q=8(N04+m1)+64d(eℓ/8+1)(N02B2+mN0B)+32e−32ℓ(1+m1).
Here N0=mq=N/6. The three terms bound ratio and membership noise, sparse-cell correction noise, and mistaken dense-cell correction.
Appendix: Connected Interval Length Frontier
At every fixed coverage level, our honest interval attains the optimal worst-case expected length under rare arrival.
For every miscoverage level α∈(0,1), there exist constants 0<cα≤Cα<∞ such that the following holds for every n,d∈N and q∈R satisfying:
- (Sample size and dimension.) n≥1 and d≥1.
- (Arrival floor.) 0<q≤1.
- (Rare-arrival slice.) The restriction in Assumption A-8 holds.
Let rn,d,q be the frontier rate in Definition P-5, let Ln,d,q,α be the minimax expected interval length in Definition P-7, and let Iαmix be the interval in Definition P-10. Over the model class Mn,d,q in Definition P-1, cαrn,d,q≤Ln,d,q,α≤P∈Mn,d,qsupEP[length(Iαmix)]≤Cαrn,d,q. Here expectations and probabilities are taken under the law of the independent observed sample induced by P, and interval length is defined by length([l,u])=u−l. Moreover, for every P∈Mn,d,q, the average treatment effect τ(P) from Definition P-3 satisfies PPr{τ(P)∈Iαmix}≥1−α.
Appendix: Uniform Near-complete Arrival Elbow
The missing fraction must be of order n−1/2 or smaller to guarantee parametric risk simultaneously over every category count.
Let (qn)n≥0 satisfy 0<qn≤1 for every n, and let Rn,d,q+ be the unrestricted-arrival minimax squared-error risk defined in Definition P-15. For every integer n≥1, nRn,d,qn+≤4+n(1−qn)2for every integer d≥1. Moreover, for every real number b<20481{1+n(1−qn)2}, there exists an integer d≥1 such that b<nRn,d,qn+. The following two conditions are equivalent:
- (Arrival rate.) There exists a real constant M≥0 such that, for all sufficiently large integers n, 1−qn≤nM.
- (Uniform risk bound.) There exists a real constant D such that, for all sufficiently large integers n and every integer d≥1, Rn,d,qn+≤nD.
For every pair of integers n,d≥1, 256n1≤Rn,d,qn+. If the sequence (n(1−qn))n≥0 is unbounded above, then for every real constant C, there are infinitely many integers n such that C<nRn,1024n2,qn+.
Appendix: Fixed Positivity Polynomial Frontier
Synthetic assignment transfers the count estimator to the observational regression contrast and attains its minimax order at fixed strict positivity.
There exists a universal constant C>0 such that the following holds for every pair of integers n,d≥1 and every strict positivity margin 0<ϵ<1/2. Let Dd,ϵ be the observational class in Definition P-12, and let Zn=((Xi,Biobs,Yi))i=1n be an independent sample from PZ∈Dd,ϵ. Write the observational baseline categories as 1,…,d. For a realization Zn=((xi,bi,yi))i=1n, define the synthetic records, with baseline coordinates indexed from zero, by oi(ui)=(xi−1,ui,0,1{bi=ui},1{bi=ui}yi),ui∈{0,1}, and define the deterministic estimator θn,d,ϵpoly(Zn)=2n1(u1,…,un)∈{0,1}n∑τn,d,ϵmix(o1(u1),…,on(un)), where τn,d,ϵmix is the mixed-count estimator in Definition P-8. Then PZ∈Dd,ϵsupEPZ[(θn,d,ϵpoly(Zn)−θZ(PZ))2]≤Crn,d,ϵ, where θZ(PZ) is the observational contrast in Definition P-13 and rn,d,ϵ is the rate in Definition P-5. Moreover, for each fixed 0<ϵ<1/2, there exist constants 0<cϵ≤Cϵ<∞ such that, for every pair of integers n,d≥1, the minimax risk in Definition P-14 satisfies cϵmin{1,n1+[nlog(e+n)d]2}≤Rn,d,ϵZ≤Cϵmin{1,n1+[nlog(e+n)d]2}.