Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
455 views

How to deal with nestedness of fixed factors in a linear mixed effects model (lmer in lme4)?

I am new to analyzing complex datasets using mixed models in R, so please forgive me if I am asking something very basic. I'm currently trying to write a linear mixed model using the ...
Anis's user avatar
  • 41
1 vote
0 answers
51 views

Specifying mixed model for temperature measurements of termite mounds during the day in different soils

I've got a problem while trying to specify the 'right' nesting of the random effects of my dataset. The dataset registers hourly variations in temperature inside termite mounds: Sampling was ...
Antón David Pérez Rodríguez's user avatar
4 votes
0 answers
4k views

Random or fixed effects? GLM or GLMM?

I am interested in the behavioral response of floral visitors to a treatment, applied in a paired fashion within plants. That is, one stem on each plant receives the treatment, and another stem serves ...
JKO's user avatar
  • 805
2 votes
0 answers
98 views

Syntax for unbalanced block design with nesting?

I am trying to run a model in which I have site as a blocking factor, and two layers of nested random effects due to sub-sampling. The nesting layers are -> plant[flower[robbing status]]. My response ...
JKO's user avatar
  • 805