Files
SPT/man/residif.Rd
2025-04-29 17:59:26 +02:00

22 lines
732 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/residif.R
\name{residif}
\alias{residif}
\title{RESIDIF procedure for DIF detection as per Andrich and Hagquist (2015)}
\usage{
residif(df = NULL, items = NULL, grp = NULL, verbose = T)
}
\arguments{
\item{df}{data.frame containing the data}
\item{items}{vector containing the names of columns where item responses are stored in df}
\item{grp}{vector containing the name of the column where an optional group membership variable is stored in df}
}
\value{
A data.frame containing a column listing the detected DIF item and another listing detected DIF forms
}
\description{
This function detects DIF on PCM items using ANOVA of person-item residuals
}