empiricalobjective {stuart} | R Documentation |
Generate an empirical objective function for item selection.
Description
Generate an empirical objective function from default or empirical values for use in an item selection using STUART.
Usage
empiricalobjective(
criteria = c("rmsea", "srmr", "crel"),
add = c("chisq", "df", "pvalue"),
x = NULL,
n = 50,
side = NULL,
skew = FALSE,
scale = 1,
matrices = NULL,
fixed = NULL,
comparisons = NULL,
...
)
Arguments
criteria |
A vector of names of criteria included in the objective function. Defaults to |
add |
A vector of names of criteria not used in the objective function, but added in order to be included in the log of solutions. |
x |
Either a vector of values or an object of class |
n |
Number of values to use in function determining. Defaults to 50, meaning if |
side |
Which side good values are located at. |
skew |
Whether to account for skew in the distribution using the |
scale |
A numeric scale to use in weighting the objective component. Defaults to 1. |
matrices |
An object of class |
fixed |
An object of class |
comparisons |
A vector of names of criteria included in the objective function which are related to model comparisons (e.g. when determining measurement invariance). |
... |
Additional arguments. |
Value
Returns an object of class stuartFixedObjective
Author(s)
Martin Schultze
See Also
fixedobjective
, extractobjective
, objectivematrices