As mentioned in a previous thread this may be due to an overflow somewhere. Try to go down the hierarchy with some dummy values to see the scale of the values of the variables as you go deeper.
rlouf
3
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Sampling error when using complex tensor function as distribution parameter | 3 | 488 | September 11, 2018 | |
| Model diagnostics for "Mass matrix contains zeros on the diagonal" | 13 | 15188 | May 22, 2022 | |
| ValueError: Mass matrix contains zeros on the diagonal | 1 | 2236 | March 16, 2020 | |
| Model with conditional parameters causing mass matrix to contain zeros on diagonal | 4 | 899 | January 7, 2020 | |
| "ValueError: Mass matrix contains zeros on the diagonal" error, how to debug? | 7 | 1659 | March 7, 2020 |