stan-dev / example-models

Example models for Stan
http://mc-stan.org/
766 stars 478 forks source link

add Python scripts to BYM12 case study #220

Open mitzimorris opened 10 months ago

mitzimorris commented 10 months ago

in case study knitr/car-iar-poisson there are scripts for fit the BYM2 model using CmdStanR. write a Jupyter notebook (preferably co-lab) that works with CmdStanPy and plotnine and all the spatial libraries you need.

see https://mc-stan.org/users/documentation/case-studies/radon_cmdstanpy_plotnine.html for examples of plotnine. and https://github.com/mitzimorris/ljubljiana_lecture/blob/main/data_prep_spatial_maps.ipynb