View source: R/Loess-Functions.R
dif_loess | R Documentation |
Visual inspection of DIF with LOESS regression curves
dif_loess(item.data, dif.groups, match.type, match.scores)
item.data |
data frame of item responses with subjects in rows and items in columns |
dif.groups |
factor vector of group membership for which DIF is evaluated. |
match.type |
character indicating whether |
match.scores |
A numeric vector (if |
For each item in item.data
, loess
is called to regress the
item responses on the scores supplied to match.scores
. A separate model is run for each dif.groups
level.
A list containing:
the plot of LOESS curves for each dif.groups
level for every item in item.data
the data used to generate the plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.