Lemma EC.6, p. ec10 โ at ๐ = ๐ยฑ with fair coins, E[๐_tยฒ] = 2^{J+1}Bยฒ and E[๐_t ๐_{tโฒ}] = 0 or 2^{J^o+1}Bยฒ
ProvedSwitchbackExp.Design.lemma_EC_6fair-coinp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1switchback-experimentvariance
Let , let be regular randomization points, and let every coin be fair, . Let or . For with ,
For with : if then , and if then
These moments turn the risk of a fair-coin design at the extreme outcomes into a combinatorial function of the randomization points, the starting point of Lemmas EC.7โEC.9.
Formalization Note The periods are restricted to , where the error terms are defined (the page writes ).
Preamble
import Mathlib import Definitions.Def_SwitchbackExp_Design_Model import Definitions.Def_SwitchbackExp_Design_Setting
Formal statement
namespace SwitchbackExp.Design
/-- Lemma EC.6 (p. ec10): the moments of the error terms at `๐ = ๐โบ` or `๐ = ๐โป` with fair coins. -/
theorem lemma_EC_6 (m T : โ) (hmT : m < T) (B : โ) (hB : 0 < B) (P : Finset โ)
(hP : IsRegularPoints T P) (Y : Outcomes) (hYpm : Y = Yplus B โจ Y = Yminus B) (t t' : โ)
(ht : t โ Finset.Icc (m + 1) T) (ht' : t' โ Finset.Icc (m + 1) T) :
expect P half (fun w => errTerm m P half Y t w ^ 2) = 2 ^ ((detPoints P m t).card + 1) * B ^ 2 โง
(t < t' โ overlap P m t t' = โ
โ
expect P half (fun w => errTerm m P half Y t w * errTerm m P half Y t' w) = 0) โง
(t < t' โ (overlap P m t t').Nonempty โ
expect P half (fun w => errTerm m P half Y t w * errTerm m P half Y t' w)
= 2 ^ ((overlap P m t t').card + 1) * B ^ 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.6, p. ec10
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.