TropFishR icon indicating copy to clipboard operation
TropFishR copied to clipboard

QAICc for select_Millar

Open tokami opened this issue 3 years ago • 0 comments

check + include

QAICc <- function(mod){
  ll <- as.numeric(mod$value) 
  K <- length(mod$estimates[,1])   
  n <- nnzero(CatchPerNet_mat) 
  c_hat = as.numeric(mod$out[4]/mod$out[6])
  qaicc = -2*ll/c_hat + 2*K + 2*K*(K + 1)/(n - K - 1)
  qaicc
}

tokami avatar Aug 30 '21 09:08 tokami