deriv_inverse.link: Derivatives of inverse of link function (internal use)

Description Usage Arguments Details Value Author(s) See Also

View source: R/deriv.inverse.link.R

Description

Computes derivatives of inverse of link functions (real estimates) with respect to the beta parameters which are used for delta method computation of the var-cov matrix of real parameters.

Usage

1

Arguments

real

Vector of values of real parameters

x

Matrix of design values

link

Type of link function (e.g., "logit")

Details

Note: that function was renamed to deriv_inverse.link to avoid S3 generic class conflicts. The derivatives of the inverse of the link functions are simple computations using the real values and the design matrix values. The body of the function is as follows:

1
2
3
switch(link, logit=x*real*(1-real), log=x*real,
loglog=-real*x*log(real), cloglog=-log(1-real)*x*(1-real), identity=x,
mlogit=x*real*(1-real)) 

Value

Vector of derivative values computed at values of real parameters

Author(s)

Jeff Laake

See Also

inverse.link, compute.real


RMark documentation built on Nov. 7, 2019, 1:06 a.m.