maic: mAIC

Description Usage Arguments Value Examples

View source: R/criteria.R

Description

Calculate mAIC (modified Akaike Information Criterion).

Usage

1
maic(loglik, k, p, const = 4)

Arguments

loglik

A numeric, the log-likelihood.

k

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

p

An integer > 0, the number of all variables or a weight.

const

A numeric > 0, the expected number of significant variables.

Value

A number, a value of mAIC.

Examples

1
maic(10, 5, 100, 50)

bigstep documentation built on Sept. 21, 2018, 6:39 p.m.