Calculates DDF likelihood ratio statistics for ordinal data based either on adjacent logistic regression
model or on cumulative logistic regression model
The Data is a matrix or data.frame which rows represents examinee ordinarily scored answers and
columns correspond to the items. The group must be a vector of the same length as nrow(Data).
The model corresponds to model to be used for DDF detection. Options are "adjacent"
for adjacent logistic regression model or "cumulative" for cumulative logistic regression model.
The type corresponds to type of DDF to be tested. Possible values are "both"
to detect any DDF (uniform and/or non-uniform), "udif" to detect only uniform DDF or
"nudif" to detect only non-uniform DDF.
Argument match represents the matching criterion. It can be either the standardized test score (default, "zscore"),
total test score ("score"), or any other continuous or discrete variable of the same length as number of observations
in Data.
The p.adjust.method is a character for p.adjust function from the stats package. Possible values are
"holm", "hochberg", "hommel", "bonferroni", "BH", "BY", "fdr", and
"none". See also p.adjust for more information.
Argument parametrization is a character which specifies parametrization of regression parameters. Default option
is "irt" which returns IRT parametrization (difficulty-discrimination). Option "classic" returns
intercept-slope parametrization with effect of group membership and interaction with matching criterion.