I have a question about how to set up nest survival data for 2 years, but with the length of the nesting season varying across years. In the first year, the nesting season (the interval I collected data over) was 69 days long, and in the second year, 108 days long. I want to have a file with both years in the same model, so that I can test if year had an effect on DSR and whether certain variables were stronger in both years combined rather than in analysis of separate years.
The way I approached this is for the number of encounters, I added 69 and 108 for a total of 177 encounters over both years. I used 2 lines of dummy variables for the years, as I’ve seen in the AA file for good vs. poor swift colonies and the European dipper file for males vs females. I used year as a group variable and have 8 other covariates besides the “standard” nest info (the input file below is truncated just to demonstrate how I coded year with a space between the 2 years):
/* Data for MODO nests
Covariates are:
1) day of nesting season nest found,
2) last day nest checked when alive,
3) last day nest checked,
4) fate of nest (0=successful),
5) number of nests with that encounter history,
6) age of nest on first day of nesting season
7) VOR

9) %grass
10) Distance to solar facility
11) Distance to highway
12) Distance to two-track
13) Distance to gravel road
14) Year (dummy variable;1 if in 2014)
15) Year (dummy variable; 1 if in 2015)*/
Nest Survival Group=1;
/*1*/ 1 12 15 1 1 12 5 10 52.22 780 594 174 1442 1 0;
/*5*/ 8 10 13 1 1 -6 10.71 20 44.45 1343 333 870 615 1 0;
/*6*/ 14 14 15 1 1 2 4.29 5 36.67 1422 573 987 1551 1 0;
/*8*/ 15 19 23 1 1 -1 3.57 15 35.56 696 2255 601 863 1 0;
/*2.1*/ 1 3 6 1 1 14 7.86 15 41.07 159 774 159 491 0 1;
/*2.2*/ 3 5 6 1 1 -1 10.71 15 39.96 403 750 114 258 0 1;
/*2.3*/ 7 9 10 1 1 -6 7.14 10 47.73 488 997 328 1349 0 1;
/*2.4*/ 11 29 30 1 1 -10 7.86 5 41.07 1175 1672 76 970 0 1;
The problem is when I open the PIMs for the different years, they both go all the way to 177, whereas I’m trying to get 2014 to just go to 69. All the examples worked had the same number of encounter histories for both groups so I’m not sure how to go about this. I would greatly appreciate any advice!