(8), p. 9 — under cPDE, and
ProvedCorrelatedTrials.Consistency.posterior_momentsLet be an instance of the correlated clinical-trial model (Assumption 1), with unknown mean vector and i.i.d. standard normal noises independent of ; the -th sample of arm is . Run the trial under the cPDE allocation policy: at time arm is sampled, producing the observation (the next unused sample of arm ), and the belief is updated by the Bayesian formula (8).
Fix a time and an arm , and let
be the information carried by the first observations. Then:
- the observation vector is measurable;
- and are -measurable;
- almost surely,
This is the content of the paper's statement that, given the observations so far, the posterior distribution of is , with computed recursively by (8), here for the adaptively allocated observations of the cPDE policy; only the first two conditional moments are asserted. It is the probabilistic input behind the consistency statements of Theorem 1 (posterior means form a martingale, and the posterior variance measures the mean-square error).
Formalization Note. The observation is the sample of arm with index (the number of earlier samples of that arm); is the comap σ-algebra of the map .
import Mathlib import Definitions.Def_CorrelatedTrials_Consistency_CpdeProcess open MeasureTheory
namespace CorrelatedTrials.Consistency
/-- The Bayesian update (8) under the cPDE policy computes the first two posterior moments
(Chick, Gans, Yapar, Bayesian Sequential Learning for Clinical Trials of Multiple Correlated
Medical Interventions, SSRN 3184758 (version of August 31, 2020), p. 9, (8): "the posterior
distribution of θ given the first t + τ observations is N(µ^{t+τ}, Σ^{t+τ})").
Let `F_T = σ(Y_0, …, Y_{T−1})` be the σ-algebra of the first `T` observations
`Y_s = W_{u_s, n^s_{u_s}}` (the `n^s_{u_s}`-th sample of the arm `u_s` allocated at time `s`).
Then the observation history is measurable, `µ^T_i` and `Σ^T_{i,i}` are `F_T`-measurable, and
almost surely `E[θ_i | F_T] = µ^T_i` and `E[(θ_i − µ^T_i)² | F_T] = Σ^T_{i,i}`.
Formalization Note: only the first two conditional moments of the Gaussian posterior
`N(µ^T, Σ^T)` are stated, for the cPDE allocation process. -/
theorem posterior_moments {M : ℕ} (I : Instance M) (T : ℕ) (i : Fin M) :
Measurable (fun ω (s : Fin T) => W I (alloc I s ω) (count I s ω (alloc I s ω)) ω) ∧
StronglyMeasurable[MeasurableSpace.comap
(fun ω (s : Fin T) => W I (alloc I s ω) (count I s ω (alloc I s ω)) ω) inferInstance]
(fun ω => mu I T ω i) ∧
StronglyMeasurable[MeasurableSpace.comap
(fun ω (s : Fin T) => W I (alloc I s ω) (count I s ω (alloc I s ω)) ω) inferInstance]
(fun ω => Sig I T ω i i) ∧
(fun ω => mu I T ω i) =ᵐ[trialMeasure I]
(trialMeasure I)[fun ω => theta ω i | MeasurableSpace.comap
(fun ω (s : Fin T) => W I (alloc I s ω) (count I s ω (alloc I s ω)) ω) inferInstance] ∧
(fun ω => Sig I T ω i i) =ᵐ[trialMeasure I]
(trialMeasure I)[fun ω => (theta ω i - mu I T ω i) ^ 2 | MeasurableSpace.comap
(fun ω (s : Fin T) => W I (alloc I s ω) (count I s ω (alloc I s ω)) ω) inferInstance] := by
sorry
end CorrelatedTrials.Consistency