Rdocumentation
powered by
Learn R Programming
bigstep (version 0.5.0)
bic: BIC
Description
Calculate BIC (Bayesian Information Criterion).
Usage
bic(rss, n, k)
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.
Value
A number, a value of BIC.
Examples
Run this code
bic(rss=
10
, n=
100
, k=
5
)
Run the code above in your browser using
DataLab