compute.link: Compute estimates of link values
Description
Computes link values (design*beta) for real parameters,
and var-cov from design matrix (design) and coefficients
(beta)Usage
compute.link(model, beta = NULL, design = NULL,
data = NULL, parm.indices = NULL, vcv = TRUE)
Arguments
beta
Estimates of beta parameters
design
numeric design matrix for MARK model with
any covariate values filled in
data
dataframe with covariate values that are
averaged for estimates
parm.indices
index numbers from PIMS for rows in
design matrix to use
vcv
logical; if TRUE, returns v-c matrix of link
values
Value
- 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
.
Details
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.