Selected Publications
For the complete list, see
Google Scholar.
ArviZ: a modular and flexible library for exploratory analysis of Bayesian models
Journal of Open Source Software
Abstract
When working with Bayesian models, a range of related tasks must be addressed
beyond inference itself. These include diagnosing the quality of Markov chain
Monte Carlo (MCMC) samples, model criticism, model comparison, etc. We
collectively refer to these activities as exploratory analysis of Bayesian
models. In this work, we present a redesigned version of ArviZ, a Python package
for exploratory analysis of Bayesian models (EABM). The redesign emphasizes
greater user control and modularity. This redesign delivers a more flexible and
efficient toolkit for exploratory analysis of Bayesian models. With its renewed
focus on modularity and usability, ArviZ is well-positioned to remain an
essential tool for Bayesian modelers in both research and applied settings.
Recommendations for visual predictive checks in Bayesian workflow
Journal of Visualization and Interaction
Abstract
A key step in the Bayesian workflow for model building is the graphical
assessment of model predictions, whether these are drawn from the prior or
posterior predictive distribution. The goal of these assessments is to identify
whether the model is a reasonable (and ideally accurate) representation of the
domain knowledge and/or observed data. There are many commonly used visual
predictive checks which can be misleading if their implicit assumptions do not
match the reality. Thus, there is a need for more guidance for selecting,
interpreting, and diagnosing appropriate visualizations. As a visual predictive
check itself can be viewed as a model fit to data, assessing when this model
fails to represent the data is important for drawing well-informed conclusions.
We present recommendations and diagnostic tools to mitigate ad-hoc
decision-making in visual predictive checks. These contributions aim to improve
the robustness and interpretability of Bayesian model criticism practices. We
offer recommendations for appropriate visual predictive checks for observations
that are: continuous, discrete, or a mixture of the two. We also discuss
diagnostics to aid in the selection of visual methods. Specifically, in the
detection of an incorrect assumption of continuously-distributed data:
identifying when data is likely to be discrete or contain discrete components,
detecting and estimating possible bounds in data, and a diagnostic of the
goodness-of-fit to data for density plots made through kernel density estimates.
PyMC: a modern, and comprehensive probabilistic programming framework in Python
PeerJ Computer Science
Abstract
PyMC is a probabilistic programming library for Python that provides tools for
constructing and fitting Bayesian models. It offers an intuitive, readable
syntax that is close to the natural syntax statisticians use to describe models.
PyMC leverages the symbolic computation library PyTensor, allowing it to be
compiled into a variety of computational backends, such as C, JAX, and Numba,
which in turn offer access to different computational architectures including
CPU, GPU, and TPU. Being a general modeling framework, PyMC supports a variety
of models including generalized hierarchical linear regression and
classification, time series, ordinary differential equations (ODEs), and
non-parametric models such as Gaussian processes (GPs). We demonstrate PyMC's
versatility and ease of use with examples spanning a range of common statistical
models. Additionally, we discuss the positive role of PyMC in the development of
the open-source ecosystem for probabilistic programming.
PreliZ: A tool-box for prior elicitation
Journal of Open Source Software
Abstract
In a Bayesian modeling workflow, a prior distribution can be chosen in different
ways as long as it captures the uncertainty about model parameters prior to
observing any data. Particularly, prior elicitation refers to the process of
transforming the knowledge of a particular domain into well-defined probability
distributions. Here we introduce PreliZ, a Python package aimed at helping
practitioners choose prior distributions.
Prior knowledge elicitation: The past, present, and future
Bayesian Analysis
Abstract
Specification of the prior distribution for a Bayesian model is a central part
of the Bayesian workflow for data analysis, but it is often difficult even for
statistical experts. Prior elicitation transforms domain knowledge of various
kinds into well-defined prior distributions, and offers a solution to the prior
specification problem, in principle. In practice, however, we are still fairly
far from having usable prior elicitation tools that could significantly
influence the way we build probabilistic models in academia and industry. We
analyze the state of the art by identifying a range of key aspects of prior
knowledge elicitation. The existing prior elicitation literature is reviewed and
categorized in these terms. This allows recognizing under-studied directions in
prior elicitation research, finally leading to a proposal of several new avenues
to improve prior elicitation methodology.
Bambi: A simple interface for fitting Bayesian linear models in Python
Journal of Statistical Software
Abstract
Bambi (BAyesian Model Building Interface) is an open source Python package that
is built on top of the PyMC probabilistic programming framework and the ArviZ
package for exploratory analysis of Bayesian models. Bambi makes it easy to
specify complex generalized linear hierarchical models using a formula notation
similar to those found in the popular R packages lme4, nlme, rstanarm and brms.
Bayesian additive regression trees for probabilistic programming
arXiv preprint
Abstract
Bayesian additive regression trees (BART) is a non-parametric method to
approximate functions. It is a black-box method based on the sum of many trees
where priors are used to regularize inference, mainly by restricting trees'
learning capacity so that no individual tree is able to explain the data, but
rather the sum of trees. We discuss BART in the context of probabilistic
programming languages (PPLs), specifically we introduce a BART implementation
extending PyMC, a Python library for probabilistic programming. We present a few
examples of models that can be built using this probabilistic
programming-oriented version of BART, discuss recommendations for sample
diagnostics and selection of model hyperparameters, and finally we close with
limitations of the current approach and future extensions.