posterior icon indicating copy to clipboard operation
posterior copied to clipboard

The posterior R package

Results 91 posterior issues
Sort by recently updated
recently updated
newest added

Currently `weight_draws(x, weights, ...)` requires `weights` to be a numeric vector. Would it be possible to have a piping version so that when the draws object already has a variable...

feature

Thank you so much for this fantastic package, especially the rvars data type which I really enjoy using. I've recently run into a situation where I would like to save...

It could be a useful feature to have an mcse for the minimum & maximum of a posterior distribution. This is not trivial as it requires a definition of what...

While the current `rvar` notation of mean ± sd is straightforward, I think it might be beneficial to offer alternative notations. I've found the mean(sd) style to be quite popular...

feature

For some diagnostics, such as pareto-k diagnostics, we may want to calculate the relative efficiency (r_eff). The `loo` package has an implementation of this `loo::relative_eff`. The documentation states that it...

feature

I noticed that subsetting the variables of a `draws` object will drop weights: ``` r # Based on the "Examples" section in `?posterior::weight_draws`: suppressPackageStartupMessages(library(posterior)) x variable #> draw mu tau...

feature

Currently the diagnostic functions `rhat`, `ess_tail` and `ess_bulk` are intended to be used on a single variable matrix or rvar, e.g. as part of `summarise_draws`. However, they can be applied...

feature

Currently, we have one `rhat` value as default (worst case of `rhat_bulk` and `rhat_tail`) but always two ESS values, `ess_bulk` and `ess_tail`, without a single `ess` generic. Could it make...

feature
interface

At some point we could speed up broadcast_and_bind_rvars() by allowing it to operate on lists of rvars instead of pairs. See the TODO in that function. _See comment by @paul-buerkner...

efficiency

There have been several small features included since the last CRAN release, including: - `thin_draws` now does automatic thinning - `subset_draws` has `exclude` option (currently if a user uses `exclude...