Given the recent blog post about the bridgesampling R package I wanted to try it on some rstanarm stanreg objects. However, at least for a poisson glm fit, not all information that bridgesampling needs is retained, i.e.:
> bridge_sampler(mvr_stan_poisson1$stanfit) Error in object@.MISC$stan_fit_instance$unconstrain_pars(pars) : variable gamma missing
Is there some way to get around this or can I only use this with “manually” written Stan models?