estimate.elnet {EMJMCMC} | R Documentation |
A test function to work with elastic networks in future, be omitted so far
estimate.elnet(formula, response, data, family, alpha)
formula |
a formula object for the model to be addressed |
response |
response in a formula |
data |
a data frame object containing variables and observations corresponding to the formula used |
family |
distribution of the response family object |
alpha |
regularization parameter in [0,1] |
marginal likelihood of the model
AIC model selection criterion
BIC model selection criterion
a vector of posterior modes of the parameters
glmnet::glmnet