Skip to content

Different results between rstan and BayesianTools SMC for a non-latent-state model #277

@Jefflier

Description

@Jefflier

I am currently comparing results obtained with rstan and BayesianTools for a model that does not involve latent states, and I observe systematic differences between the two when using SMC-based inference. The model is a static parameter model with Gaussian priors (including a multivariate normal block) and a beta-binomial observation likelihood. In the rstan implementation, inference is performed using NUTS, while in BayesianTools the same log-likelihood and log-prior are supplied via createBayesianSetup() and sampled using runSMC(). Despite matching the parameterization, prior specifications, and likelihood structure, posterior summaries from BayesianTools SMC differ noticeably from those obtained with rstan, and the discrepancy persists even when the number of particles is increased. I would like to ask whether such differences are expected for static models, or whether there are default tempering, scaling, or other internal SMC mechanisms in BayesianTools that could lead to a posterior target differing from that of a standard MCMC implementation.

Fig. 1_dengue.tif

fig3.pdf

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions