I’m using a GLM to model some treatment effects, in the simplest form it looks like this:
mu = 1 + treatment:individual
however my subjects are categorized in groups, I want to build a hierarchy, so that the individuals within the group pool the data across each other, but not between the groups. I tried this:
mu = 1 + treatment:individual|group
but it does not work as expected.