cjs.lik: A likelihood function for unadjusted- or adjusted-for-taglife...

View source: R/cjs.lik.R

cjs.likR Documentation

A likelihood function for unadjusted- or adjusted-for-taglife Cormack-Jolly-Seber (CJS) estimates

Description

This is a likelihood function for unadjusted- or adjusted-for-taglife Cormack-Jolly-Seber (CJS) estimates. It is based on Skalski et al. (1998). Adjustment to survival for estimated tag life as described in Townsend et al. (2006).

Usage

cjs.lik(params, counts.in, num.period, use.hist, L.in = NULL, d.in = NULL)

Arguments

params

The likelihood MLE estimators (S,p,l) in a single vector

counts.in

Vector of summed detections by history (names are history)

num.period

Number of detection periods in history

use.hist

Matrix of unique detection histories

L.in

The probability that a tag is working at a detection site at a given time. Set to 1 if active tags not indicated. p(tag working) is cumulative to each site, not a multiplicate from site to site

d.in

The probability a tag is censored given that it's detected

Value

This function returns a negative log-likelihood


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