This approach is perhaps more complex than it needs to be. See this thread for another example which has implemented discounting models Replacing nested for loops from JAGS code for cognitive model of temporal discounting - #6 by drbenvincent
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Replacing nested for loops from JAGS code for cognitive model of temporal discounting | 17 | 1552 | February 18, 2021 | |
| How to implement Beta Function effectively in Pymc3 | 8 | 2023 | November 3, 2021 | |
| Defining a numeric (custom) likelihood function in PyMC3 | 2 | 3076 | August 25, 2018 | |
| Perform time-dependant model calibration | 4 | 804 | July 21, 2019 | |
| Re-coding a partial pooling from pymc to pymc3 | 1 | 479 | November 2, 2018 |