Binned residual plots with respect to predictors
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 442
- Forks
- 93
- Avg merge
- 3h 11m
- Merged PRs (30d)
- 1
Description
Is it possible to use ppc_error_binned(), or any other bayesplot functions, to make binned residual plots with respect to model predictors? The use case is Gelman et al (2020, Section 14.5.2, "Plotting binned residuals versus inputs of interest"). Vehtari showed how to do so with a custom function he called binned_resids(), here.
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 ppc_error_binned() and the linked Vehtari binned_resids() example, then compare their inputs and output plots with the Gelman et al. Section 14.5.2 use case. Done should mean determining whether bayesplot can support binned residual plots against model predictors and defining the required behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100