logLik.bess.one {BeSS} | R Documentation |
Similar to other logLik methods, which returns loglikelihood from a fitted "bess.one
" object.
## S3 method for class 'bess.one'
logLik(object,...)
object |
Output from the |
... |
Additional arguments affecting the predictions produced. |
The value of the loglikelihood extracted from the "bess.one" object.
Canhong Wen, Aijun Zhang, Shijie Quan, and Xueqin Wang.
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.
data <- gen.data(500, 20, family = "gaussian", 10, 0.2, 1)
fit <- bess.one(data$x, data$y, s = 10, family = "gaussian")
logLik(fit)