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

PPC plot for categorical outcomes #308

Open
nsiccha opened this issue Dec 13, 2023 · 2 comments
Open

PPC plot for categorical outcomes #308

nsiccha opened this issue Dec 13, 2023 · 2 comments
Labels

Comments

@nsiccha
Copy link

nsiccha commented Dec 13, 2023

@n-kall asked me to create an issue concerning the default PPC plot for categorical outcomes, which is less than ideal.

Maybe it would be nice to be able to generate plots such as the below? The plot below is based on a categorical regression model fit to the Palmers penguins dataset. Instead of showing kdeplots or histograms for the outcomes based on the posterior draws, it shows kdeplots of specific covariates, grouped according to the outcome data/predictions, i.e. in the below plot each facet represents one covariate, while each color represents one species of penguins.

18365384882810213585

@jgabry
Copy link
Member

jgabry commented Jan 17, 2024

Sorry for the slow reply. I like these plots! Would you (or anyone else) be interested in submitting a pull request for this?

@nsiccha
Copy link
Author

nsiccha commented Jan 19, 2024

I never use bayesplot, ggplot or even R, but I can have a look some time in Feb or March. Unless Noa wants to implement it :)

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

No branches or pull requests

3 participants