Skip to content
Prev 9564 / 20628 Next

Unbalance design in GLMM

Hello!

I am working with GLMM using the binomial family for testing
differences in amphibian malformations that occur in several ponds
located in two different areas.
The random effects are sampled day (samplday) and pond identity
(pondident).The fixed effects are area (studyarea) and species (sp).
Ymat is the response variable.
[1] "factor
[1] "integer"
[1] "A"     "arro"  "B"     "C"     "campo" "D"     "E"     "F"     "G"
[10] "hum"
NULL
[1] FALSE
[1] FALSE

as you notice, it is an unbalanced design, so When I run the model
Error: length(f1) == length(f2) is not TRUE
Adem?s: Mensajes de aviso perdidos
1: In pondident:samplday :
  expresi?n num?rica tiene 400 elementos: solo el primero es utilizado
2: In pondident:samplday :
  expresi?n num?rica tiene 400 elementos: solo el primero es utilizado

You can help me? I could not find the solution for unbalanced designs
applied to generalized models

Gracias!
Gabriela