GenEst (version 1.2.0)

pkLogLik: Calculate the negative log-likelihood of a searcher efficiency model

Description

The function used to calculate the negative-loglikelihood of a given searcher efficiency model (pkm) with a given data set

Usage

pkLogLik(misses, foundOn, beta, nbeta_p, cellByCarc, maxmisses, cellMM,
  kFixed = NULL)

Arguments

misses

Number of searches when carcass was present but not found.

foundOn

Search on which carcass was found.

beta

Parameters to be optimized.

nbeta_p

Number of parameters associated with p.

cellByCarc

Which cell each observation belongs to.

maxmisses

Maximum possible number of misses for a carcass.

cellMM

Combined pk model matrix.

kFixed

Value of k if fixed.

Value

Negative log likelihood of the observations, given the parameters.