Hi Team,
I am interested in modeling the survival of ducklings in relation to landscape variables. To collect this data we marked the brood-rearing female and obtained visual counts of brood size at somewhat regular intervals throughout the breeding season. But as sightings were not guaranteed I am using the nest survival model to conduct this analysis as it will help deal with the ragged nature of the data. Ducklings are considered "fledged" at 30 days so I am using a 30 occasions history (1 day = 1 occasion). My main research question is if the composition of the habitat surrounding the brood impact's survival as the brood moves through the landscape. Much like the mallard example I have the proportion of grassland surrounding the brood and use it as an individual covariate.
My question is this: does it make sense to change the value of an individual covariate part way through the occasions (i.e. can I change the value of a individual covariate within a DM column)?.
For example; the brood travels from pond A to pond B in its 1st week of life, then in week 2 travels from pond B to pond C and stays there until 30 days old. The proportion of grass surrounding pond A & B = PpnG1, and the proportion of grass around pond B & C = PpnG2. When using a design matrix to test the model of a linear trend in survival and the amount of grass (i.e. S(time) ~ PpnG) is the following design matrix correct?
AND...If so, is there an easy way to build these design matrices within RMark? I can easily complie them within MARK but am unsure how to specify a changing DM individual covariate in R.
model: S(time) ~ PpnG
Int B1 B2
1 1 PpnG1
1 2 PpnG1
1 3 PpnG1
1 4 PpnG1
1 5 PpnG1
1 6 PpnG1
1 7 PpnG1
1 8 PpnG2
1 9 PpnG2
1 10 PpnG2
1 11 PpnG2
1 12 PpnG2
1 13 PpnG2
1 14 PpnG2
1 15 PpnG2
1 16 PpnG2
1 17 PpnG2
1 18 PpnG2
1 19 PpnG2
1 20 PpnG2
1 21 PpnG2
etc... to 30
Thanks for the help and suggestions
-David