In case it might be helpful, here’s an answer I wrote a while back that extracts prior and posterior draws and plots them on the same graph.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Some Bayesplot/ggplot2 questions relating to plotting priors and posteriors in same panel | 5 | 1980 | February 1, 2022 | |
Overlaying prior curves to multiple posteriors within the same plot | 9 | 973 | June 25, 2023 | |
Posterior_vs_prior function for stanfit object | 3 | 1414 | February 1, 2019 | |
Individual level posterior distribution plots | 5 | 809 | February 14, 2024 | |
How to plot another line plot in the same plot of the density curve obtained using RStan | 3 | 795 | June 12, 2022 |