Hello,
I am running reaster models on a dataset and have two sets of questions for you - one regarding model comparison, and one regarding ideas on how to incorporate a phylogenetic correction.
Dataset - This is a comparative study, testing effects of specialist/generalist species on fitness trade-offs. I have 17 species, 8 of which are edaphic specialists and 9 of which are edaphic generalists. I grew seeds from each species (collected from one population/species) in the species's home vs foreign soil type. I want to know if the specialists have larger fitness trade-offs in their foreign soils than the generalists. My plan is to compare nested models that use species as a random effect, and test for a specialist/generalist effect * soil interaction term. More details about the effects are in the Rscript.
My impression of LRTs (and anova of model deviance by extension) is that the null hypothesis is the simpler model is a better fit, and a significant chi-square value indicates the more complex model is a better fit. I also read that high model deviance means the model is a worse fit to the data.
What seems strange to me is that in the anova of model deviances table I get when I compare all the nested reaster models, more complex models have a higher model deviance than simpler models (making me think they're a worse fit) but they also have a significant p-value. Perhaps this is because my impression of the test interpretation is wrong. If you get a significant value from the chi-square test, does that mean whichever model has the lowest model deviance is the better model, and not the more complex model by default? The analysis is in the Rscript.
Second, I'm curious what your thoughts are on incorporating some sort of phylogenetic correction into aster models. Part of the structure of my dataset is species - and they span a wide phylogenetic breadth. In past analyses, having a phylogenetic correction has been important to the conclusions because I have closely related species that are doing really different things. In the past, I've been using either a PGLS, or a bayesian framework when I have multiple data points per species (as I do in this dataset). I'm curious if there's a way to include (or if it even makes sense to include) a phylogenetic variance-covariance matrix to model the residual variance in an aster model. Alternatively, I'm curious if there'd be a way to extract some sort of derived parameter that reflects, per species, the difference in fitness between soil environments, and then be able to input that into a PGLS.
Thank you for the insights,
Shelley