Baysian hirerchical Linear Regression(Partial Pooling) model using PYMC

Here’s a tutorial on data containers. It’s slightly out of date - there is no longer any pm.MutableData and pm.ConstantData, just pm.Data (ditto mutable_coords, there’s just coords now). Otherwise it should be helpful to you.