Description Usage Arguments Value
Bayesian LASSO maximum a posteriori estimator
1 | blasso_map(formula, data, penalty = NULL)
|
formula |
model formula |
data |
a data frame |
lambda |
either a sequence of numbers, a single number, or NULL to generate a sequence of length equal to nval. |
nval |
the length of the sequence of candidate lambda values to try. |
opt.crit |
the criterion to maximize for finding the optimal lambda when a sequence is provided. defaults to the log posterior ("logPost") to act as a MAP estimator, but final prediction error ("fpe") is also an option. |
a penreg object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.