Stan Fundamentals
When to Use This Skill
- Writing new Stan models from scratch
- Understanding Stan program structure
- Learning Stan syntax and conventions
- Translating models from other languages to Stan
- Optimizing existing Stan code
Program Structure
Stan models have up to 7 blocks in this exact order:
functions { } // User-defined functions
data { } // Input data declarations
transformed data { } // Data preprocessing
parameters { }
[Description truncada. Veja o README completo no GitHub.]