Trace plots Hierarchical Models

It is difficult to guess without seeing any model code not the complete error message, but here are some ideas:

  • issues retrieving the log likelihood. see DE-Metropolis with blackbox likelihood does not terminate
  • issues with densitydist and multiple observations: see Blackbox likelihood example doesn't work
  • version issues: if mixing pip and conda, it could be that even when a newer version is installed, python is actually importing the old version anyways. check pm.__version__ and az.__version__ within the same code the model is executed
  • issues with coordinates: it could be if using dims and coords that a the length of the array of coordinate values for a given dim does not match the size of the dimension. The error should not mention theano in this case but who knows :man_shrugging:
  • something else entirely: I don’t think we will be able to help any further than this without the code or a reduced version of it reproducing the same issue
1 Like