Added theta estimation methods
This commit is contained in:
@ -11,7 +11,8 @@ pcm(
|
||||
dif.items = NULL,
|
||||
type.dif = NULL,
|
||||
verbose = T,
|
||||
fit = "ucminf"
|
||||
fit = "ucminf",
|
||||
method.theta = "eap"
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
@ -24,6 +25,12 @@ pcm(
|
||||
\item{dif.items}{vector containing the list of indexes in "items" corresponding to dif items}
|
||||
|
||||
\item{type.dif}{vector containing DIF form for each item specified in dif.items. 1 is homogeneous DIF, 0 is heterogeneous DIF}
|
||||
|
||||
\item{verbose}{set to TRUE to print a detailed output, FALSE otherwise}
|
||||
|
||||
\item{fit}{string determining the optimization algorithm. Values "ucminf" or "nlminb" ar recommended}
|
||||
|
||||
\item{method.theta}{string determining the estimation method for individual latent variable values. Either "eap", "mle" or "wle"}
|
||||
}
|
||||
\value{
|
||||
A data.frame containing various model outputs
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user