Computes link values (design*beta) for real parameters, and var-cov from design matrix (design) and coefficients (beta)
compute.link(
model,
beta = NULL,
design = NULL,
data = NULL,
parm.indices = NULL,
vcv = TRUE
)
estimates: If vcv=TRUE
, a list is returned with elements
vcv.link
and the dataframe estimates
. If vcv=FALSE
,
only the estimates dataframe is returned which has the same structure as in
get.real
.
MARK model object
Estimates of beta parameters
numeric design matrix for MARK model with any covariate values filled in
dataframe with covariate values that are averaged for estimates
index numbers from PIMS for rows in design matrix to use
logical; if TRUE, returns v-c matrix of link values
Jeff Laake
This function is very similar to compute.real
except that it
provides estimates of link values before they are transformed to real
estimates using the inverse-link. It is called by get.link
to
make calculations but can be called separately. The value is always a
dataframe for the estimates and design data and optionally a
variance-covariance matrix. See get.real
for further details
about the arguments.
get.link