Lemma EC.3, p. ec4 β the second moment E[π_tΒ²] of the error term (EC.4)
ProvedSwitchbackExp.Design.lemma_EC_3horvitz-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 . Write for the determining randomization points of the periods , and . Then the error term of (EC.2) satisfies
Together with Lemma EC.4 this expands the risk into a quadratic form in the outcomes with nonnegative coefficients.
Formalization Note The page says "for any ", but is defined in (EC.2) only for ; the statement is restricted to that range.
Preamble
import Mathlib import Definitions.Def_SwitchbackExp_Design_Model import Definitions.Def_SwitchbackExp_Design_Setting
Formal statement
namespace SwitchbackExp.Design
/-- Lemma EC.3 (p. ec4), (EC.4): the second moment of the error term `π_t`. -/
theorem lemma_EC_3 (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 : β) (ht : t β Finset.Icc (m + 1) T) :
expect P q (fun w => errTerm m P q Y t w ^ 2)
= (β u β detPoints P m t, 1 / q u - 1) * Y1 Y t ^ 2 + 2 * Y1 Y t * Y0 Y t
+ (β u β detPoints P m t, 1 / (1 - q u) - 1) * Y0 Y t ^ 2 := 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.3, p. ec4, (EC.4); notation EC.3.1, p. ec3, (EC.2)
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.