keyfct.tpn: Two-part normal key function

View source: R/keyfct.tpn.R

keyfct.tpnR Documentation

Two-part normal key function

Description

The two-part normal detection function of Becker and Christ (2015). Either side of an estimated apex in the distance histogram has a half-normal distribution, with differing scale parameters. Covariates may be included but affect both sides of the function.

Usage

keyfct.tpn(distance, ddfobj)

Arguments

distance

perpendicular distance vector

ddfobj

meta object containing parameters, design matrices etc

Details

Two-part normal models have 2 important parameters:

  • The apex, which estimates the peak in the detection function (where g(x)=1). The log apex is reported in summary results, so taking the exponential of this value should give the peak in the plotted function (see examples).

  • The parameter that controls the difference between the sides .dummy_apex_side, which is automatically added to the formula for a two-part normal model. One can add interactions with this variable as normal, but don't need to add the main effect as it will be automatically added.

Value

a vector of probabilities that the observation were detected given they were at the specified distance and assuming that g(mu)=1

Author(s)

Earl F Becker, David L Miller

References

Becker, E. F., & Christ, A. M. (2015). A Unimodal Model for Double Observer Distance Sampling Surveys. PLOS ONE, 10(8), e0136403. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1371/journal.pone.0136403")}


mrds documentation built on May 29, 2024, 3:56 a.m.