cjs.initial function

Computes starting values for CJS p and Phi parameters

Computes starting values for CJS p and Phi parameters

Computes starting values for Phi and p parameters from the list of design matrices and the summarized data list including ch matrix and first and last vectors. If any values are missing (NA) or abs(par)>5, they are set to 0.

cjs.initial(dml, imat, link = "logit")

Arguments

  • dml: design matrix list for Phi and p
  • imat: list containing chmat, first and last
  • link: either "logit" (for cjs) or "probit" (for probitCJS)

Returns

list of initial parameter estimates

Author(s)

Jeff Laake

  • Maintainer: Jeff Laake
  • License: GPL (>= 2)
  • Last published: 2023-10-19

Useful links