Proof of Proposition 2(ii), pp. 23–24 — for the (0,σ)-test, t_L = 0, t_H(σ) = c/(1−(1−c)σ) and dt_H/dσ(1) = (1−c)/c
ProvedScarceTesting.PerfectTest.part_ii_thresholdsdiagnostic-testingp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1
Let . For tests with false positive rate :
- ;
- ;
These are the first computations in part (ii) of the proof of Proposition 2, which perturbs the perfect test by a true positive rate slightly below .
Formalization Note The identities hold for every real (Lean's makes even at , and identically).
Preamble
import Mathlib import Definitions.Def_ScarceTesting_PerfectTest_Setting
Formal statement
namespace ScarceTesting.PerfectTest
/-- Proof of Proposition 2(ii), pp. 23–24: for the `(0,σ)`-test, `t_L = 0`,
`t_H(σ) = c/(1 − (1−c)σ)`, and `dt_H/dσ(1) = (1−c)/c`. -/
theorem part_ii_thresholds (c : ℝ) (hc0 : 0 < c) (hc1 : c < 1) :
(∀ σ : ℝ, tL c 0 σ = 0) ∧
(∀ σ : ℝ, tH c 0 σ = c / (1 - (1 - c) * σ)) ∧
HasDerivAt (fun σ => tH c 0 σ) ((1 - c) / c) 1 := by sorry
end ScarceTesting.PerfectTest
Source
Drakopoulos & Randhawa, Why Perfect Tests May Not Be Worth Waiting For: Information as a Commodity, SSRN 3565245 (version of January 13, 2021), proof of Proposition 2 (Appendix A.1.2), part (ii), pp. 23–24, "because φ = 0, we have t_L = 0" and "We first note that t_H(σ) = …"
Human review
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.