Compute sets of link values for real parameters

Share:

Description

Computes link values for real parameters for a particular type of parameter (parameter) and returns in a table (dataframe) format.

Usage

1
2
get.link(model, parameter, beta = NULL, design = NULL, data = NULL,
  vcv = FALSE)

Arguments

model

MARK model object

parameter

type of parameter in model (character) (e.g.,"Phi")

beta

values of beta parameters for computation of link values

design

a numeric design matrix with any covariate values filled in with numerical values

data

covariate data to be averaged for estimates if design=NULL

vcv

if TRUE computes and returns the v-c matrix of the subset of the link values

Details

This function is very similar to get.real except that it provides estimates of link values before they are transformed to real estimates using the inverse-link. Also, 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.

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.

Author(s)

Jeff Laake

See Also

compute.link,get.real

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.