Roland Deutsch <roland.deutsch <at> tuwien.ac.at> writes:
in my research I frequently work with binomial
are of course part of the generalized linear
common link functions such as the logit, probit
have the need of invoking the lesser-known
(Walter W. Piegorsch, 1992, "Complementary Log
Generalized Linear Models ", The American
Statistician , Vol. 46, No. 2,
pp. 94-99 ) which is based on the exponential
Before the release of R 3.0, I simply could
following lines to the long switch command
clog = {
linkfun <- function(mu) qexp(mu)
linkinv <- function(eta) pmax(.Machine$double.eps,pexp(eta))
mu.eta <- function(eta) pmax(dexp(eta), .Machine$double.eps)
valideta <- function(eta) all(eta > 0)
},
and then add "clog" to the okLinks vector in
binomial(). However, I
I wouldn't mess with make.link. Why don't you just
define your own custom link, for example following the
example under help(family)? This is what I did in
the psyphy package and I just checked and
they all still work under the current version of R.
Thanks a lot,
Roland Deutsch