Am using RMark to build models in the multi-strata robust design. I have 3 states, but only 2 transitions of interest.
My question: Is there a way to only model selected transitions as a function of an individual covariate? I can model all transition probabilities as a function of a covariate with the following:
Psi.strata.hatch=list(formula=~1+stratum:tostratum:hatch)
"hatch" is a binomial time-varying covariate indicating whether or not a nesting attempt was successful.
Is there a way to put the covariate effects only on the transitions of interest?
Sure. Use 0/1 variables in the Psi design data for stratum and tostratum. If you had strata A and B it could be something like A:toB:hatch. A:toB is only 1 when both A and toB are 1. This is a generic solution for restricting effects in any model. For those of you used to filling in DMs with the MARK interface, the A:toB is equivalent to only putting the hatch variable where A and toB are 1.