Lemma EC.4, p. ec5 โ the cross moment E[๐_t ๐_{tโฒ}] is 0 without overlapping points and (EC.6) otherwise
ProvedSwitchbackExp.Design.lemma_EC_4horvitz-thompson-estimatorp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1switchback-experimentvariance
Let be a regular switchback design with , let satisfy Assumptions 1โ2, and let . Let be the overlapping randomization points.
- If , then . (EC.5)
- If , then
With Lemma EC.3 this gives the full expansion of the risk used in Lemma 1 and Theorem 1.
Formalization Note The page says ; the error terms are defined only for periods in , so both and are taken there.
Preamble
import Mathlib import Definitions.Def_SwitchbackExp_Design_Model import Definitions.Def_SwitchbackExp_Design_Setting
Formal statement
namespace SwitchbackExp.Design
/-- Lemma EC.4 (p. ec5), (EC.5)โ(EC.6): the cross moment of the error terms `๐_t` and `๐_{tโฒ}`. -/
theorem lemma_EC_4 (m T : โ) (hmT : m < T) (P : Finset โ) (q : โ โ โ)
(hP : IsRegularPoints T P) (hq : IsRegularProbs P q) (Y : Outcomes)
(hY1 : NonAnticipating T Y) (hY2 : Carryover m T Y)
(t t' : โ) (ht : t โ Finset.Icc (m + 1) T) (ht' : t' โ Finset.Icc (m + 1) T) (htt : t < t') :
(overlap P m t t' = โ
โ
expect P q (fun w => errTerm m P q Y t w * errTerm m P q Y t' w) = 0) โง
((overlap P m t t').Nonempty โ
expect P q (fun w => errTerm m P q Y t w * errTerm m P q Y t' w)
= (โ u โ overlap P m t t', 1 / q u - 1) * Y1 Y t * Y1 Y t' + Y1 Y t * Y0 Y t'
+ Y0 Y t * Y1 Y t' + (โ u โ overlap P m t t', 1 / (1 - q u) - 1) * Y0 Y t * Y0 Y t') := by sorry
end SwitchbackExp.Design
Source
Bojinov, Simchi-Levi, Zhao, Design and Analysis of Switchback Experiments, arXiv:2009.00148v4 (Management Science 69(7), 2023), Lemma EC.4, p. ec5, (EC.5)โ(EC.6)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.