run_global_logistic: Logistic Model Comparisons for DIF

View source: R/Logistic-Functions.R

run_global_logisticR Documentation

Logistic Model Comparisons for DIF

Description

Conduct an omnibus test for DIF by comparing no DIF, uniform DIF, and non-uniform DIF logistic regression models

Usage

run_global_logistic(item.data, dif.groups, match.scores)

Arguments

item.data

A data.frame of dichotomous item responses with subjects in rows and items in columns.

dif.groups

factor vector of group membership for which DIF is evaluated.

match.scores

A numeric vector (if match.type = "Total") or list of ncol(item.data) numeric vectors (if match.type = "Rest") of match scores used as the stratifying variable in the MH procedure.

Value

A list containing model comparison results table, the type of DIF, the model objects, and data.frame of item response and match.score information


knickodem/WBdif documentation built on Feb. 3, 2024, 2:20 a.m.