Learn R Programming

bigstep (version 0.7.4)

bic: BIC

Description

Calculate BIC (Bayesian Information Criterion).

Usage

bic(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 BIC.

Examples

Run this code
# NOT RUN {
bic(loglik=10, n=100, k=5)
# }

Run the code above in your browser using DataLab