Estimation.NPIV.DR
Doubly robust estimation of linear functionals of the NPIV structural function.
Estimator 5 core · 0 supporting Defines estimator-level helpers and local instances for the doubly robust NPIV development. ★ trae_dr_estimator_eq_avg_phi
Defines estimator-level helpers and local instances for the doubly robust NPIV development. The module exposes sample, measure, and inverse-problem-system fields in the form used by the DR rate and limit theorems.
For a measurable sample space with a measure and an inverse-problem system, the measurable structure on the observation space is the measurable structure specified by that system.
Definition (Lean source)
For a measurable sample space with a measure and an inverse-problem system, the measurable structure on the covariate space is the measurable structure specified by that system.
Definition (Lean source)
For a measurable sample space with a measure and an inverse-problem system, the measurable structure on the instrument space is the measurable structure specified by that system.
Definition (Lean source)
For a measurable sample space with a measure, an inverse-problem system, a probability law on its observation space, an independent and identically distributed sample under the two measures, a one-shot split of that sample, a sequence of data-dependent primal nuisance estimators, a sequence of data-dependent dual nuisance estimators, a sample size, and a realization of the underlying sample space, the one-shot TRAE doubly robust estimator is the average over the split's evaluation fold of the system's doubly robust pseudo-outcome evaluated using the two nuisance estimators at that sample size and realization.
Definition (Lean source)
Estimator unfolding. For primal nuisance estimators ĥ_n, indexed by sample size and by outcome, paired with dual nuisance estimators q̂_n, an inverse-problem system, an i.i.d. sample, and a one-shot cross-fitting split, the one-shot TRAE doubly robust estimator evaluated at sample size n and outcome ω equals the average, over the evaluation fold B(n), of the pointwise doubly-robust pseudo-outcome φ_{ĥ_n,q̂_n} computed at each fold member's observation.
Formal statement
Proof (Lean source)
AsymptoticLinear 3 core · 3 supporting States and proves asymptotic linearity for the doubly robust NPIV estimator under bundled oracle-score and remainder conditions. ★ trae_dr_isAsymLinear
States and proves asymptotic linearity for the doubly robust NPIV estimator under bundled oracle-score and remainder conditions. The module identifies the leading score term and controls the nuisance remainder.
For a measurable sample space with a measure, an inverse-problem system, a dual nuisance function on the instrument space, and an observation, the oracle score is the doubly robust pseudo-outcome formed from the system's primal nuisance function and the supplied dual nuisance function at that observation, minus the system's scalar target.
Definition (Lean source)
The TRAE-DR remainder hypotheses bundle the sufficient conditions under which the doubly-robust TRAE estimator, built from primal nuisance estimators ĥ_n and dual nuisance estimators q̂_n over a cross-fitting split, is asymptotically linear: the fitted primal nuisance is L²-consistent for the truth in probability, likewise for the fitted dual nuisance, both fitted nuisances stay in their respective candidate classes at every sample size and outcome, the √-scaled mixed-bias integral between the two nuisance errors is asymptotically negligible, the centered empirical-process remainder from plugging the fitted nuisances into the oracle score vanishes at the √-rate, and the oracle score has finite variance under the observation law.
Definition (Lean source)
(i) Primal L² consistency in probability:
‖ĥ_n(X) − h₀(X)‖_{L²(μ)} →ₚ 0.
(i) Dual L² consistency in probability:
‖q̂_n(Z) − q₀(Z)‖_{L²(μ)} →ₚ 0.
Support condition for the formal mixed-bias identity: the fitted primal and dual nuisance functions lie in the candidate classes for every sample size and outcome.
Unconditional mixed-bias sufficient criterion: scaling the mixed-bias
integral by √|B(n)| is o_p(1) under μ. This is the unconditional
assumption used here rather than the conditional-on-training-fold
hypothesis from the paper statement.
Empirical-process / mean-squared-continuity remainder (iii):
the centered fold-B sum of φ̂_n − φ₀ is o_p(1) after √|B(n)|
scaling.
(iv) Finite oracle-score variance: E[ρ₀² ] < ∞ under P_W.
TRAE-DR asymptotic-linearity criterion — thm:est-trae-dr-al-criterion. Fix a linear inverse-problem functional system S, an i.i.d. sample, and a one-shot cross-fitting split, and suppose q₀ solves the associated dual moment equation. Given primal nuisance estimators ĥ_n, indexed by sample size and outcome, paired with dual nuisance estimators satisfying the bundled L²-consistency, candidate-membership, mixed-bias, and empirical-process remainder conditions, together with the law bridge identifying the pushforward of μ along the observation map W with the observation law P_W and measurability of the oracle score ρ₀, the TRAE-DR estimator is asymptotically linear at the structural target θ₀, with mean-zero, finite-variance influence function ρ₀ := φ_{h₀,q₀} − θ₀ and vanishing √n-rescaled remainder, indexed along the estimation folds.
Formal statement
Proof (Lean source)
3 supporting declarations (lemmas, instances)
-
mean_zero_of_DualSolution_mutheorem — Mean-zero of the oracle score under the structural law μ.Proof (Lean source)
theorem mean_zero_of_DualSolution_mu {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] (S : InverseProblemSystem Ω μ) {q₀ : S.𝒵 → ℝ} (hq₀ : S.DualSolution q₀) : ∫ ω, ρ₀ S q₀ (S.W ω) ∂μ = 0 := by have hphi_int : Integrable (fun ω => S.phiVal S.h₀ q₀ (S.W ω)) μ := by unfold InverseProblemSystem.phiVal exact ((S.integrable_m_e S.h₀ S.h₀_mem).add (S.integrable_m q₀ hq₀.mem)).sub (S.integrable_qh S.h₀ S.h₀_mem q₀ hq₀.mem) have htheta_int : Integrable (fun _ : Ω => S.θ₀) μ := integrable_const _ have hzero := Θ_q₀_eq_θ₀ S hq₀ S.h₀_mem unfold ρ₀ rw [integral_sub hphi_int htheta_int] unfold InverseProblemSystem.Θ InverseProblemSystem.phi at hzero rw [hzero] simp -
mean_zero_of_DualSolutiontheorem — Mean-zero of the oracle score under the observation law P_W.hypothesesΩ :S :q₀ :S.𝒵 → ℝhq₀ :S.DualSolution q₀P_W :Measure S.𝒲h_law_W :μ.map S.W = P_Whρ₀_meas :Measurable (ρ₀ S q₀)conclusion∫ w, ρ₀ S q₀ w ∂P_W = 0Proof (Lean source)
theorem mean_zero_of_DualSolution {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] (S : InverseProblemSystem Ω μ) {q₀ : S.𝒵 → ℝ} (hq₀ : S.DualSolution q₀) {P_W : Measure S.𝒲} (h_law_W : μ.map S.W = P_W) (hρ₀_meas : Measurable (ρ₀ S q₀)) : ∫ w, ρ₀ S q₀ w ∂P_W = 0 := by rw [← h_law_W] rw [MeasureTheory.integral_map S.meas_W.aemeasurable hρ₀_meas.aestronglyMeasurable] exact mean_zero_of_DualSolution_mu S hq₀ -
mixed_bias_sufficienttheorem — Sufficient condition for the mixed-bias hypothesis using either operator side (the displayed min{·,·} form in thm:est-trae-dr-al-criterion):hypothesesΩ :S :q₀ :S.𝒵 → ℝP_W :Measure S.𝒲sample :IIDSample Ω S.𝒲 μ P_Wsplit :OneShotSplit sampleh_hat :ℕ → Ω → (S.𝒳 → ℝ)q_hat :ℕ → Ω → (S.𝒵 → ℝ)bnd :ℕ → Ω → ℝ_h_dom :∀ n ω,|∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ|≤ bnd n ω_h_rate :IsLittleOp (fun n ω => sqrt ((split.foldB n).card : ℝ) * bnd n ω) (fun _ => (1 : ℝ)) μconclusionIsLittleOp (fun n ω => sqrt ((split.foldB n).card : ℝ) * ∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ) (fun _ => (1 : ℝ)) μProof (Lean source)
theorem mixed_bias_sufficient {Ω : Type*} [MeasurableSpace Ω] {μ : Measure Ω} [IsProbabilityMeasure μ] (S : InverseProblemSystem Ω μ) {q₀ : S.𝒵 → ℝ} {P_W : Measure S.𝒲} [IsProbabilityMeasure P_W] (sample : IIDSample Ω S.𝒲 μ P_W) (split : OneShotSplit sample) (h_hat : ℕ → Ω → (S.𝒳 → ℝ)) (q_hat : ℕ → Ω → (S.𝒵 → ℝ)) (bnd : ℕ → Ω → ℝ) (_h_dom : ∀ n ω, |∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ| ≤ bnd n ω) (_h_rate : IsLittleOp (fun n ω => sqrt ((split.foldB n).card : ℝ) * bnd n ω) (fun _ => (1 : ℝ)) μ) : IsLittleOp (fun n ω => sqrt ((split.foldB n).card : ℝ) * ∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ) (fun _ => (1 : ℝ)) μ := by -- Reference to `sample` is intentional: the conclusion is the precise -- form of the `mixed_bias` field above, indexed by `split.foldB`. let _ := sample intro ε hε rw [ENNReal.tendsto_nhds_zero] intro δ hδ have hrate := (ENNReal.tendsto_nhds_zero.mp (_h_rate ε hε)) δ hδ filter_upwards [hrate] with n hn refine (measure_mono ?_).trans hn intro ω hω simp only [Set.mem_setOf_eq, mul_one] at hω ⊢ let bias : ℝ := ∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ have h_bnd_nonneg : 0 ≤ bnd n ω := le_trans (abs_nonneg bias) (_h_dom n ω) have h_sqrt_nonneg : 0 ≤ sqrt ((split.foldB n).card : ℝ) := Real.sqrt_nonneg _ have h_abs_bias : |sqrt ((split.foldB n).card : ℝ) * bias| = sqrt ((split.foldB n).card : ℝ) * |bias| := by rw [abs_mul, abs_of_nonneg h_sqrt_nonneg] have h_abs_bnd : |sqrt ((split.foldB n).card : ℝ) * bnd n ω| = sqrt ((split.foldB n).card : ℝ) * bnd n ω := by rw [abs_of_nonneg (mul_nonneg h_sqrt_nonneg h_bnd_nonneg)] rw [show (∫ ω', (q₀ (S.zOf (S.W ω')) - q_hat n ω (S.zOf (S.W ω'))) * (h_hat n ω (S.xOf (S.W ω')) - S.h₀ (S.xOf (S.W ω'))) ∂μ) = bias from rfl, h_abs_bias] at hω rw [h_abs_bnd] exact lt_of_lt_of_le hω (mul_le_mul_of_nonneg_left (_h_dom n ω) h_sqrt_nonneg)
AsymptoticNormal 3 core · 0 supporting Derives asymptotic normality for the doubly robust NPIV estimator from asymptotic linearity, Gaussian score limits, and studentization/continuous-mapping inputs. ★ trae_dr_asymp_normal★ trae_dr_studentized★ trae_dr_wald_coverage
Derives asymptotic normality for the doubly robust NPIV estimator from asymptotic linearity, Gaussian score limits, and studentization/continuous-mapping inputs.
TRAE-DR asymptotic normality — thm:est-trae-dr-asymp-normal. Under the dual-solution hypothesis on q₀, primal nuisance estimators ĥ_n, indexed by sample size and outcome, satisfying — together with the paired dual estimators — the bundled TRAE-DR remainder conditions, and the law bridge identifying the pushforward of μ along the observation map W with the observation law P_W, suppose further that the √n-rescaled estimator sequence is almost-everywhere measurable at every sample size and the normalized influence-function partial sum is almost-everywhere measurable at every sample size. Then the rescaled TRAE-DR estimator converges in distribution, along the estimation-fold sizes, to the centered Gaussian law with variance σ₀² := ∫ ρ₀(w)² dP_W.
Formal statement
Proof (Lean source)
Studentized TRAE-DR convergence. Fix a dual solution q₀ of the inverse-problem system S together with a first-stage nuisance-estimator sequence ĥ_n, and suppose the sample's W-marginal is identified as P_W. Assume the efficient influence function ρ₀ is measurable and the rescaled estimator sequence, its normalized-sum representation, and the studentized statistic itself are all almost-everywhere measurable at every sample size. If the asymptotic standard deviation σ₀ is strictly positive with σ₀² = ∫ ρ₀(w)² dP_W and a variance-estimator sequence σ̂_n converges to σ₀ in probability, then the studentized statistic √|B(n)| · (θ̂_n − θ₀) / σ̂_n converges in distribution to the standard normal law N(0, 1).
Formal statement
Proof (Lean source)
Wald asymptotic coverage — thm:est-trae-dr-asymp-normal. Under the same setup as trae_dr_studentized — a dual solution q₀ of the inverse-problem system S, a first-stage nuisance-estimator sequence ĥ_n, the sample's W-marginal identified as P_W, measurability of ρ₀, of the rescaled estimator, of its normalized-sum representation, and of the studentized statistic, and a variance-estimator sequence σ̂_n that is consistent in probability for a strictly positive σ₀ satisfying σ₀² = ∫ ρ₀(w)² dP_W — fix any strictly positive real number z. Then provided the coverage probability of the Wald interval θ̂_n ± z · σ̂_n / √|B(n)| and the probability that the studentized statistic lands in [-z, z] become asymptotically equal, the Wald-interval coverage probability converges to the standard-normal mass 2 Φ(z) − 1 on [-z, z].