Learn R Programming

bigstep (version 1.0.2)

maic: mAIC

Description

Calculate mAIC (modified Akaike Information Criterion).

Usage

maic(loglik, k, p, const = 0.5)

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

Run this code
# NOT RUN {
maic(10, 5, 100, 50)
# }

Run the code above in your browser using DataLab