Collection of functions for logistic detection functions
These functions are used to test whether a logistic detection function is a
linear function of distance (is.linear.logistic
) or is constant
(varies by distance but no other covariates) is.logistic.constant
).
Based on these tests, the most appropriate manner for integrating the
detection function with respect to distance is chosen. The integrals are
needed to estimate the average detection probability for a given set of
covariates.
is.linear.logistic(xmat, g0model, zdim, width)
xmat |
data matrix |
g0model |
logit model |
zdim |
number of columns in design matrix |
width |
transect width |
If the logit is linear in distance then the integral can be computed analytically. If the logit is constant or only varies by distance then only one integral needs to be computed rather than an integral for each observation.
Logical TRUE if condition holds and FALSE otherwise
Jeff Laake
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.