Learn R Programming

dexter (version 0.8.5)

DIF: Exploratory test for Differential Item Functioning

Description

Exploratory test for Differential Item Functioning

Usage

DIF(dataSrc, person_property, predicate = NULL)

Arguments

dataSrc

Data source: a dexter project db handle or a data.frame with columns: person_id, item_id, item_score

person_property

Defines groups of persons to calculate DIF

predicate

An optional expression to subset data, if NULL all data is used

Value

An object of class DIF_stats holding statistics for overall-DIF and a matrix of statistics for DIF in the relative position of item-category parameters in the regular parameterization used e.g., by OPLM.

Details

Tests for equality of relative item/category difficulties across groups. Supplements the confirmatory approach of the profile plot

References

Bechger, T. M. and Maris, G (2015); A Statistical Test for Differential Item Pair Functioning. Psychometrika. Vol. 80, no. 2, 317-340.

Examples

Run this code
# NOT RUN {
db = start_new_project(verbAggrRules, "verbAggression.db", person_properties=list(gender='unknown'))
add_booklet(db, verbAggrData, "agg")
dd = DIF(db,person_property="gender")
print(dd)
plot(dd)

close_project(db)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab