R/aicc_f.R

Defines functions aicc_f

#' aicc_f
#' to be documented
#' @usage aicc_f(e,ts)
#' @param e  residuals
#' @param ts  trace(S)
#' @noRd
#' @return to be documented
aicc_f <-
  function(e,ts,n){
    n=length(e)
    #n*log(sum(e^2)/n)+n*log(2*pi)+n*(n+ts)/(n-2-ts)
    n*log(sum(e^2)/n)+n*log(2*pi)+n*(n+ts)/(n-1-ts)
  }

Try the mgwrsar package in your browser

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

mgwrsar documentation built on April 4, 2025, 3:13 a.m.