aic: Extract the IC from a "bess" object.

Description Usage Arguments Value Author(s) References See Also Examples

View source: R/aic.R

Description

These functions are used by bess to compute Information Criteria from a fitted model object.

Usage

1
2
3
  aic(object,...)
  bic(object,...)
  ebic(object,...)

Arguments

object

Output from the bess function or the bess.one function.

...

Additional arguments affecting the predictions produced.

Value

The value of Information Criteria extracted from the "bess" object.

Author(s)

Canhong Wen, Aijun Zhang, Shijie Quan, and Xueqin Wang.

References

Wen, C., Zhang, A., Quan, S. and Wang, X. (2017). BeSS: an R package for best subset selection in linear, logistic and CoxPH models. arXiv: 1709.06254.

See Also

bess, bess.one

Examples

1
2
3
4
5
data <- gen.data(500, 20, family = "gaussian", 10, 0.2, 1)
fit <- bess(data$x, data$y, family = "gaussian")
aic(fit)
bic(fit)
ebic(fit)

BeSS documentation built on Jan. 30, 2018, 5:03 p.m.