Hi,
I am a graduate student at University of Minnesota working with R. I am
using package lme4 to run my models and had a question that I hope you can
answer. I would like to have multiple concurrent random effects in my
Poisson model and was wondering whether R is nesting these effects?

I have copied a line of my code below as an example. My response variable
(FLEDGE) is fledging success, or the number of birds from a nest that
survive to a certain age of independence. My explanatory variable here is
age of the female parent (AGEF) that rears them to independence. My two
random effects are nest site location (LOCATION) and ID of the female parent
(IDF). I have included both of these to account for psuedoreplication in my
dataset that repeats both nesting sites and female birds. But nest site
location and ID of the female are not independent (they're confounded).

So, in summary, are these random effects nested using this code (i.e., ID of
female nested within site)? That is what my goal is since these effects are
not independent. If there is a different way to code this, I would greatly
appreciate the help.

r2<-glmer(FLEDGE~AGEF+(1|LOCATION)+(1|IDF),family=poisson,REML=FALSE)

Thank you for your help!
Sarah

-- 
Sarah Saunders
Conservation Biology Graduate Program
University of Minnesota
Hodson Hall
1980 Folwell Ave.
St. Paul, MN 55108
saund196@umn.edu



-- 
Sarah Saunders
Conservation Biology Graduate Program
University of Minnesota
Hodson Hall
1980 Folwell Ave.
St. Paul, MN 55108
saund196@umn.edu

	[[alternative HTML version deleted]]


