Skip to content
Projects

dustinstansbury/statistical-rethinking-2023

View on GitHub

About

Python implementation of Richard McElreath's Statistical Rethinking 2023 lecture series on causal inference & Bayesian estimation.

Science & Engineering

How these counts are measured

Measured star growth

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

Statistical Rethinking 2023 in Python

Python/PyMC 5 implementations of Richard McElreath's outstanding lecture series Statistical Rethinking 2023.

Setup

All notebooks were developed on a Mac laptop with M1 Pro ARM64 chipset. The python environment is managed using miniconda. If you are on a similar hardware setup, you can initialize the environment via the standard conda workflow:

$ conda env create -f statistical-rethinking-2023.yml
$ conda activate statistical-rethinking-2023

Otherwise, the Python version and standard packages that are imported in the notebooks via the init_notebook.py script are as follows:

Watermark:
----------
Python implementation: CPython
Python version       : 3.10.12
IPython version      : 8.15.0

Compiler    : Clang 15.0.7 
OS          : Darwin
Release     : 22.2.0
Machine     : arm64
Processor   : arm
CPU cores   : 10
Architecture: 64bit

statsmodels: 0.14.0
numpy      : 1.24.4
arviz      : 0.16.1
scipy      : 1.11.2
pymc       : 5.8.0
pandas     : 2.1.0
xarray     : 2023.8.0
matplotlib : 3.7.2

Explore related projects

Loading…