Learn R Programming

AutoSEARCH (version 1.01)

info.criterion: Computes the the value of an information criterion

Description

Given a log-likelihood, the number of observations and the number of parameters, the value of a chosen information criterion is computed

Usage

info.criterion(logl, n=NULL, k=NULL, method=c("sc", "aic", "aicc", "hq"))

Arguments

logl
numeric, the value of the log-likelihood
n
integer, the number of observations
k
integer, the number of parameters
method
"sc", "aic", "aicc" or "hq"

Value

  • numeric, the value of the information criterion