Dot product of a slice of a 3-dimensional prior and data - Multi-Output-Linear-Regression

Thanks for the quick help! I’m assuming that I would have to follow a similar approach when I’m building a hierarchical version of the model and having multiple group columns.