Repeated measures on hundreds of subjects: too many row effects? #158
-
Hello again @JenniNiku and @BertvanderVeen! I had a question related to the (over?)specification of row effects in models. I have a study in which the same 491 trees had their needle microbiomes surveyed at 2 This is my current model:
When I had initially attempted
I then tried However, whenever I re-run the same model without seed on different dates, even the Still troubling, running Is this some indication that the model is still over-specified but just isn't throwing any errors/warnings, or that the P values just aren't being calculated reliably? I know the 491 tree row effects are very high, but it's not apparent how else I might deal with the repeated measures issue and still examine how the abundances of different fungal taxa change over time. Ultimately, if a model has the capacity to (easily) produce this warning, is warning-free output likely still suspect in certain ways? Thanks for your help! I can share follow up info, too. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
What is the scale estimate for the row-effects? It does sound like something fishy is going on with your model, but diagnosing it can be difficult. Start by making sure to set Have you checked that you have sufficient (non-zero) observations in each of the combination of categories in the covariates, and that a negative-binomial response distribution is necessary? |
Beta Was this translation helpful? Give feedback.
What is the scale estimate for the row-effects?
model$params$sigma
. If that is sufficiently far away from zero I am not worried about the row effects.It does sound like something fishy is going on with your model, but diagnosing it can be difficult. Start by making sure to set
n.init = 3
or so, and setgradient.check = TRUE
for some more help with convergence checking.Have you checked that you have sufficient (non-zero) observations in each of the combination of categories in the covariates, and that a negative-binomial response distribution is necessary?