Hello!
I am relatively new to occupancy modeling and Unmarked. I
have perused this group and the manual, and have not found anything directly
relevant to my problem. I greatly appreciate any help or advice!
Wood turtles (Glyptemys insculpta) are a semi-aquatic turtle species in North America, and are threatened and endangered across their range. We were attracted to environmental DNA (eDNA) sampling techniques because it had the potential to improve detection rate (cryptic and difficult-to-sample species), while reducing sampling costs at the same time. That being said, we developed our study design in 2012, before much of the eDNA literature (especially eDNA surveys using an occupancy framework) had been written. We surveyed for turtles during their aquatic period (found in streams and rivers) using an occupancy framework, in which we surveyed each site a total of three times across their active season. We only sampled eDNA during one of those three surveys. However, we did take three independent water samples, with 10 minutes in between each sample (& sterile equipment for each sample).
Our sampling framework looks
like:
Turtle survey 1 (no eDNA sample taken)
Turtle survey 2 (eDNA sample taken; 3 independent samples)
Turtle survey 3 (no eDNA sample taken)
I have run test models (using single season occupancy models), and not gotten occupancy probability results that make sense. The current estimate is around 0.99, however, there are not turtles in every stream. Psi for our turtle occupancy results is 0.65, so theoretically eDNA occupancy estimates should be similar.
I'm not sure if the issue is in the coding, or that an occupancy framework is not appropriate in this situation.
I am running a simple single season occupancy model. I have 34 sites, 2-3 observations for each site. I fit a bunch of models using all combinations of 3 detection covariates for occupancy probability. Now, using the top model, I would like to calculate the occupancy probability and detection probability for the study area and calculate a 95% confidence interval.
#prepare list for detection covariates (covariates are turtle density, # days since last rainfall, and temperature during survey)
obs.covs <- list(DLastRain = DLastRain,
DayofTemp = DayofTemp,
nden = nden)
#Prepare list for site covariates
site.covs <- NULL
#prepare list for countes of each survey
y <- rawdata[,c('s1','s2', 's3')]
#Set up data for analysis
ednaUMF <- unmarkedFrameOccu(y = y, siteCovs = site.covs, obsCovs = obs.covs)
#model selection
mod1 <- occu(~ nden + DLastRain + DayofTemp ~1, ednaUMF)
mod2 <- occu(~ nden + DLastRain ~1, ednaUMF)
mod3 <- occu(~ nden + DayofTemp ~1, ednaUMF)
mod4 <- occu(~ DLastRain + DayofTemp ~1, ednaUMF)
mod5 <- occu(~ nden ~1, ednaUMF)
mod6 <- occu(~ DLastRain ~1, ednaUMF)
mod7 <- occu(~ DayofTemp ~1, ednaUMF)
mod8 <- occu(~1 ~ 1, ednaUMF)
modlist <- fitList("Null"=mod8, "nden + DLastRain + DayofTemp"=mod1, "nden + DLastRain"=mod2, "nden + DayofTemp"=mod3, "DLastRain + DayofTemp"=mod4, "nden"=mod5, "DLastRain"=mod6, "DayofTemp"=mod8)
modSel(modlist, null="Null")
#use predict function for psi (state) and p (det) estimates
newdata <- data.frame(nden = seq(-3,3), length.out=100, DLastRain = seq(-3,3), length.out = 100)
predict(mod2, type="det", newdata=newdata)
predict(mod2, type="state", newdata=newdata)
> predict(mod2, type="det", newdata=newdata)
Predicted SE lower upper
1 1.921177e-37 2.970927e-36 1.319792e-50 2.796593e-24
2 1.597847e-25 1.659274e-24 2.313572e-34 1.103538e-16
3 1.328932e-13 7.051972e-13 4.042094e-18 4.369173e-09
4 9.952707e-02 2.905015e-02 5.531545e-02 1.726185e-01
5 1.000000e+00 5.293077e-11 9.999998e-01 1.000000e+00
6 1.000000e+00 1.300542e-22 1.000000e+00 1.000000e+00
7 1.000000e+00 2.362542e-34 1.000000e+00 1.000000e+00
> predict(mod2, type="state", newdata=newdata)
Predicted SE lower upper
1 0.9999102 0.004141383 6.159445e-36 1
2 0.9999102 0.004141383 6.159445e-36 1
3 0.9999102 0.004141383 6.159445e-36 1
4 0.9999102 0.004141383 6.159445e-36 1
5 0.9999102 0.004141383 6.159445e-36 1
6 0.9999102 0.004141383 6.159445e-36 1
7 0.9999102 0.004141383 6.159445e-36 1
Any thoughts as to why psi is so high, and therefore p is so low?
My current theories: a) low sample size AND too many NA's; 2) error due to the fact that detection covariates are identical across 3 eDNA sampling visits because they were all taken during the same turtle survey; 3) I needed to account for the three false negatives in my dataset somehow; 4) it's not a multi-level model, so I can't tell the model that eDNA is not present unless turtles are present (i.e. if we had taken eDNA samples during every turtle survey, I could have written a multi-level model like:
z ~ Bernoulli (psi) (occupancy probability of the species)
a | z ~ Bernoulli (z, psi2) (occupancy probability of eDNA as a function of the species being present)
Thank you very much for your help Unmarked community!!
Ellery
Ellery Ruther
Smithsonian Conservation Biology Institute
1500 Remount Rd, Front Royal, VA 22630
--
You received this message because you are subscribed to the Google Groups "unmarked" group.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to unmarked+u...@googlegroups.com.