(I am using brms
below but my question is conceptual)
I was unaware of multi-membership models until I read this a couple of days ago and then the relevant brms documentation.
As an ecologist, I wonder if multi-membership terms could be used to account for compositional similarities between different communities, assigning “membership” of a community to each of the species that comprise it. Individual species can have an idiosyncratic influence on community-level properties and I think mm terms may be used to account for this.
Here is an example (common biodiversity ecosystem functioning experimental design) where I think this would make sense:
Ray et al., 2023 were interested, among other things, in the relationship between tree species richness and structural complexity (of the stand). They examined this in experimental plots that contained 140 trees each, from one, two or four out of 10 potential deciduous tree species. They…
…used linear mixed-effect models to assess the impact of tree species richness (numeric variable), mycorrhizal associations (categorical, three levels: AM, EM, and AM + EM), and their interacting effect on stand structural complexity (SSCI, continuous variable). Tree species composition of the plots was used as a random effect to avoid confounding effects between tree species richness and compositional differences in tree species among communities.
I wonder if a reasonable alternative to their approach would be to fit a model of the form:
SSCI ~ log2_richness*Mycorrhizal_type + (1|mm(sp1,sp2,sp3,sp4))
sp1-sp4 are here dummy coding for the 1-4 out of 10 species that can comprise each tree community:
plot sp1 sp2 sp3 sp4
<dbl> <chr> <chr> <chr> <chr>
1 1 7 10 7 10
2 2 5 5 5 5
3 3 6 9 6 9
4 4 8 8 8 8
5 5 3 8 3 8
6 6 1 2 6 9
7 7 3 4 8 10
Individual species will have an idiosyncratic influence on the response, so I think this would account for the non-independence of plots/communities, given that they share species.
I have a follow-up technical question about the use of mmc
but I will probably ask that in a separate topic. Right now, I mainly want to know if you think this would be a reasonable use case for multi-membership modeling.
Here is a gist with this example.