perms: Marginal likelihood estimation for binary Bayesian nonparametric models in Python and R

09/04/2023
by   Dennis Christensen, et al.
0

Binary responses arise in a multitude of statistical problems, including binary classification, bioassay, current status data problems and sensitivity estimation. There has been an interest in such problems in the Bayesian nonparametrics community since the early 1970s, but inference given binary data is intractable for a wide range of modern simulation-based models, even when employing MCMC methods. Recently, Christensen (2023) introduced a novel simulation technique based on counting permutations, which can estimate both posterior distributions and marginal likelihoods for any model from which a random sample can be generated. However, the accompanying implementation of this technique struggles when the sample size is too large (n > 250). Here we present perms, a new implementation of said technique which is substantially faster and able to handle larger data problems than the original implementation. It is available both as an R package and a Python library. The basic usage of perms is illustrated via two simple examples: a tractable toy problem and a bioassay problem. A more complex example involving changepoint analysis is also considered. We also cover the details of the implementation and illustrate the computational speed gain of perms via a simple simulation study.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/13/2022

Using the bayesmeta R package for Bayesian random-effects meta-regression

BACKGROUND: Random-effects meta-analysis within a hierarchical normal mo...
research
10/17/2022

On the Tightness of the Laplace Approximation for Statistical Inference

Laplace's method is used to approximate intractable integrals in a wide ...
research
05/15/2002

A (non)static 0-order statistical model and its implementation for compressing virtually uncompressible data

We give an implementation of a statistical model, which can be successfu...
research
02/21/2020

cutpointr: Improved Estimation and Validation of Optimal Cutpoints in R

'Optimal cutpoints' for binary classification tasks are often establishe...
research
08/08/2021

Nonparametric Estimation of the Random Coefficients Model in Python

We present PyRMLE, a Python module that implements Regularized Maximum L...
research
11/27/2020

Simulation-efficient marginal posterior estimation with swyft: stop wasting your precious time

We present algorithms (a) for nested neural likelihood-to-evidence ratio...
research
04/15/2021

Bayesian Synthetic Likelihood Estimation for Underreported Non-Stationary Time Series: Covid-19 Incidence in Spain

The problem of dealing with misreported data is very common in a wide ra...

Please sign up or login with your details

Forgot password? Click here to reset