Given the name of a link, this function returns a link function, an inverse link function, the derivative \(d\eta / d\mu\) and the derivative \(d\mu / d\eta\).
ptsr.link(link = "log")
character; one of "log"
, "log1"
. See ‘Details’.
An object of class "link-ptsr"
, a list with components
Link function function(mu)
Inverse link function function(eta)
Derivative function(mu)
\(d\eta / d\mu\)
Derivative function(eta)
\(d\mu / d\eta\)
a name to be used for the link
The available links are:
log: \(f(x) = log(x)\)
log1: \(f(x) = log(x-1)\)