glm.link {KernGPLM}R Documentation

(Inverse) Link function for GLM

Description

Defines the inverse link function for a GLM. (Currently only the LM as well as Logit and Probit are implemented.)

Usage

glm.link(eta, family="gaussian", link="identity")

Arguments

eta n x 1, linear predictors
family text string (currently "gaussian", "bernoulli")
link text string (currently "identity" for "gaussian", "logit" or "probit" for "bernoulli")

Value

n x 1, vector mu = glm.link( eta )

Author(s)

Marlene Mueller

See Also

glm.ll, glm.lld

Examples

  glm.link(c(-1,2), family="bernoulli", link="logit")

[Package KernGPLM version 0.65 Index]