This section describes methods specifically for population trend, defined as change in density between sessions and measured by the finite rate of increase \lambda_t = D_{t+1} / D_t. The flexible methods described here allow the direct estimation of \lambda_t, possibly including covariate effects.
J.1 ‘Dlambda’ parameterization
We parameterize the density model in terms of the initial density D_1 and the finite rates of increase \lambda_t for the remaining sessions (\lambda_1 refers to the density increase between Session 1 and Session 2, etc.). Reparameterization of the density model is achieved internally in secr.fit by manipulating the density design matrix to provide a new array of mask-cell- and session-specific densities at each evaluation of the full likelihood. This happens when the details argument ‘Dlambda’ is set to TRUE. The density model (D~) and the fitted coefficients take on a new meaning determined by the internal function Dfn2. More explanation is given in Section J.4.
Now, fitting the ovenbird model with D~1 results in two density parameters (density in session 1, constant finite rate of increase across remaining sessions):
Density-relevant beta parameters have names starting with ‘D.’1. The first is the log initial density; others relate to the \lambda parameters.
To make the most of the reparameterization we need the special prediction function predictDlambda to extract the lambda estimates (the simple predict method does not work).
Session covariates are readily applied. The covariate for the second session predicts \lambda_1 = D_2/D_1, for the third session predicts \lambda_2 = D_3/D_2, etc. The covariate for the first session is discarded (remember D_1 is constant). This all may be confusing, but you can work it out, and it saves extra coding.
Dfn2 performs some tricky manipulations. You can see the code by typing secr:::Dfn2. A column is pre-pended to the density design matrix specifically to model the initial density; this takes the value one in Session 1 and is otherwise zero. Other columns in the design matrix are set to zero for the first session. Session-specific density on the link (log) scale is computed as the cumulative sum across sessions of the initial log density and the modelled log-lambda values.
Note –
The model allows detector locations and habitat masks to vary between sessions.
The coding of Dfn2 relies on a log link function for density.
Dlambda is ignored for single-session data and conditional-likelihood (CL) models.
The method is not (yet) suitable for group models.
The default start values for D in secr.fit work well: all lambda are initially 1.0 (\mathrm{log}(\lambda_t) = 0 for all t).
If session covariates are used in any model, AICcompatible() expects the argument ‘sessioncov’ to be included in all models.
Tip
D for session 1 is constant over space. It is not possible in the present version of secr to model simultaneous spatial variation in density or \lambda, and using Dlambda with a density model that includes spatial covariates will cause an error.