Valid p-values and false discovery proportion

DefinitionValid p-value#✓fully proved

A real random variable X is a valid (super-uniform) p-value under μ if μ {X ≤ t} ≤ t for every level t ∈ [0, 1]. Uniform p-values are the equality case.

def IsValidPValue (μ : Measure Ω) (X : Ω → ℝ) : Prop :=
  ∀ t ∈ Set.Icc (0 : ℝ) 1, μ {ω | X ω ≤ t} ≤ ENNReal.ofReal t
Used by 10

TheoremUniform p-values are valid#✓fully proved

A p-value distributed uniformly on [0, 1] is valid.

theorem isValidPValue_of_hasLaw_uniform {μ : Measure Ω} {X : Ω → ℝ}
    (hX : HasLaw X (volume.restrict (Set.Icc (0 : ℝ) 1)) μ) : IsValidPValue μ X
Uses 1 · Used by 1

TheoremNumber of p-values below a threshold is at most the total#✓fully proved

At most m p-values lie below any threshold.

theorem numBelow_le (p : Fin m → ℝ) (t : ℝ) : numBelow p t ≤ m
Uses 1 · Used by 1

TheoremNumber of p-values below a threshold is monotone#✓fully proved

numBelow p is monotone in the threshold.

theorem numBelow_mono (p : Fin m → ℝ) {s t : ℝ} (hst : s ≤ t) : numBelow p s ≤ numBelow p t
Uses 1 · Used by 2

DefinitionFalse discovery proportion#✓fully proved

The false discovery proportion of a rejection set R when H0 is the set of true nulls: |R ∩ H0| / max |R| 1 (zero when nothing is rejected).

noncomputable def falseDiscoveryProportion (H0 R : Finset (Fin m)) : ℝ :=
  ((R ∩ H0).card : ℝ) / max (R.card : ℝ) 1
Used by 5

TheoremFalse discovery proportion is nonnegative#✓fully proved

The false discovery proportion is nonnegative.

theorem falseDiscoveryProportion_nonneg (H0 R : Finset (Fin m)) :
    0 ≤ falseDiscoveryProportion H0 R
Uses 1

TheoremFalse discovery proportion is at most one#✓fully proved

The false discovery proportion is at most one.

theorem falseDiscoveryProportion_le_one (H0 R : Finset (Fin m)) :
    falseDiscoveryProportion H0 R ≤ 1
Uses 1
8 fully proved

The dependency explorer needs JavaScript and its graph data.

Download the complete graph data.