generate_inits_misID: generate initial values for misID model if not already...

Description Usage Arguments Value Author(s)

Description

generate initial values for misID model if not already specified by user

Usage

1
2
3
generate_inits_misID(DM.hab.pois, DM.hab.bern, DM.det, N.hab.pois.par,
  N.hab.bern.par, G.transect, Area.trans, Area.hab, Mapping, point.ind,
  spat.ind, grp.mean, misID, misID.mat, N.par.misID)

Arguments

DM.hab.pois

a list of design matrices for the Poisson habitat model (elements are named sp1,sp2, etc.)

DM.hab.bern

If a hurdle model, a list of design matrices for the Bernoulli habitat model (elements are named sp1,sp2, etc.) (NULL if not hurdle)

DM.det

design matrix for detection model

N.hab.pois.par

vector giving number of parameters in the Poisson habitat model for each species

N.hab.bern.par

vector giving number of parameters in the Bernoulli habitat model for each species (NULL if not hurdle)

G.transect

a matrix of the number of groups of animals in area covered by each transect; each row gives a separate species

Area.trans

a vector giving the proportion of a strata covered by each transect

Area.hab

a vector of the relative areas of each strata

Mapping

a vector mapping each transect to it's associated strata

point.ind

is point independence assumed (TRUE/FALSE)

spat.ind

is spatial independence assumed? (TRUE/FALSE)

grp.mean

a vector giving the pois1 parameter for group size (one entry for each species)

misID

if TRUE, indicates that misidentification is incorporated into modeling

misID.mat

a matrix specifying which elements of the misID matrix are linked to model equations

N.par.misID

a vector giving the number of parameters for each misID model (in multinomial logit space)

Value

a list of initial parameter values

Author(s)

Paul B. Conn


hierarchicalDS documentation built on July 3, 2019, 1:07 a.m.