Description Usage Arguments Value
Calculates the certain amount of penalization depeding on DIF-type, lambda and for restriction of intercepts added
1 2 3 4 5 6 7 8 | penalization(
deltas,
beta_intercept,
DIF_type = c("items", "variables", "all.interactions", "none"),
restr_pen = FALSE,
lambda = 0,
lambda_restr = 0
)
|
deltas |
A (ncovars x nitems) matrix of DIF-parameters |
beta_intercept |
A vector of #items parameters |
DIF_type |
can be "items", "variables", "all.interactions", "none" |
restr_pen |
For additional penalization to ensure zero sum of intercepts |
lambda |
penalization parameter |
lambda_restr |
penalization parameter for restriction |
A numeric value for penalization of the Loglikelihood
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.