Hello
We have three years of prairie dog data that we are looking to analyze using a Robust model. We have version 1.9.7 of RMark and version 2.10.1 for R. The data consists of three primary periods (2007 – 2009) and 9 secondary periods. We have information on age (that we have binned into young and adult), sex, and location (5 Colonies). There was a crash (2007-2008) and then a rebound (2008-2009) in the population. Furthermore, very few animals reproduced in 2008 (only 3 pups were captured).
Below is a script we have used to try model survival and abundance however despite trying many different "s" formulas we are consistently getting either very small (ie.0.0000000) or very large(ie.232.00) SE for our beta coefficients which seems suspicious. Furthermore, pup survival for 2008-2009 is often high even on colonies where pups were never caught. As you can see in the script below we have tried to bin and share gamma prime and gamma double prime, in order to try and solve the identity problem for parameters of survival with a time model. However, these don’t seem to be working. We are not sure if the problem is with our model formulas or if our data is just possibiliy too sparse for some of these estimates. If you could provide any insight into what we are potentially doing wrong that would be fantastic. We can certainly send you our data file if that makes it easier to assess what is going on.
Thank-you for your time and any advice,
Here is our script:
AllColoniesNoWeightOne=import.chdata(“C:/Documents and Settings/taras/Desktop/RMarkFiles/
AllColoniesNoWeightAJ.txt", field.types=c(“f”,”f”,”f”))
AllColoniesNoWeightOne.process=process.data(AllColoniesNoWeightOne,begin.time = 2007,groups=c("age","Colony","Sex"),initial.ages=c(1,0),model="Robust",time.intervals=c(0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0))
AllColoniesNoWeightOne.ddl=make.design.data(AllColoniesNoWeightOne.process)
AllColoniesNoWeightOne.ddl=add.design.data(AllColoniesNoWeightOne.process,AllColoniesNoWeightOne.ddl,"S","age",bins=c(0,1,4),right=FALSE,name="YA", replace=T)
AllColoniesNoWeightOne.ddl$S$young=0
AllColoniesNoWeightOne.ddl$S$young[AllColoniesNoWeightOne.ddl$S$YA=="[0,1)"]=1
AllColoniesNoWeightOne.ddl$S$adult=1-AllColoniesNoWeightOne.ddl$S$young
AllColoniesNoWeightOne.ddl=add.design.data(AllColoniesNoWeightOne.process,AllColoniesNoWeightOne.ddl,"GammaDoublePrime","time",bins=c(2007,2008,2009),right=FALSE,name="Gamma", replace=T)
AllColoniesNoWeightOne.ddl
AllColoniesNoWeightOne.ddl=add.design.data(AllColoniesNoWeightOne.process,AllColoniesNoWeightOne.ddl,"GammaPrime","time",bins=c(2007,2008,2009),right=FALSE,name="Gamma", replace=T)
AllColoniesNoWeightGammasPCTimeColony.models=function()
{
S.Global=list(formula=~time*Sex*YA*Colony)
S.Model1=list(formula=~Colony + time + young:time + adult:time:sex)
Gamma.dot=list(formula=~1,share=T)
p.timesession=list(formula=~-1+session:time)
c.session=list(formula=~-1+session)
N.time=list(formula=~-1+session)
cml=create.model.list("Robust")
cml
results=mark.wrapper(cml,data=AllColoniesNoWeightOne.process,ddl=AllColoniesNoWeightOne.ddl,adjust=FALSE)
return(results)
}
AllColoniesNoWeightGammasPCTimeColony.results=AllColoniesNoWeightGammasPCTimeColony.models()
AllColoniesNoWeightGammasPCTimeColony.results
AllColoniesNoWeightGammasPCTimeColony.results$results$real
Thanks Tara