bmattsson wrote:Thanks for the quick response. I like the idea of bootstrapping over the point estimates for apparent survival. I would still be interested in using the Lukacs model for comparison purposes, so please let me know how I could acquire the code.
With this reply from Paul:bmattsson wrote:...I am concerned that individual fledglings within a brood are not independent...
It sounds like bootstrapping by broods could be an good alternative.Paul Lukacs wrote:You might consider using a CJS model to get point estimates and then bootstrapping on broods to get your variance estimate.
1) Is it possible to use random effects in a CJS implemented in RMark?
2) How do I bootstrap by broods to estimate variance? (Preferably instructions for implementing in RMark, but if it is not possible, I could transfer the models over to MARK and run the bootstrapping from there).
data(dipper)
# create a dummy broodID field
dipper$broodID=rep(1:(294/2),each=2)
# split dipper data into a list by ID
dipper.list=split(dipper,dipper$broodID)
nboot=2
results=matrix(NA,nrow=nboot,ncol=2)
for (i in 1:nboot)
{
bs.sample=sample(1:length(dipper.list),replace=TRUE)
newdata=do.call("rbind",dipper.list[bs.sample])
results[i,]=coef(mark(newdata,output=FALSE,delete=TRUE))$estimate
}
results
3) More of a technical stats question: Would these two routes address the same problem of chicks in the same brood being non-independent? If so, which one is better or more appropriate?
Users browsing this forum: No registered users and 0 guests