bic: BIC

Description Usage Arguments Value Examples

View source: R/criteria.R

Description

Calculate BIC (Bayesian Information Criterion).

Usage

1
bic(loglik, k, n)

Arguments

loglik

A numeric, the log-likelihood.

k

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

n

An integer > 0, the number of observations.

Value

A number, a value of BIC.

Examples

1
bic(10, 5, 100)

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