50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

bigstep (version 0.7.1)

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
bic(loglik=10, n=100, k=5)

Run the code above in your browser using DataLab