Nest Survival: Unbalanced data sets between 2 sites

posts related to the RMark library, which may not be of general interest to users of 'classic' MARK

Nest Survival: Unbalanced data sets between 2 sites

Postby rjfriendly2 » Sun Feb 27, 2022 11:10 pm

Hello,

I am trying to estimate the daily survival rate (DSR) using the nest survival module in program MARK implemented through the RMARK package in program R. I am fairly new to creating nest survival models and came across a problem with one of my models. I had a simple model DSR~site+year+site*year (year site interaction model) and the number of parameters I got didn't look right.

To give background information of my data. In one site, (A), I have nest data from 1994-2015 (22yrs), on the other site, (B), I have data from 2010-2018 (9yrs). In my INP file, I have 'SITE' as a categorical variable that denotes A=1 and B=0. 'YEAR' is set as a factor or group variable and spans from 1994-2018, BUT nests from site A only go up to 2015 and nests from site B go from 2010-2018.

After running the year*site interaction model I saw in the model output that there were estimates for site A that went to year 2018 (even there was no data for it), and estimates from 1994-2009 for site B (again, event there is no data for it). I've been trying to figure out how to navigate around this or find the right way to get these estimates. Can anyone help me this? Thanks!
rjfriendly2
 
Posts: 3
Joined: Thu Oct 14, 2021 6:48 pm

Re: Nest Survival: Unbalanced data sets between 2 sites

Postby jlaake » Mon Feb 28, 2022 9:41 am

Use ~-1+site:year. This is similar to age-year example in documentation and formula for Psi transitions where stratum and tostratum are incompletely crossed.
jlaake
 
Posts: 1479
Joined: Fri May 12, 2006 12:50 pm
Location: Escondido, CA


Return to RMark

Who is online

Users browsing this forum: No registered users and 2 guests