Thank you for the insight into the problem. I realize that it is an MCMC problem instead of a Bayesian inference one because of the lack of a data-generating model. However, is there any way for me to just replicate the same politician problem by using the pymc3 library? I am sorry if this sounds a bit childish but I am still very new to all this and can’t figure out how to map the functions given in this solution to pymc3 functionalities.