Help with setting up a hierarchical GLM model

I highly recommend using pm.model_to_graphviz(model) to visualise the DAG, and perhaps to physically draw out the way how you want it to be then work on the code. It should hopefully ‘click’ at some point and then you’ll find it easy :slight_smile: