correct.fn: Restrains uncorrected probability estimates between 0 and 1

View source: R/correct.fn.R

correct.fnR Documentation

Restrains uncorrected probability estimates between 0 and 1

Description

Estimation of Cormack-Jolly-Seber (CJS) survival parameters can be greater than 1 when detection probabilities are low. To reduce computational failure when maximizing the likelihood, correct.fn bounds the CJS parameter estimates between 0 and 1 in the likelihood. This may result in survival estimates biased low, but low detection rates do not usually occur in studies with active tag technology.

Usage

correct.fn(x)

Arguments

x

Value to be rounded up/down to be between 0 to 1

Value

Returns original value if between 0 and 1, otherwise rounds up to 1e-10 or down to 1-1e-10


Columbia-Basin-Research-West/cbrATLAS documentation built on April 1, 2022, 1:52 p.m.