I'm working on a simple CJS model using dataset of banding and resightings of albatrosses, over yearly visits 2015-2020. Am also exploring Multistrata, but need to get simpler approach working first.
The issue is that when trying to run Phi(t)p(t) in CJS, all signs point to the model being overparameterised (e.g. crazily high se for the beta-hat for Phi:time2018 and real Phi:2018=1). Also occurs with other models eg. Pradlambda.
I tried argument adjust=FALSE in both mark and mark.wrapper functions, and function adjust.parameter.count - neither helps. I clearly don't understand the problem.
RMark resources suggest the issue is improperly specifying the formula. I can't see what needs to be fixed. Formula specified like this:
- Code: Select all
do_analysis=function()
{ Phi.dot=list(formula=~1)
Phi.time=list(formula=~time)
p.dot=list(formula=~1)
p.time=list(formula=~time)
cml=create.model.list("CJS")
results=mark.wrapper(cml,data=WCA,ddl=ddWCA,output=FALSE,silent=TRUE)
return(results)
}
I tried using the sine link when specifying the phi formula (formula=~-1+time, link="sin"), which makes the se for beta-hat look more sensible -- but I still get that unreasonable 100% survival for 2018.
Quite stuck - would be very grateful for a pointer on what I'm missing here.
Thanks!
Kalinka