cjs.initial: Computes starting values for CJS p and Phi parameters

View source: R/cjs.initial.R

cjs.initialR Documentation

Computes starting values for CJS p and Phi parameters

Description

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.

Usage

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)

Value

list of initial parameter estimates

Author(s)

Jeff Laake


marked documentation built on Oct. 19, 2023, 5:06 p.m.