R/inverse.sqrt.R

Defines functions inverse.sqrt

Documented in inverse.sqrt

 #### 1/sqrt link ########
inverse.sqrt <- function()
{
    linkfun <- function(mu) 1/sqrt(mu)
    linkinv <- function(eta) 1/(eta)^2
    mu.eta <- function(eta) -2/eta^3
    valideta <- function(eta) TRUE
    link <- "inverse.sqrt"
    structure(list(linkfun = linkfun, linkinv = linkinv,
                   mu.eta = mu.eta, valideta = valideta, name = link),
              class = "link-glm")
}

Try the hglm package in your browser

Any scripts or data that you put into this service are public.

hglm documentation built on May 2, 2019, 7:36 a.m.