blasso_map: Bayesian LASSO maximum a posteriori estimator

Description Usage Arguments Value

View source: R/penreg.R

Description

Bayesian LASSO maximum a posteriori estimator

Usage

1
blasso_map(formula, data, penalty = NULL)

Arguments

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.

Value

a penreg object


abnormally-distributed/cvreg documentation built on May 3, 2020, 3:45 p.m.