Section 4, Eq. (25) — g(n₁, n₂, α) < (1 − Φ(α))/(1 − Φ(α(λ^{1/2} − 1)/(λ − 1)^{1/2})), λ = n₂/n₁
ProvedRobbinsSeqDesign.OptionalStopping.optional_stopping_window_boundLet be independent random variables, each normal with mean and variance , and . For integers and a real constant let
be the probability that the fixed-sample test (21) rejects at some sample size of the window (24), and put . Then
where is the standard normal distribution function (23).
A statistician who allows the sample size to be chosen anywhere in thus controls the probability of wrongly rejecting by the fixed-sample error inflated by a factor depending only on and the ratio ; the paper notes the bound is useful when is not too large.
Formalization Note. The inequality is strict, as printed. The paper's range of the parameters is made explicit: (so that is defined) and (so that and ); is the real quotient . No sign condition is put on : the paper's is "some constant", and the inequality holds for every real (for the right side is at least while ). The window includes both endpoints and . The remarks "useful when is not too large" and "sharper inequalities can no doubt be devised" are not formalized.
import Mathlib import Definitions.Def_RobbinsSeqDesign_OptionalStopping_Setup
namespace RobbinsSeqDesign.OptionalStopping
open MeasureTheory ProbabilityTheory
theorem optional_stopping_window_bound {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω)
[IsProbabilityMeasure P] (X : ℕ → Ω → ℝ) (hindep : iIndepFun X P)
(hlaw : ∀ i, HasLaw (X i) (gaussianReal 0 1) P) (n₁ n₂ : ℕ) (hn₁ : 1 ≤ n₁)
(hn₁₂ : n₁ < n₂) (α : ℝ) :
g P X n₁ n₂ α <
(1 - Phi α) /
(1 - Phi (α * ((Real.sqrt ((n₂ : ℝ) / n₁) - 1) / Real.sqrt ((n₂ : ℝ) / n₁ - 1)))) := by sorry
end RobbinsSeqDesign.OptionalStopping
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.