About
This skill provides expert guidance for performing Bayesian inference and probabilistic programming using RStan or PyStan. It covers the entire modeling lifecycle, from environment setup and mathematical prior translation to complex sampling configurations and critical diagnostic checks. By following established best practices for R-hat, effective sample size, and divergent transitions, users can ensure their posterior distributions are valid and their hierarchical models are correctly specified for reliable statistical analysis.