Add x offset to poisson mixture model?

  1. You should change the pm.Categorical to a continuous variable (e.g., Uniform), it helps convergence.
  2. Mixture model is difficult to sample, have a look at How to improve fit of Poisson Mixture Model in PyMC3?