Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: glm
See also: glmcore glmlink

Quantlet: glminvlink
Description: glminvlink computes the inverse link function.

Link:
Usage: eta = glminvlink(code,mu{,opt})
Input:
code text string, the short code for the model (e.g. "bilo" for logit or "noid" for ordinary LS).
mu n x d matrix, the index values.
opt optional, a list with optional input. "glmopt" can be used to set up this parameter.
opt.pow optional, power for power link. If not given, set to 0 (logarithm).
opt.nbk scalar, extra parameter k for negative binomial distribution. If not given, set to 1 (geometric distribution).
Output:
eta n x d matrix, the inverse link applied to mu.

Example:
library("glm")
mu=0.5
mu=glminvlink("bilo",mu)
mu

Result:
The logit is computed at mu=0.5:
Contents of mu
[1,]        0



Author: M. Mueller, 20010228
(C) MD*TECH Method and Data Technologies, 05.02.2006