Alphabeta Math
Pipeline-generated
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

Posterior Prediction, Credible Sets, and Bayes Actions — Examples

1 · Prerequisites

2 · Summary

These examples calculate a posterior-predictive variance, show how asymmetric loss changes an optimal action, and exhibit nonunique medians. A continuous density mode does not distinguish point actions under exact zero–one loss. A central 95% posterior interval can have zero frequentist coverage at a fixed parameter.

3 · Logical flowchart

4 · Definitions, theorems and proofs

None yet.

5 · Examples, counterexamples and false statements

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Posterior prediction adds parameter uncertainty to future sampling variation

Example

Let the posterior put mass 1/2 on each of θ=0 and θ=1, and let the future kernel be Qθ=Bernoulli⁡(θ). The posterior-predictive law is Bernoulli with parameter 1/2.

Facts & Assumptions

Given: Π({0})=Π({1})=1/2 and, conditionally on θ∈{0,1}, the future observation has law Bernoulli⁡(θ).

[F1]

The posterior-predictive law averages future kernels over the posterior. Posterior-predictive probability kernel

[F2]

Its finite mean and variance decompose into averaged conditional moments and the posterior variance of the conditional mean. Posterior-predictive mean and variance decomposition

Verification

Given: The hypotheses in the Example and Facts & Assumptions.

1.1givenF1algebra

By [F1], Qpred({1})=12Q0({1})+12Q1({1})=12(0)+12(1)=12. Since its support is {0,1}, this is Bernoulli⁡(1/2), with mean 1/2 and variance 1/4.

1.2givenalgebra

The conditional means are μ(0)=0 and μ(1)=1, and both conditional variances are zero. Thus EΠ[Var⁡(Z∣θ)]=0 and Var⁡Π(μ)=1/4.

2.1F2step 1.1step 1.2∎

The predictive variance in step 1.1 equals the sum of those two terms in step 1.2, as asserted by [F2]. Here the entire predictive variance comes from posterior uncertainty about θ, while future sampling conditional on θ contributes zero.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Asymmetric loss can change the posterior-optimal action

Example

Let Θ=A={0,1} and let Π({1})=0.7. Under zero–one loss the maximal-mass action is 1. Under the asymmetric loss with false-positive cost 3 and false-negative cost 1, the unique Bayes action is instead 0.

Facts & Assumptions

Given: The posterior masses are Π({1})=0.7 and Π({0})=0.3; the actions are 0,1; false-positive loss is L(0,1)=3, false-negative loss is L(1,0)=1, and correct classifications have loss zero.

[F1]

Posterior risk is the posterior integral of the loss when finite. Finite posterior risk and Bayes action rule

[F2]

Under finite-class zero–one loss, a maximal-posterior-mass class minimizes posterior risk. A maximal-mass action is Bayes under finite-class zero–one loss

Verification

Given: The hypotheses in the Example and Facts & Assumptions.

1.1givenF1F2algebra

Under zero–one loss, the risks are 1−Π({0})=0.7 for action 0 and 1−Π({1})=0.3 for action 1. Thus action 1 is the unique zero–one Bayes action, in agreement with [F2].

1.2givenF1algebra

Under the asymmetric loss, the risk of action 1 is 3Π({0})=0.9, while the risk of action 0 is Π({1})=0.7. Both risks are finite and the lower one is attained uniquely by action 0.

2.1step 1.1step 1.2algebra∎

The two loss functions therefore select different actions under the same posterior: zero–one loss selects 1, while the stated asymmetric loss selects 0. This demonstrates that posterior modes alone do not determine a Bayes action without a specified loss.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A posterior median need not be unique

Example

Let Π=12δ0+12δ1. Every m∈[0,1] is a posterior median and has the same absolute posterior risk, 1/2.

Facts & Assumptions

Given: Π({0})=Π({1})=1/2 and there is no other posterior mass.

[F1]

A posterior median has at least half the mass on each closed side. Posterior median

[F2]

