Skip to content

AI-generated. An AI assistant drafted this page, and no maintainer has reviewed it yet. Please report errors on the issue tracker.

User guide

The user guide explains ProbPipe one feature at a time, on small examples. Each chapter covers one kind of object or one group of operations, so you can read the chapter you need when you need it. Terms introduces the properties that every object shares, so read it first. The tutorials instead follow one analysis from start to finish, and the API reference documents every public name.

Chapter What it covers
Terms The label and notation, spec, and stored data of every object, immutability, batches, and provenance.
Values and records Arrays, records of named fields, non-numeric values, and pandas and xarray data.
Distributions The parametric families, the operations on a distribution, and distributions built from a sampler or a density.
Joint models and conditional distributions Conditional distributions, merging laws into a model with &, and the fields and marginals of a joint model.
Functions on values and distributions ProbPipe-native functions, calling them on distributions and batches, pushforward, and expectation.
Conditioning and inference methods condition_on, exact conditioning, choosing an inference method, existing PyMC models, and simulation-based inference.
Checking results MCMC diagnostics, predictive checks, model comparison, and simulation-based calibration.
Converting and updating distributions Empirical distributions, convert, resampling, and updating a posterior as data arrive.
How a result was computed Routes, options, reproducible random draws, and provenance.
Ray via Prefect Running ProbPipe functions on Ray workers through Prefect.

Every chapter runs on Google Colab from the badge at its top.