Description

A centered hiearchical model for the 8 schools example of Rubin (1981)

References: Rubin (1981), Gelman et al. (2013)

Pair plot

Diagonal entries show estimates of the marginal densities as well as the (0.16, 0.5, 0.84) quantiles (dotted lines). Off-diagonal entries show estimates of the pairwise densities.

🔍 Full page 🔗 Info

Trace plots

🔍 Full page

Moments

parametersmeanstdmcseess_bulkess_tailrhatess_per_sec
theta.16.31275.523990.05557798844.2216151.31.0missing
theta.25.044074.603270.05117347164.4219397.11.00033missing
theta.34.088585.159550.0603486271.7820578.41.00057missing
theta.44.922914.752390.05436876742.920123.51.00017missing
theta.53.742794.670720.06353214918.0914904.41.00108missing
theta.64.175574.79880.0573316103.0821401.01.00052missing
theta.76.394284.980690.05093478052.8112968.51.00006missing
theta.84.976155.344580.05771517233.7119435.21.0002missing
mu4.533553.290540.05274793910.727611.341.00045missing
tau3.550823.251840.05282251249.41420.2481.00155missing
💾 CSV

Cumulative traces

For each iteration $i$, shows the running average up to $i$, $\frac{1}{i} \sum_{n = 1}^{i} x_n$.

🔍 Full page

Local communication barrier

When the global communication barrier is large, many chains may be required to obtain tempered restarts.

The local communication barrier can be used to visualize the cause of a high global communication barrier. For example, if there is a sharp peak close to a reference constructed from the prior, it may be useful to switch to a variational approximation.

🔍 Full page 🔗 Info

GCB estimation progress

Estimate of the Global Communication Barrier (GCB) as a function of the adaptation round.

The global communication barrier can be used to set the number of chains. The theoretical framework of Syed et al., 2021 yields that under simplifying assumptions, it is optimal to set the number of chains (the argument n_chains in pigeons()) to roughly 2Λ.

Last round estimate: $2.0132277703252046$

🔍 Full page 🔗 Info

Evidence estimation progress

Estimate of the log normalization (computed using the stepping stone estimator) as a function of the adaptation round.

Last round estimate: $-31.902673176202182$

🔍 Full page 🔗 Info

Round trips

Number of tempered restarts as a function of the adaptation round.

A tempered restart happens when a sample from the reference percolates to the target. When the reference supports iid sampling, tempered restarts can enable large jumps in the state space.

🔍 Full page 🔗 Info

Pigeons summary

roundn_scansn_tempered_restartsglobal_barrierglobal_barrier_variationallast_round_max_timelast_round_max_allocationstepping_stone
1207.10543e-15missing0.6226985.12518e70.0
2407.10543e-15missing1.023925.29659e7-7.10543e-15
3801.42109e-14missing0.080594293712.0-4.44089e-15
41648.88178e-15missing0.0277412161616.02.66454e-15
532121.24345e-14missing0.0469754236384.0-2.88658e-15
664281.19904e-14missing0.0941754399296.01.55431e-15
7128601.59872e-14missing0.178204737648.02.22045e-15
82561241.36557e-14missing0.3499411.36354e60.0
95122521.72085e-14missing0.7240252.68014e6-8.88178e-16
1010245081.88738e-14missing1.337525.23155e64.44089e-16
11204810202.4869e-14missing3.303521.05228e7-4.44089e-16
12409620443.03091e-14missing5.524242.06926e7-1.77636e-15
13819240922.38698e-14missing11.05164.1818e7-8.88178e-16
141638481882.93099e-14missing21.90898.25476e7-8.88178e-16
1532768163802.9754e-14missing43.42421.67074e8-8.88178e-16
166553648301.63784missing169.8642.77235e10-31.8896
17131072138892.01323missing295.8084.86734e10-31.9027
💾 CSV🔗 Info

Pigeons inputs

KeysValues
extended_tracesfalse
checked_round0
extractornothing
recordFunction[Pigeons.traces, Pigeons.round_trip, Pigeons.log_sum_ratio, Pigeons.timing_extrema, Pigeons.allocation_extrema]
multithreadedfalse
show_reporttrue
n_chains10
variationalGaussianReference(Dict{Symbol, Any}(), Dict{Symbol, Any}(), 15)
explorernothing
n_chains_variational0
targetStanLogPotential(eight_schools_centered_model)
n_rounds17
exec_folder/scratch/st-alexbou-1/abc/InferHub-infra/work/71/853b653976e339d8840c5c9a2dd7dc/results/all/2024-05-16-14-12-29-F2WpYmxs
referencenothing
checkpointtrue
seed1
💾 CSV🔗 Info