TMBAIC: Calculate marginal AIC for a fitted model

View source: R/TMBAIC.R

TMBAICR Documentation

Calculate marginal AIC for a fitted model

Description

TMBAIC calculates AIC for a given model fit

Usage

TMBAIC(opt, k = 2, n = Inf)

Arguments

opt

the output from nlminb or optim

k

the penalty on additional fixed effects (default=2, for AIC)

n

the sample size, for use in AICc calculation (default=Inf, for which AICc=AIC)

Value

AIC, where a parsimonious model has a AIC relative to other candidate models


dsem documentation built on Sept. 12, 2024, 9:35 a.m.