Learn R Programming

⚠️There's a newer version (1.5.1-1) of this package.Take me there.

difNLR

DIF and DDF Detection by Non-Linear Regression Models.

Description

The difNLR package contains method for detection of differential item functioning (DIF) based on non-linear regression. Both uniform and non-uniform DIF effects can be detected when considering one focal group. The method also allows to test the difference in guessing or inattention parameters between reference and focal group. DIF detection method is based either on likelihood-ratio test, F-test, or Wald's test of a submodel. Package also offers methods for detection of differential distractor functioning (DDF) based on multinomial log-linear regression model and newly methods for DIF detection among ordinal data via adjacent category logit and cumulative logit regression models.

Installation

The easiest way to get difNLR package is to install it from CRAN:

install.packages("difNLR")

Or you can get the newest development version from GitHub:

# install.packages("devtools")
devtools::install_github("adelahladka/difNLR")

Version

Current version on CRAN is 1.3.7. The newest development version available on GitHub is 1.3.7.

Reference

To cite difNLR package in publications, please, use:

Hladka, A. & Martinkova, P. (2020). difNLR: Generalized logistic regression models for DIF and DDF detection. The R Journal, 12(1), 300--323, doi: 10.32614/RJ-2020-014.

Drabinova, A. & Martinkova, P. (2017). Detection of Differential Item Functioning with Nonlinear Regression: A Non-IRT Approach Accounting for Guessing. Journal of Educational Measurement, 54(4), 498--517, doi: 10.1111/jedm.12158.

Try online

You can try some functionalities of the difNLR package online using ShinyItemAnalysis application and package and its DIF/Fairness section.

Getting help

In case you find any bug or just need help with difNLR package, you can leave your message as an issue here or directly contact us at hladka@cs.cas.cz

Copy Link

Version

Install

install.packages('difNLR')

Monthly Downloads

477

Version

1.3.7

License

GPL-3

Maintainer

Adela Hladka

Last Published

January 7th, 2021

Functions in difNLR (1.3.7)

GMAT

Dichotomous dataset based on GMAT with the same total score distribution for groups.
GMAT2

Dichotomous dataset based on GMAT.
MSATBtest

Dataset of School Admission Test in Biology.
GMAT2key

Key of correct answers for GMAT2test dataset.
GMATtest

Dataset based on GMAT with the same total score distribution for groups.
MSATBkey

Key of correct answers for MSATBtest dataset.
GMAT2test

Dataset based on GMAT.
GMATkey

Key of correct answers for GMATtest dataset.
MLR

DDF likelihood ratio statistics based on multinomial log-linear regression model.
MSATB

Dichotomous dataset of Medical School Admission Test in Biology.
coef.difNLR

Extract model coefficients from an object of "difNLR" class.
coef.ddfMLR

Extract model coefficients from an object of "ddfMLR" class.
checkInterval

Checks interval bounds.
difORD

DIF detection among ordinal data.
difNLR

DIF detection using non-linear regression method.
ORD

DIF likelihood ratio statistics for ordinal data.
NLR

DIF statistics based on non-linear regression model.
coef.difORD

Extract model coefficients from an object of "difORD" class.
logLik.difORD

Loglikelihood and information criteria for an object of "difORD" class.
logLik.difNLR

Loglikelihood and information criteria for an object of "difNLR" class.
genNLR

Generates data set based on generalized logistic regression DIF and DDF models.
logLik.ddfMLR

Loglikelihood and information criteria for an object of "ddfMLR" class.
formulaNLR

Formula for non-linear regression DIF model.
estimNLR

Non-Linear Regression DIF models estimation.
plot.difORD

ICC plots for an object of "difORD" class.
predict.difNLR

Predicted values for an object of "difNLR" class.
plot.ddfMLR

ICC plots for an object of "ddfMLR" class.
startNLR

Calculates starting values for non-linear regression DIF models.
difNLR-package

DIF and DDF Detection by Non-Linear Regression Models.
plot.difNLR

ICC and test statistics plots for an object of "difNLR" class.
ddfMLR

DDF detection for nominal data.
fitted.difNLR

Fitted values and residuals for an object of "difNLR" class.