0

I have put individual ID as a random variable in my model, but some individuals only have 1 record and others have 19 records.

Does this mean that individual ID shouldn't be a random variable?

Here's the context: I have birds visiting a feeder and want to know if the length of a visit is determined by species (3 options), site (3 options), and indiviudal ID.

The model I'm running currently is

lenght ~ species + site + (1|id)

Rachael
  • 81
  • 1
  • 9

0 Answers0