
The coefficient of variation of effective sampling area predicts the bias in estimated density (Efford and Mowat 2014). These functions assist its calculation from fitted finite mixture models.
CV(x, p, na.rm = FALSE)
CVa0(object, ...)
CVa(object, sessnum = 1, ...)
Numeric
vector of numeric values
vector of class probabilities
logical; if TRUE missing values are dropped from x
fitted secr finite mixture model
integer sequence number of session to analyse
other arguments passed to predict.secr (e.g.,
newdata
)
CV
computes the coefficient of variation of x
. If
p
is provided then the distribution is assumed to be
discrete, with support x
and class membership probabilities
p
(scaled automatically to sum to 1.0).
CVa
computes CV(
CVa0
computes CV(a0) where a0 is the single-detector sampling
area defined as
CVa
and CVa0
do not work for models with individual
covariates.
Borchers, D. L. and Efford, M. G. (2008) Spatially explicit maximum likelihood methods for capture--recapture studies. Biometrics 64, 377--385.
Efford, M. G. and Mowat, G. (2014) Compensatory heterogeneity in capture--recapture data. Ecology 95, 1341--1348.
CVpdot
,
derived
,
details
,
RSE
if (FALSE) {
## housemouse model
morning <- subset(housemouse, occ = c(1,3,5,7,9))
msk <- make.mask((traps(morning)), nx = 32)
morning.h2 <- secr.fit(morning, buffer = 20, model = list(g0~h2), mask = msk,
trace = FALSE)
CVa0(morning.h2 )
}
Run the code above in your browser using DataLab