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. The macro "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


Library: glm
See also: glmcore glmlink

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

Author: Marlene Mueller, 2000/05/18
(C) MD*TECH Method and Data Technologies, 21.9.2000