Skip to content

Code for the Bayesian Synthetic Likelihood paper by Price et al 2016 to appear in JCGS

Notifications You must be signed in to change notification settings

LeahPrice/Bayesian-Synthetic-Likelihood

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bayesian-Synthetic-Likelihood

Approximate Bayesian computation (ABC) is a simulation-based method to approximate the posterior distribution in Bayesian inference where the likelihood function for a statistical model is difficult to compute in some way. Likelihood evaluations are avoided by generating simulations from the model for many proposed parameter values and keeping those that generate simulated data 'close' to the observed data in some sense. The distance measure is usually based on comparing some summarisation of the data. However, in order to lose not too much information, it might be necessary to use a high-dimensional summary statistic. Standard ABC methods are known not to scale efficiently with the dimension of the summary statistic.

Synthetic likelihood is an alternative simulation-based approach that assumes that the model summary statistic follows a multivariate normal distribution with mean and covariance matrix that can depend on the parameter. In the paper published in the Journal of Computational and Graphical Statistics, we consider the synthetic likelihood within a Bayesian framework, which we refer to as BSL. In short, we find the following:

  • The BSL approximation does not seem to depend much on its tuning parameter, the number of simulations, n, to perform to estimate the mean and covariance matrix per proposed parameter value.
  • We use an unbiased estimator of the multivariate normal density from the literature to construct a BSL algorithm that is theoretically unaffected by n when the model summary statistic does indeed have a multivariate normal distribution.
  • BSL becomes increasingly more computationally efficient than ABC with an increase in the dimension of the summmary statistic.
  • BSL can be a useful approach in interesting applications despite the multivariate normal assumption. However, strong departures away from normality can lead to approximations of very poor quality.

In the paper we consider four examples. Computer code is provided here for all examples, with one example per folder. A README file is provided in each folder containing instructions pertaining to each of the examples.

About

Code for the Bayesian Synthetic Likelihood paper by Price et al 2016 to appear in JCGS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • MATLAB 87.7%
  • C 12.3%