pymc with observations on multiple variables
问题 I'm using an example of linear regression from bayesian methods for hackers but having trouble expanding it to my usage. I have observations on a random variable, an assumed distribution on that random variable, and finally another assumed distribution on that random variable for which I have observations. How I have tried to model it is with intermediate distributions on a and b , but it complains Wrong number of dimensions: expected 0, got 1 with shape (788,). To describe the actual model,