I think the issue is that pm.DensityDist needs an observed value. Look at this discussion:
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to use a DensityDist in a Mixture? | 4 | 1594 | June 13, 2018 | |
| How can we build a mixture of mixtures? | 27 | 4608 | February 17, 2021 | |
| CustomDist does not work with pm.mixture | 2 | 102 | October 21, 2024 | |
| Error when trying mixture distribution for likelihood | 1 | 367 | October 20, 2022 | |
| Drawing a RV from a multi-variate normal mixture | 2 | 995 | November 11, 2019 |