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 | 1610 | June 13, 2018 | |
| How can we build a mixture of mixtures? | 27 | 4673 | February 17, 2021 | |
| CustomDist does not work with pm.mixture | 2 | 114 | October 21, 2024 | |
| Error when trying mixture distribution for likelihood | 1 | 381 | October 20, 2022 | |
| Drawing a RV from a multi-variate normal mixture | 2 | 1008 | November 11, 2019 |