See the example in the thread Testing user defined probability function implementations in Stan generated quantities
avehtari
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Testing user defined probability function implementations in Stan generated quantities | 3 | 751 | August 23, 2023 | |
| How can I build a log-likelihood function with integration in Stan? | 2 | 439 | June 4, 2020 | |
| How to implement custom family with `integrate_1d` | 12 | 377 | November 13, 2024 | |
| How much precission is required for custom p.d.f. to integrate to one in Stan? | 1 | 338 | July 29, 2021 | |
| User defined probability function involving an integral | 2 | 442 | May 23, 2019 |