Calculation of AIC and BIC from OFV, etc.

Calculation of AIC and BIC from OFV, etc.

calcAICBIC(OFV, nData, nParam, nSubj = NULL, nParamF = NULL, nParamR = NULL)

Arguments

OFV

Objective function value (-2*LL)

nData

Number of observed data points

nParam

Number of parameters estimated by the model

nSubj

Number of subjects

nParamF

Number of estimated parameters penalize with log(nData)

nParamR

Number of estimated parameters penalized with log(nSubj)

Value

List with AIC and BIC and corrected BIC

See also