One-way fixed-effects sample
DefinitionSampleRemoval_Supplement_FixedEffectsModelleast-squaresoptimizationp2o-gran-per-chapterp2o-plan-paperp2o-v1robustness-auditsample-removal
A one-way fixed-effects sample partitions the observations into groups . Group has paired real observations .
This is the data of the model ; all fixed effects and the common slope are re-estimated after deletion.
Definition code
import Mathlib set_option autoImplicit false namespace SampleRemoval.Supplement /-- A one-way fixed-effects sample partitioned into `Γ` groups, with one real regressor and one real response per observation (Xu, Gao, Hu, STOC 2027 submission, §4, p.7 (PDF p.9)). Group `g` contains `nobs g` observations indexed by `Fin (nobs g)`. -/ structure FixedEffectsModel (Γ : ℕ) where nobs : Fin Γ → ℕ x : (g : Fin Γ) → Fin (nobs g) → ℝ y : (g : Fin Γ) → Fin (nobs g) → ℝ end SampleRemoval.Supplement
Source
Xu, Gao, Hu, Rounding, Ranges, and Exact Sample-Removal Audits for Least Squares, STOC 2027 submission (manuscript sha256 dcd33acebc1ccdc626c7ee41bfabc29795abe2e1cd9267d8cbd66d98f81c4b26), Section 4, p.7 (PDF p.9)