Learn R Programming

bigstep (version 1.1.1)

bic: BIC

Description

Calculate BIC (Bayesian Information Criterion).

Usage

bic(loglik, k, n)

Value

A number, a value of BIC.

Arguments

loglik

A numeric, the log-likelihood.

k

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

n

An integer > 0, the number of observations.

Examples

Run this code
bic(10, 5, 100)

Run the code above in your browser using DataLab