I wrote a 2-part blog post about custom likelihood functions using DensityDist in PyMC3. I’m drawing from real examples I had to work on as I learned how to use DensityDist. I thought some beginning users might be interested.
Custom likelihood functions in PyMC3 – Part 1
Custom likelihood functions in PyMC3 – Part 2