You can try a break point model (ideally with smooth switch point), for example see: Switch point Metropolis tuning
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Chain 1 failed due to Mass matrix contains zeros on the diagonal | 3 | 878 | February 1, 2022 | |
| Getting Mass matrix contains zeros on the diagonal | 2 | 624 | May 2, 2021 | |
| Model diagnostics for "Mass matrix contains zeros on the diagonal" | 13 | 15188 | May 22, 2022 | |
| Getting "mass matrix contains zero on the diagonal" when trying to fit a piecewise linear model | 2 | 3278 | October 2, 2018 | |
| ValueError: Mass matrix contains zeros on the diagonal. The derivative of RV `@@@`.ravel()[0] is zero | 0 | 607 | September 13, 2022 |