R: AIC

aic {bigstep} | R Documentation

## AIC

### Description

Calculate AIC (Akaike Information Criterion).

### Usage

    aic(loglik, n, k)

### Arguments

`loglik` | a numeric, the log-likelihood.
`n` | an integer > 0, a number of observations.
`k` | an integer >= 0, a number of selected variables.

### Value

A number, a value of AIC.

### Examples

    aic(loglik=10, n=100, k=5)

[Package bigstep version 0.7.4 Index]