Added theta estimation methods

This commit is contained in:
2025-05-06 08:31:24 +02:00
parent a70686cae0
commit 28e43dee33
6 changed files with 34 additions and 8 deletions

View File

@ -4,7 +4,7 @@
\alias{residif}
\title{RESIDIF procedure for DIF detection as per Andrich and Hagquist (2015)}
\usage{
residif(df = NULL, items = NULL, grp = NULL, verbose = T)
residif(df = NULL, items = NULL, grp = NULL, method.theta = "eap", verbose = T)
}
\arguments{
\item{df}{data.frame containing the data}
@ -12,6 +12,10 @@ residif(df = NULL, items = NULL, grp = NULL, verbose = T)
\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}
\item{method.theta}{string determining the estimation method for individual latent variable values. Either "eap", "mle" or "wle"}
\item{verbose}{set to TRUE to print a detailed output, FALSE otherwise}
}
\value{
A data.frame containing a column listing the detected DIF item and another listing detected DIF forms