R/helper-functions.R

Defines functions AIC_pss

AIC_pss <- function(model){
    # maximized log-likelihood value of the model
    LLp <- stats::logLik(model)
    # number of freely estimated coefficients
    sp <- length(model$coefficients)
    LLp - sp
}
Natsiopoulos/ARDL documentation built on Sept. 2, 2023, 2:33 a.m.