js.lnl | R Documentation |
For a given set of parameters and data, it computes -2*log Likelihood value
but does not include data factorials. Factorials for unmarked are not needed
but are included in final result by js
so the result matches
output from MARK for the POPAN model.
js.lnl(par, model_data, debug = FALSE, nobstot, jsenv)
par |
vector of parameter values |
model_data |
a list that contains: 1)imat-list of vectors and matrices constructed by
|
debug |
if TRUE will printout values of |
nobstot |
number of unique caught at least once by group if applicable |
jsenv |
environment for js to update iteration counter |
This functions uses cjs.lnl
and then supplements with the
remaining calculations to compute the likelihood for the POPAN formulation
(Arnason and Schwarz 1996) of the Jolly-Seber model.
-log likelihood value, excluding data (ui) factorials which are added in js after optimization to match MARK
Jeff Laake
Schwarz, C. J., and A. N. Arnason. 1996. A general methodology for the analysis of capture-recapture experiments in open populations. Biometrics 52:860-873.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.