I'm trying to run a model which has 3 random effects. Its data on an animal species and the random effects are 'group', 'mother' and 'individual'. Individual should be nested within mother, and then both are crossed within group separately, because both individuals and their mother can move to different groups independent from one another.
- Is it accurate to specify this as:
(1|group:mother/individual) - does this account for the fact that an individual could move to another group, without its mother, or would they always have to be nested together?
N.B. I'm using glmmTMB and also wasn't sure if it recognise the crossed/nested nature of the random effects without specifying them.
Following on from this using a maximal random slopes framework, for 5 different fixed effects, I would like to specify different random slopes for each of the random effects.
Is it possible to specify different random slopes for the different random effects when they are already denoted as crossed or nested?
If I cannot pick different nest/crossed random effects should the different random slopes take priority or the nesting/crossing of the random effects?
Many thanks!