R/qresid_gaussian.R

Defines functions qresid_gaussian

qresid_gaussian <- function(model) {
  mu <- fitted(model)
  Sigma <- sigma(model)
  gaussian.cdf <- pnorm(model$y, mean = mu, sd = Sigma)
  res <- qnorm(gaussian.cdf)
  res
}

Try the glmxdiag package in your browser

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

glmxdiag documentation built on Jan. 10, 2022, 9:07 a.m.