calculates likelihood function. Used to assess convergence of fitting algorithm. This corresponds to the Q(theta) function in the paper
Q_theta(R, nobs, lambda, alpha, we, wj, wje, betaE, theta_list, gamma)
residual
number of observations
a user supplied lambda sequence. Typically, by leaving this
option unspecified users can have the program compute its own lambda
sequence based on nlambda
and lambda.factor
. Supplying a
value of lambda overrides this. It is better to supply a decreasing
sequence of lambda values than a single (small) value, if not, the program
will sort user-defined lambda sequence in decreasing order automatically.
Default: NULL
.
the mixing tuning parameter, with \(0<\alpha<1\). It controls
the penalization strength between the main effects and the interactions.
The penalty is defined as $$\lambda(1-\alpha)(w_e|\beta_e|+ \sum w_j
||\beta_j||_2) + \lambda\alpha(\sum w_{je} |\gamma_j|)$$Larger values of
alpha
will favor selection of main effects over interactions.
Smaller values of alpha
will allow more interactions to enter the
final model. Default: 0.5
penalty factor for exposure variable
penalty factor for main effects
penalty factor for interactions
estimate of exposure effect
estimates of main effects
estimates of gamma parameter
value of the objective function