I have a data set with which I am running a generalized linear mixed-effects model using lmer. I have 100 used vegetation plots that I am comparing with 100 randomly selected vegetation plots. The plots correspond to different animals including in my study so I am using animal as a random effect. Many of my used plots were sampled multiple times (1-10 times). For a plot that was measured, say, five times, I would like to be able to weight that plot rather than enter its measurements five different times as five separate plots. I know that lmer has a weights argument and was wondering if I can use the number of times a plot was sampled to run a weighted regression analysis with mixed-effects? I have tried searching the various help forums but have not been able to make sense of the information out there. Thank you very much, Javan
Weighting observations by sampling size in lmer
1 message · Javan Bauder