stan-dev / stan-dev/stan-dev.github.io

Update case studies to use new language syntax

Open
#189 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
23
Forks
41
Avg merge
11h 42m
Merged PRs (30d)
2

Description

With Stan 2.33+ several old language syntax features produce errors. All the case studies would be good to update to use the latest syntax. Many case studies are in external repos and the authors have submitted only the rendered html and short md-part for the case study contents page. Only the html needs to be updated in users/documentation/case-studies/.

It would be good o contact the original authors and ask them if they are willing to update their repos and submit a new html. If the authors disagree or don't respond, we may consider updating just the syntax on html.

To start the process, I'm listing here all the case studies, and we can start tracking which have been fixed. Tagging also some authors that were easily found by github id autocomplete @mitzimorris, @WardBrian, @bob-carpenter, @charlesm93, @bbbales2, @imadmali


  • Bayesian Structural Equation Modeling using blavaan: Feng Ji, Xingyao Xiao, Aybolek Amanmyradova, Sophia Rabe-Hesketh
  • Multilevel regression modeling with CmdStanPy and plotnine: Mitzi Morris
  • HoloML in Stan: Low-photon Image Reconstruction: Brian Ward, Bob Carpenter, and David Barmherzig
  • Bayesian Latent Class Models and Handling of Label Switching: Feng Ji, Aybolek Amanmyradova, Sophia Rabe-Hesketh
  • Bayesian model of planetary motion: exploring ideas for a modeling workflow: Charles Margossian and Andrew Gelman
  • HMM Interface Example: Ben Bales
  • Spatial models for plant neighborhood dynamics in Stan: Cristina Barber, Andrii Zaiats, Cara Applestein and T.Trevor Caughlin
  • Predicting Engine Failure with Hierarchical Gaussian Process: Hyunji Moon, Jungin Choi
  • Upgrading to the new ODE interface: Ben Bales, Sebastian Weber
  • Bayesian Workflow for disease transmission modeling in Stan: Leo Grinsztajn, Elizaveta Semenova, Charles C. Margossian, and Julien Riou
  • Reduce Sum Example: parallelization of a single chain across multiple cores: Ben Bales
  • Stan Notebooks in the Cloud: Mitzi Morris
  • Model-based Inference for Causal Effects in Completely Randomized Experimen: JoonHo Lee, Avi Feller and Sophia Rabe-Hesketh
  • Tagging Basketball Events with HMM in Stan: Imad Ali
  • Model building and expansion for golf putting: Andrew Gelman
  • A Dyadic Item Response Theory Model: Stan Case Study: Nicholas Sim, Brian Gin, Anders Skrondal and Sophia Rabe-Hesketh (note: source link points to fork of example-models)
  • Multilevel Linear Models using Rstanarm: JoonHo Lee, Nicholas Sim, Feng Ji, and Sophia Rabe-Hesketh
  • Predator-Prey Population Dynamics: the Lotka-Volterra model in Stan: Bob Carpenter
  • Nearest neighbor Gaussian process (NNGP) models in Stan: Lu Zhang
  • Extreme value analysis and user defined probability functions in Stan: Aki Vehtari
  • Modelling Loss Curves in Insurance with RStan: Mick Cooney
  • Splines in Stan: Milad Kharratzadeh
  • Spatial Models in Stan: Intrinsic Auto-Regressive Models for Areal Data: Mitzi Morris
  • The QR Decomposition for Regression Models: Michael Betancourt
  • Robust RStan Workflow: Michael Betancourt
  • Robust PyStan Workflow: Michael Betancourt (also uses PyStan 2 which is no longer supported)
  • Typical Sets and the Curse of Dimensionality: Bob Carpenter
  • Diagnosing Biased Inference with Divergences: Michael Betancourt
  • Identifying Bayesian Mixture Models: Michael Betancourt
  • How the Shape of a Weakly Informative Prior Affects Inferences: Michael Betancourt
  • Exact Sparse CAR Models in Stan: Max Joseph
  • A Primer on Bayesian Multilevel Modeling using PyStan: Chris Fonnesbeck (also: rendered HTML was deleted?)
  • The Impact of Reparameterization on Point Estimates: Bob Carpenter
  • Hierarchical Two-Parameter Logistic Item Response Model: Daniel C. Furr
  • Rating Scale and Generalized Rating Scale Models with Latent Regression: Daniel C. Furr
  • Partial Credit and Generalized Partial Credit Models with Latent Regression: Daniel C. Furr
  • Rasch and Two-Parameter Logistic Item Response Models with Latent Regression: Daniel C. Furr
  • Two-Parameter Logistic Item Response Model: Daniel C. Furr, Seung Yeon Lee, Joon-Ho Lee, and Sophia Rabe-Hesketh
  • Cognitive Diagnosis Model: DINA model with independent attributes: Seung Yeon Lee
  • Pooling with Hierarchical Models for Repeated Binary Trials: Bob Carpenter
  • Multiple Species-Site Occupancy Model: Bob Carpenter
  • Soil Carbon Modeling with RStan: Bob Carpenter

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the unchecked case studies under users/documentation/case-studies/ and identify which rendered HTML pages contain syntax errors under Stan 2.33+. Check the listed author and repository information before deciding whether to request updated HTML or make the syntax changes locally. Done means the affected case studies are updated and the checklist reflects their status.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.