Home

Awesome

Inverse Binomial Sampling (IBS) developer repository

This is the working repository for the article Unbiased and efficient log-likelihood estimation with inverse binomial sampling [1]. The MATLAB and Python scripts in this repository allow to reproduce all the results and figures reported in the paper (see below).

If you are interested in using IBS, please find user-friendly and fast implementations and tutorials here: https://github.com/lacerbi/ibs

Code

To visualize the results and reproduce the figures in the paper:

All the analyses were run in Matlab (see code in ./matlab folder). In particular, to run the analyses call:

> recover_theta(model,method,proc_id,Ns);

where:

To rerun the analyses:

Reference

  1. van Opheusden*, B., Acerbi*, L. & Ma, W.J. (2020). Unbiased and efficient log-likelihood estimation with inverse binomial sampling. PLoS Computational Biology 16(12): e1008483. (* equal contribution) (link)

License

The IBS-related code in this repository (but not necessarily other toolboxes) is released under the terms of the MIT License.