Learn R Programming

bigstep (version 0.5.0)

mbic: mBIC

Description

Calculate mBIC (modified Bayesian Information Criterion).

Usage

mbic(rss, n, k, p, const = 4)

Arguments

rss
a numeric > 0, the residual sum of squares.
n
an integer > 0, a number of observations.
k
an integer >= 0, a number of selected variables.
p
an integer > 0, a number of all variables or a weight.
const
numeric > 0, the expected number of significant variables.

Value

A number, a value of mBIC.

Examples

Run this code
mbic(rss=10, n=100, k=5, p=50)

Run the code above in your browser using DataLab