Experimentation.DesignBased.Variance
This namespace collects variance-estimation tools for finite design-based experiments.
Conservative 2 core · 2 supporting Conservative variance estimators have expectation at least the true finite-design variance. ★ chebyshev_conservative
Conservative variance estimators
Conservative variance estimators have expectation at least the true finite-design variance.
FiniteDesign.IsConservativeVarEst states the comparison Var X <= E[Vhat]. The lemmas
FiniteDesign.isConservativeVarEst_of_E_eq_add and
FiniteDesign.isConservativeVarEst_of_unbiased give common certification patterns, and
FiniteDesign.chebyshev_conservative turns conservativeness into a valid Chebyshev tail bound
with E[Vhat] in place of the unknown variance.
For a randomization design, a real-valued variance estimator, and a real-valued statistic of the realized assignment, the assertion that the estimator is conservative means that its design expectation is at least the design variance of the statistic.
Definition (Lean source)
Conservative Chebyshev bound. If the design expectation of a proposed variance estimator V̂ is at least the randomization variance of X, then for any positive threshold ε, the probability that X deviates from its mean by at least ε is bounded by that expected estimator divided by ε².
Formal statement
Proof (Lean source)
2 supporting declarations (lemmas, instances)
-
isConservativeVarEst_of_E_eq_addlemma — A variance estimator whose expectation equals the variance plus a nonnegative bias is conservative.hypothesesΩ :sharedType u_1Vhat X :Ω → ℝB :ℝhB :0 ≤ Bh :D.E Vhat = D.Var X + BconclusionD.IsConservativeVarEst Vhat XProof (Lean source)
lemma isConservativeVarEst_of_E_eq_add {Vhat X : Ω → ℝ} {B : ℝ} (hB : 0 ≤ B) (h : D.E Vhat = D.Var X + B) : D.IsConservativeVarEst Vhat X := by rw [IsConservativeVarEst, h]; exact le_add_of_nonneg_right hB -
isConservativeVarEst_of_unbiasedlemma — An unbiased variance estimator (its expectation equals the variance) is conservative.hypothesesconclusionD.IsConservativeVarEst Vhat XProof (Lean source)
lemma isConservativeVarEst_of_unbiased {Vhat X : Ω → ℝ} (h : D.E Vhat = D.Var X) : D.IsConservativeVarEst Vhat X := by rw [IsConservativeVarEst, h]