power
Generate a Power Link Object
Description
Creates a parametrized link subfamily with components:
name,
link,
inverse,
deriv, and initialize.
The value of each component depends on the value of lambda.
Usage
power(lambda = 1)
Arguments
lambda |
a numeric value that specifies the power parameter,
(typically within three units of zero).
The NA value is not allowed.
|
Details
If lambda is less than zero, it is taken as zero (implies log link).
Value
a power link object with class attribute "link-glm",
which is a list of functions and expressions, including
linkfun |
linkinv |
mu.eta |
valideta |
name
|
See the
family.object help file for a description of the
components.
The value of lambda less than or equal to 0 is a limiting case,
and results in the log link function.
The value 1 for lambda will return the identity
link function.
See Also
Examples
quasi(link = power(1/4))
quasi(link = power(0))[c("family", "link", "linkfun", "linkinv")]