Description Usage Arguments Value Note
View source: R/utility_functions.R
calculates likelihood function. Used to assess convergence of fitting algorithm. This corresponds to the Q(theta) function in the paper
1 2  | 
x | 
 Design matrix of dimension   | 
y | 
 response variable (matrix form) of dimension   | 
beta | 
 p x 1 matrix of main effect estimates  | 
gamma | 
 p*(p-1)/2 x 1 matrix of gamma estimates  | 
weights | 
 adaptive weights calculated by   | 
lambda.beta | 
 a single tuning parameter for main effects  | 
lambda.gamma | 
 a single tuning parameter for gammas  | 
main.effect.names | 
 character vector of main effects names  | 
interaction.names | 
 character vector of interaction names. must be
separated by a colon (e.g.   | 
value of likelihood function
you dont use the intercept in the calculation of the Q function because its not being penalized
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.