DIF.Logistic: Logistic regression DIF method

Description Usage Arguments Value

View source: R/DIF.Logistic.R

Description

Logistic regression DIF method

Usage

1
DIF.Logistic(data, group, sig.level, purify, output.filename)

Arguments

data

numeric: either the data matrix only, or the data matrix plus the vector of group membership.

group

factor: the vector of group membership

sig.level

numeric: the significance level

purify

logical: Default is FALSE.

output.filename

character: either the file path or file name to save the output

Value

Each list of the output has a data frame with the likelihood-ratio test statistic (G2), its respective p-value, the change in Nagelkerke’s pseudo-R2 between two nested models. In the data frame for both uniform and nonuniform DIF effect simultaneously, the DIF classification is reported.


cswells1/MeasInv documentation built on Dec. 19, 2021, 7 p.m.