posterior
Tools for working with posterior draws and computing convergence diagnostics
posterior keeps deepening two things: the rvar type and Pareto-based diagnostics.
◆Recent moves
- 2mo ago
posterior 1.7.1 released for JOSS paper
A minor release cut to accommodate the JOSS paper. No functional change, but it marks the package formalising its role as citable infrastructure.
View source ↗ - 3mo ago
posterior 1.7.0 exports generalized-Pareto functions
Exports generalized-Pareto functions explicitly for other packages to use and adds Pareto PIT via `pareto_pit`. The clearest statement in the window that posterior is building for downstream consumers.
View source ↗ - 10mo ago
posterior 1.6.1 adds pit() for draws and rvars
Implements `pit()` for draws and rvar objects, enabling LOO-PIT via weights, and converts lists of matrices into `draws_array`. Extends the diagnostic surface that 1.7.0 then exports.
View source ↗ - 1y ago
posterior 1.6.0 adds Pareto diagnostics and ESS-based thinning
The densest release in the window: individual Pareto diagnostic functions, ESS-based automatic thinning, base `%*%` for rvars, indexed variable names, and `extract_variable_array()`. Both of the package's long-running threads advance at once.
View source ↗ - 2y ago
posterior 1.5.0 adds nested-Rhat and rvar indexing
Adds nested-Rhat and lets rvars be indexed by other rvars, plus `rvar_ifelse()`. Makes rvar behave more like a native R type rather than a container you unpack.
View source ↗ - 3y ago
posterior 1.4.0 adds factor and ordered rvar subtypes
Introduces `rvar_factor()` and `rvar_ordered()` so discrete posteriors are first-class, with `modal_category()`, `entropy()` and `dissent()` to summarise them. The rvar type stops being numeric-only here.
View source ↗