Description Usage Arguments Value
Calculates the BIC for an L1 penalized model. Needed for picking a hyper parameter lambda.
1 | BIC_lasso(Y, betas, deltas, covariates, DIF_type, delta_unres, tolerance)
|
Y |
data |
betas |
vecotr of intercepts |
deltas |
(ncov x nitems) matrix of DIF-parameters |
covariates |
(n x ncovs) matrix of covariate values |
DIF_type |
can be "items", "variables", "all.interactions", "none" |
delta_unres |
DIF-parameter estimates from unrestricted estimation |
tolerance |
Value under which parameters are considered equal to zero for the calculation of degreees of freedom |
Returns the BIC for an estimated DIF model with (or without) penalization term
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.