aic: AIC

View source: R/criteria.R

aicR Documentation

AIC

Description

Calculate AIC (Akaike Information Criterion).

Usage

aic(loglik, k)

Arguments

loglik

A numeric, the log-likelihood.

k

An integer >= 0, the number of selected variables.

Value

A number, a value of AIC.

Examples

aic(10, 5)

bigstep documentation built on May 31, 2023, 5:36 p.m.