Provides expert guidance for writing high-performance Stan probabilistic programming models and integrating them with R or Python workflows.
This skill streamlines the development of Bayesian models using the Stan probabilistic programming language. It enforces modern syntax standards introduced in Stan 2.26+, promotes modular code organization through file inclusions, and offers best practices for integrating Stan with R (cmdstanr) and Python (cmdstanpy). From optimizing performance via vectorization to debugging common MCMC issues like divergences and slow mixing, it serves as a comprehensive companion for researchers and data scientists building robust statistical models for Bayesian inference.
Características Principales
01Integration workflows for cmdstanr, including model compilation and caching
02Debugging strategies for MCMC diagnostics, divergences, and sampling issues
03Modular model organization using functions and file inclusions
04Performance optimization through vectorization and efficient matrix operations
055 GitHub stars
06Implementation of modern Stan array syntax and constrained data types
Casos de Uso
01Migrating legacy Stan code to modern, high-performance syntax standards
02Developing and unit testing custom Stan functions within R or Python environments
03Building and scaling Bayesian hierarchical models for statistical analysis