Hi
I would like to use “ppc_dens_overlay()” to display prior predictive distributions, but it requires the user to add a vector y along with the matrix with draws yrep. Is there a way to run ppc_dens_overlay without having to display y? Or maybe make it invisible? If there is a better alternative to ppc_dens_overlay() I’m also happy to try it
This is the code I’m using right now:
yrep<-as.matrix(ppd,"prior_draws")
y<-data$y
ppc_dens_overlay(y,yrep[1:500,])
and this is the result
I would like to get rid of the thick blue line
Thanks