Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing the density estimation for ppc_loo_pit_overlay #171

Closed
GustafRydevik opened this issue Nov 2, 2018 · 1 comment · Fixed by #235
Closed

Fixing the density estimation for ppc_loo_pit_overlay #171

GustafRydevik opened this issue Nov 2, 2018 · 1 comment · Fixed by #235

Comments

@GustafRydevik
Copy link

The tendency of the density estimation to go down at the edges can cause confusing graphs, especially for situations where the data set is small. Would it be possible to change this to use a boundary-corrected kernel density estimator, such as kde.boundary in https://cran.r-project.org/web/packages/ks/ or bckden in https://rdrr.io/cran/evmix/man/bckden.html ?

@avehtari
Copy link
Contributor

This has been on our todo list, but not with high priority. If you have tried either of these function you propose, it would be great if you can include an example of how to use them and how the plot would look like for an uniform data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants