Compute the corrected marginal AIC (AICc)
marg_AIC.RdCalculates the corrected Akaike Information Criterion
\(\mathrm{AICc} = p k + 2 \ell + 2k(k+1)/(n-k-1)\), where \(k\) is
the number of estimated parameters, \(\ell\) is the negative
log-likelihood at the optimum, \(p\) is the penalty multiplier, and
\(n\) is the sample size. When \(n = \infty\) the small-sample
correction term vanishes and the result reduces to standard marginal AIC.
Compatible with output from both optim ($value) and
nlminb ($objective).