pymcEasy Examples

Bayesian modeling with MCMC/NUTS sampling for posterior inference

Getting started with pymc

Installation and basic usage of pymc.

python
# Install: pip install pymc
import pymc

# Basic pymc usage
print(f"Using pymc")
# See documentation for detailed examples
Expected Output
# Expected output shown below
# (Run locally with: pymc)

pymc is a third-party package. Bayesian modeling with MCMC/NUTS sampling for posterior inference. Install with: pip install pymc

Common pymc operations

Frequently used features of pymc.

python
# Install: pip install pymc
import pymc

# Common pymc patterns
print(f"pymc version: {pymc.__version__}")

These are the most commonly used features of pymc in everyday development.

Want to try these examples interactively?

Open Easy Playground