R/summary.GPvam.R

summary.GPvam <-
function (object, ...) 
{
    alpha <- 0.05
    c.level <- qnorm(1 - alpha/2)
    nyear <- object$num.year
    k <- dim(object$parameters)[1]
    AIC <- 2 * k - 2 * object$loglik
    AICc <- AIC + 2 * k * (k + 1)/(object$num.obs - k - 1)
    res2 <- c(list( AIC = AIC, AICc = AICc), as.list(object))
    class(res2) <- c("summary.GPvam")
    return(res2)
}

Try the GPvam package in your browser

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

GPvam documentation built on Jan. 8, 2023, 1:10 a.m.