fit.hmltm: Fit detection hazard with a Markov or hidden Markov...

Description Usage Arguments Value References

Description

fit.hmltm Estimates detection probability from (1) line transect data that includes forward detection distances and (2) estimated Markov model or hidden Markov model availability prameters.

Usage

1
2
fit.hmltm(xy, pars, FUN, models = list(y = NULL, x = NULL), survey.pars,
  hmm.pars, control.fit, control.optim, groupfromy = NULL)

Arguments

xy

data frame with one line per detection containing perpendicular distance ($x) and forward distance ($y) and any covariates in the model.

pars

starting parameter values.

FUN

detection hazard functional form name (character)

models

list of characters with elements $y and $x specifying y- and x-covariate models. Either NULL or regression model format (without response on left).

survey.pars

list.

hmm.pars

HMM parameters of animals' availability data.

control.fit

list with elements: $hessian (logical) - if TRUE Hessian is estimated and returned, else not; $nx (scalar) - determines the number of intervals to use with Simpson's rule integration over y. nx=64 seems safe; smaller number makes computing faster.

control.optim

as required by optim.

groupfromy

a forward distance (y) below which all y's are grouped into a single interval in the likelihood function (i.e. exact y,s < groupfromy are combined into an interval rather than passed as exact distances).

Value

A list comprising:

References

Borchers, D.L., Zucchini, W., Heide-Jorgenssen, M.P., Canadas, A. and Langrock, R. 2013. Using hidden Markov models to deal with availability bias on line transect surveys. Biometrics.


DistanceDevelopment/hsltm documentation built on June 21, 2019, 2:22 p.m.