Adding generics of general Bayesian methods
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 171
- Forks
- 26
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 3
Description
We discussed at some point, that we want to have a common place where a lot of the generics should life that packages such as rstanarm, brms, etc. use. Right now, a lot of them are in rstantools but I don't think this is a good place for them as the methods are not only relevant from rstan based packages. Some methods are better suited for special packages and as such should life there, for instance, in bayesplot for all plotting related generics and in loo for all cross-validation related procedures.
Please amend this initial comment to add more methods that we may want to put into posterior.
-
posterior_predictcompute predictions and return an arrary of draws -
posterior_linpredcompute linear predictor values and return an arrary of draws -
posterior_epredcompute means of the posterior predictive distribution and return an array of draws (see https://github.com/paul-buerkner/brms/issues/644) -
predictive_errorcomputed differences between observed and predicted responses and return an array of draws -
posterior_intervalbasically summarise_draws with just two quantiles -
predictive_intervalbasically summarise_draws with just two quantiles after callingposterior_predict
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the proposed generics and the existing implementations in rstantools, then compare which methods belong in posterior versus bayesplot or loo. Done means reaching agreement on the common generic set and its package ownership.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- analytics
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100