Learn R Programming

EMJMCMC (version 1.5.0)

estimate.elnet: A test function to work with elastic networks in future, be omitted so far

Description

A test function to work with elastic networks in future, be omitted so far

Usage

estimate.elnet(formula, response, data, family, alpha)

Value

mlik

marginal likelihood of the model

waic

AIC model selection criterion

dic

BIC model selection criterion

summary.fixed$mean

a vector of posterior modes of the parameters

Arguments

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]

See Also

glmnet::glmnet