I've updated my secr version to 4.2.0 and then I reran models I had analyzed with secr 3.1.6 and the results were quite different.
I'm running a set of 28 models for island foxes and island spotted skunks out on the California Channel Islands. After running all of the models I determine a model averaged estimate based on the AICc values. The models I'm running are quite simple. D is constant across all models, g0 varies by sex, b and B and sigma varies by sex, b, and B. When all combinations are done it results in 28 models. When I compared the density estimates for individual models the only ones that are the same between serc 4.2.0 and secr 3.1.6 are the models that do not include b or B, which is only a total of 4 of the 28 models (shown below). I've read over the information provided about the updated version but I haven't come across anything that would explain why the b and B models are different in this new version. Am I missing something? I'm hoping you can guide me a bit on why this is happening. Thanks.
- Code: Select all
Adult.Foxes <- read.capthist(captfile="Capture_File.txt", trapfile="Detection_File.txt", detector = "multi", fmt="trapID", noccasions=6, covnames = c("sex"))
Polygon <- readShapePoly("Buffer")
Fox.Mask <- make.mask(traps(Adult.Foxes), spacing = 100, type = "polygon", poly = Polygon)
D.1.g.1.s.1 <- secr.fit(Adult.Foxes, model = list(D ~ 1, g0 ~ 1, sigma ~ 1), trace = TRUE, mask=Fox.Mask, detectfn=0, hcov='sex')
- Model secr 3.1.6 secr 4.2.0 Same?
D.1.g.1.s.1 0.082818 0.082818 YES
D.1.g.1.s.sex 0.082806 0.082806 YES
D.1.g.1.s.b 0.095340 0.079095 NO
D.1.g.1.s.B 0.102280 0.081603 NO
D.1.g.1.s.sex.b 0.095264 0.079087 NO
D.1.g.1.s.sex.B 0.102242 0.081607 NO
D.1.g.sex.s.1 0.082916 0.082916 YES
D.1.g.sex.s.sex 0.082912 0.082912 YES
D.1.g.sex.s.b 0.095652 0.079208 NO
D.1.g.sex.s.B 0.102344 0.081667 NO
D.1.g.sex.s.sex.b 0.095703 0.079197 NO
D.1.g.sex.s.sex.B 0.102500 0.081696 NO
D.1.g.b.s.1 0.098572 0.083548 NO
D.1.g.b.s.sex 0.098534 0.083530 NO
D.1.g.b.s.b 0.089194 0.071563 NO
D.1.g.b.s.sex.b 0.089079 0.071504 NO
D.1.g.B.s.1 0.092721 0.084683 NO
D.1.g.B.s.sex 0.092700 0.084669 NO
D.1.g.B.s.B 0.095703 0.075149 NO
D.1.g.B.s.sex.B 0.095684 0.075162 NO
D.1.g.sex.b.s.1 0.099072 0.083648 NO
D.1.g.sex.b.s.sex 0.099002 0.083635 NO
D.1.g.sex.b.s.b 0.089843 0.071695 NO
D.1.g.sex.b.s.sex.b 0.089671 0.071595 NO
D.1.g.sex.B.s.1 0.092847 0.084756 NO
D.1.g.sex.B.s.sex 0.092819 0.084749 NO
D.1.g.sex.B.s.B 0.095785 0.075241 NO
D.1.g.sex.B.s.sex.B 0.095977 0.075239 NO