get_IC function

Calculate AIC, HQIC, and BIC

Calculate AIC, HQIC, and BIC

get_IC calculates the information criteria values AIC, HQIC, and BIC divided by the number of observations.

get_IC(loglik, npars, T_obs)

Arguments

  • loglik: log-likelihood value
  • npars: number of (freely estimated) parameters in the model
  • T_obs: numbers of observations with the pp starting values excluded.

Returns

Returns a data frame containing the information criteria values divided by the number of observations.

  • Maintainer: Savi Virolainen
  • License: GPL-3
  • Last published: 2025-02-27