Contents
How to model nested random factor with GLMM cross?
TankNo are denoted differently in all three ExpRun and therefore a nested random factor.
Is there a way to nest fixed factors in GLMM?
The question comes as my fixed-factor Compo should be nested within SPrich but it seems that it is more common to nest random factors in glmm, and I have not encounter on how to nest fixed-factors.
Why do I use GLMM instead of tankno?
I go for GLMM because there is quite a large variance among different Tanks and thus masking the effect of factors that are of interests, and treating TankNo as a random factor should help lower the influence.
How to validate model selection in glmer-cross?
If you insist on a model-selection strategy, then you should validate your model-building approach by repeating all steps including the predictor-selection steps on multiple bootstrap samples from your data, and testing performance of each bootstrap-derived model on the full data set. Thanks for contributing an answer to Cross Validated!
Is it hard to model nested fixed factor?
Really appreciate any thoughts on the above! Nested fixed effects are indeed hard to specify in linear models (as opposed to ANOVA frameworks), where the underlying framework is explicitly trying to estimate parameters rather than just evaluate sums of squares/proportions of variance explained.
What are the nested factors in a mixed model?
This is a skeletal post to show the equivalency of different ways of thinking about “nested” factors in a mixed model. The data are measures of life history traits in lice that infect salmon. The treatment is the source of lice – from farmed raised or wild salmon.
Which is a fixed variable in a nested random factor?
The response variable analyzed here is the date of production of the egg string in units of “days post-infection”. A second fixed-factor is the reproductive event number (the lice went through five successive rounds of reproduction following infection). The salmon were raised in 30 tanks in each of two rooms.
When to include nesting factor as fixed effect?
It is really important to define what actually makes sense to include as fixed or random effects and what the grouping factors will be. This depends on how you designed the study and what you want to extract from your models. Thanks for contributing an answer to Cross Validated!