bob-carpenter / stan-getting-started

A quarto notebook introducing Stan in Python (and maybe R).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started with Bayesian statistics using Stan and Python

Rendered Version:

This repo contains the source text, code, and data files for an introduction to

  • Bayesian statistics and probability theory,

  • the Stan probabilistic programming language,

  • the CmdStanPy interface to Stan, with

  • the Python libraries numpy, pandas, and plotnine.

Building the case study

HTML format

From the command line interface, you can change directory to the top-level directory of the repository and invoke make:

$ cd <stan-getting-started>
$ make

will run the quarto build process and produce an html document in the file quarto/stan-getting-started.html.

To run the same thing manually, you can do this

$ quarto render quarto/stan-getting-started.qmd --to html 

PDF format

To produce the pdf, you can first change to the top-levle directory, then run make:

$ cd <stan-getting-started>
$ make quarto/stan-getting-started.pdf

To run the same thing manually, you can do this

$ quarto render quarto/stan-getting-started.qmd --to pdf

About

A quarto notebook introducing Stan in Python (and maybe R).

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:TeX 62.0%Language:Stan 24.0%Language:Lua 8.8%Language:CSS 3.5%Language:Makefile 1.4%Language:SCSS 0.3%