Every posterior median minimizes absolute posterior risk when the first absolute moment is finite. Every posterior median minimizes absolute risk when the first absolute moment is finite

Verification

Given: The hypotheses in the Example and Facts & Assumptions.

1.1givenF1

For m∈[0,1], Π((−∞,m])≥1/2 and Π([m,∞))≥1/2, so [F1] makes every such m a median.

2.1givenF2algebra∎

For m∈[0,1], ρ(m)=12∣m∣+12∣1−m∣=12. For a<0, ρ(a)=12(−a)+12(1−a)=12−a>12; for a>1, ρ(a)=12a+12(a−1)=a−12>12. Thus precisely the interval [0,1] minimizes risk, in agreement with [F2].

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

A continuous density mode need not distinguish exact zero–one actions

Example

Let the posterior density on (0,1) be p(θ)=6θ(1−θ), the Beta⁡(2,2) density. Here a density mode means a maximizer of this displayed density. It has a unique density mode at θ=1/2, but under exact zero–one loss every point action has posterior risk one.

Facts & Assumptions

Given: Π has Lebesgue density 6θ(1−θ) on (0,1); actions are points a∈(0,1); the loss is L(θ,a)=1{θ≠a}.

[F1]

Posterior risk is the posterior integral of the loss when finite. Finite posterior risk and Bayes action rule

Verification

Given: The hypotheses in the Example and Facts & Assumptions.

1.1givenalgebra

The density is normalized because ∫016θ(1−θ)dθ=6(1/2−1/3)=1. Also θ(1−θ)=1/4−(θ−1/2)2, so the density has its unique maximum at 1/2.

2.1givenF1algebra∎

Absolute continuity gives Π({a})=0 for every point action a. Hence ρ(a)=∫1{θ≠a}Π(dθ)=1−Π({a})=1 for every a. All actions tie under this loss, even though the density has a unique mode.

ExampleConstruction: AI-generatedVerification: AI-generatedjudge pass (gpt-6-luna)Open item page →

Posterior credibility does not ensure nominal frequentist coverage

Example

Take a uniform prior on θ∈(0,1) and one Bernoulli observation Y∼Bernoulli⁡(θ). The equal-tailed central 95% posterior interval has posterior mass 0.95 after either possible observation, but its frequentist coverage at θ=0.005 is zero.

Facts & Assumptions

Given: The prior density is 1 on (0,1), the sampling probabilities are Pθ(Y=1)=θ and Pθ(Y=0)=1−θ, and a frequentist coverage probability at fixed θ is Pθ{θ∈C(Y)}.

[F1]

A posterior credible set has posterior probability at least its stated level. Posterior credible set

[F2]

The equal-tailed quantile interval has posterior probability at least 1−α. Equal-tailed posterior quantile intervals are credible

Verification

Given: The hypotheses in the Example and Facts & Assumptions.

1.1givenalgebra

The joint density/mass is 1⋅θ at Y=1 and 1⋅(1−θ) at Y=0. Its marginal masses are ∫01θdθ=1/2 and ∫01(1−θ)dθ=1/2. Therefore the posterior densities are p(θ∣Y=1)=2θ and p(θ∣Y=0)=2(1−θ); each conditional law integrates to one and satisfies the defining conditioning identity.

1.2givenF1F2algebra

Their CDFs on [0,1] are F1(x)=x2 and F0(x)=1−(1−x)2. Hence the central 95% intervals are C(1)=[0.025,0.975] and C(0)=[1−0.975,1−0.025]. Each has posterior mass 0.975−0.025=0.95, also in accordance with [F1, F2].

2.1givenstep 1.2algebra∎

For fixed true θ0=0.005, 0.025>0.005 because 0.025>0.0052. Also 1−0.975>0.005 because 0.975<0.9952. Thus θ0 lies below the lower endpoint of both possible intervals, so Pθ0{θ0∈C(Y)}=0, not 0.95. This verifies that posterior credibility is not a frequentist coverage guarantee.

Sources