R/ssdeR.aic.R

#######################
# ssdeR.aic
########################
aic.ssdeR <- function (object, ..., k = 2)
{

  return(structure(- 2*logLik(object) + k*object$param$nParam, df = sum(sapply(object$coefficients,
                                        length)), class = "logLik"))
}

Try the ssdeR package in your browser

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

ssdeR documentation built on May 2, 2019, 4:59 p.m.