An estimation problem: a kernel P
from a parameter space Θ
to a sample space 𝒳
,
an objective function y
on the parameter space and a cost function ℓ
.
We don't put the data generating kernel into this structure, since we will often perform operations
on it and we don't want to duplicate all kernel operations on estimationProblem
.
- y : Θ → 𝒴
The objective function.
- y_meas : Measurable self.y
The cost (or loss) function.
- ℓ_meas : Measurable self.ℓ
Instances For
Given an estimation problem E
and a measurable function f : Θ' → Θ
, we can consider a new
estimation problem where the kernel is given by the pullback of E.P
through f
.
Instances For
The risk of an estimator κ
on an estimation problem E
with data generating kernel P
at the parameter θ
.
Equations
- ProbabilityTheory.risk E P κ θ = ∫⁻ (z : 𝒵), E.ℓ (E.y θ, z) ∂(κ.comp P) θ
Instances For
The bayesian risk of an estimator κ
on an estimation problem E
with data generating
kernel P
with respect to a prior π
.
Equations
- ProbabilityTheory.bayesianRisk E P κ π = ∫⁻ (θ : Θ), ProbabilityTheory.risk E P κ θ ∂π
Instances For
The Bayes risk of an estimation problem E
with respect to a prior π
, defined as the infimum
of the Bayesian risks of all estimators.
Equations
- ProbabilityTheory.bayesRiskPrior E P π = ⨅ (κ : ProbabilityTheory.Kernel 𝒳 𝒵), ⨅ (_ : ProbabilityTheory.IsMarkovKernel κ), ProbabilityTheory.bayesianRisk E P κ π
Instances For
Data processing inequality for the Bayes risk with respect to a prior.
An estimator is a Bayes estimator for a prior π
if it attains the Bayes risk for π
.
Equations
- ProbabilityTheory.IsBayesEstimator E P κ π = (ProbabilityTheory.bayesianRisk E P κ π = ProbabilityTheory.bayesRiskPrior E P π)
Instances For
The Bayes risk of an estimation problem E
, defined as the supremum over priors of the Bayes
risk of E
with respect to the prior.
Equations
- ProbabilityTheory.bayesRisk E P = ⨆ (π : MeasureTheory.Measure Θ), ⨆ (_ : MeasureTheory.IsProbabilityMeasure π), ProbabilityTheory.bayesRiskPrior E P π
Instances For
The Bayes risk of an estimation problem E
, defined as the infimum over estimators of the
maximal risk of the estimator.
Equations
- ProbabilityTheory.minimaxRisk E P = ⨅ (κ : ProbabilityTheory.Kernel 𝒳 𝒵), ⨅ (_ : ProbabilityTheory.IsMarkovKernel κ), ⨆ (θ : Θ), ProbabilityTheory.risk E P κ θ
Instances For
Properties of the Bayes risk of a prior #
The Bayesian risk of an estimator κ
with respect to a prior π
can be expressed as
an integral in the following way: R_π(κ) = ((P†π × κ) ∘ P ∘ π)[(θ, z) ↦ ℓ(y(θ), z)]
.
Generalized Bayes estimator #
We say that a measurable function f : 𝒳 → 𝒵
is a Generalized Bayes estimator for the
estimation problem E
with respect to the prior π
if for (P ∘ₘ π)
-almost every x
it is of
the form x ↦ argmin_z P†π(x)[θ ↦ ℓ(y(θ), z)]
.
- measurable : Measurable f
- property : ∀ᵐ (x : 𝒳) ∂π.bind ⇑P, ∫⁻ (θ : Θ), E.ℓ (E.y θ, f x) ∂(ProbabilityTheory.bayesInv P π) x = ⨅ (z : 𝒵), ∫⁻ (θ : Θ), E.ℓ (E.y θ, z) ∂(ProbabilityTheory.bayesInv P π) x
Instances For
Given a Generalized Bayes estimator f
, we can define a deterministic kernel.
Equations
- h.Kernel = ProbabilityTheory.Kernel.deterministic f ⋯
Instances For
The estimation problem E
admits a Generalized Bayes estimator with respect to
the prior π
.
- estimator : 𝒳 → 𝒵
The Generalized Bayes estimator.
- property : ProbabilityTheory.IsGenBayesEstimator E P (ProbabilityTheory.HasGenBayesEstimator.estimator E P π) π
Instances
Bayes risk increase #
The Bayes risk increase of an estimation problem E
with respect to a prior π
and a kernel
η
gives us how much the composition with η
increases the risk of E
with respect to π
.
Equations
- ProbabilityTheory.bayesRiskIncrease E P π η = ProbabilityTheory.bayesRiskPrior E (η.comp P) π - ProbabilityTheory.bayesRiskPrior E P π
Instances For
Data processing inequality for the Bayes risk increase.