csr.bic | R Documentation |
Choose tuning parameter k by Bayesian Information Criterion (BIC)
csr.bic(y, X, C.upper = 5000, intercept = FALSE, RW = TRUE)
y |
response variable |
X |
Predictor matrix |
C.upper |
maximum number of subsets to be combined |
intercept |
A boolean: include an intercept term or not |
A List contained the estimated coefficients and forecasts
k.hat |
k chosen by BIC |
coef |
Averaged coefficients corresonding to the chosen k |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.