I'm having problems fitting a mixed-effects model for an ecological
meta-analysis, and I'm curious if anyone has advice. In particular,
it's pretty clear that the variance in the residuals increases with
the predicted mean, but my normal fixes don't seem to be working. The
model is:
mod1 <- lmer(logCd ~ logRe + Hab + logRe:Hab + (logRe|Study), data=temp)
where Cd is a drag coefficient (>0 before log-transformation), Re is a
physical quantity called a Reynolds number (also >0 before
transformation), Hab is a categorical variable for habitat, and Study
is a categorical variable for the study the data came from. I know
from fluid dynamics theory that logCd and logRe can be linearly
related, but I expect that the slope and intercept vary between
habitat types and between studies.