deviance.bess.one: Extract the deviance from a "bess.one" object.

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

View source: R/deviance.bess.R

Description

Similar to other deviance methods, which returns deviance from a fitted "bess.one" object.

Usage

1
2
  ## S3 method for class 'bess.one'
deviance(object,...)

Arguments

object

Output from the bess.one function.

...

Additional arguments affecting the predictions produced.

Value

The value of the deviance extracted from the "bess.one" object.

Author(s)

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

References

Wen, C., Zhang, A., Quan, S. and Wang, X. (2020). BeSS: An R Package for Best Subset Selection in Linear, Logistic and Cox Proportional Hazards Models, Journal of Statistical Software, Vol. 94(4). doi:10.18637/jss.v094.i04.

See Also

bess, bess.one

Examples

1
2
3
data <- gen.data(500, 20, family = "gaussian", 10, 0.2, 1)
fit <- bess.one(data$x, data$y, s = 10, family = "gaussian")
deviance(fit)

BeSS documentation built on April 22, 2021, 9:08 a.m.

Related to deviance.bess.one in BeSS...