Description Usage Arguments Value
calculates logclik with or without penalization for DIF-model given data, parameter values for items, DIF-parameters per variable per item and value of lambda
1 2 3 4 5 6 7 8 9 10 |
data |
Answers of all persons (0/1, n x I) |
covariates |
Matrix of covariate values of all persons (n x ncovs) |
beta_intercept |
vecotr of parameter values for intercepts per item |
delta_matrix |
Matrix (ncovs x nitems) of DIF-parameters per variable and item |
DIFmodel |
can be "items", "variables", "all.interactions", "none". And FALSE for Rasch model estimation |
restr_pen |
For additional penalization to ensure zero sum of intercepts |
lambda |
penalization parameter |
lambda_restr |
penalization parameter for restriction |
the value of the (penalized) log conditional Likelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.