View source: R/050-process-irt-models-0-7.R
| fit_nominal_gaze_irt | R Documentation |
The bundled estimator is a transparent two-stage process-augmented nominal model: participant ability may be supplied, or a shrinkage logit accuracy proxy is estimated; option-level gaze proportions then enter a multinomial response model. This is intended for validation and exploratory distractor research, not as a replacement for a fully latent nominal-response model.
fit_nominal_gaze_irt(
data,
response_option = "response_option",
option_gaze,
person = "participant_id",
item = "item_id",
ability = NULL,
correct_option = NULL,
add_item_effects = TRUE,
...
)
data |
Input data frame or compatible tabular object. |
response_option |
Column identifying the selected response option. |
option_gaze |
Character vector naming one gaze column per response option. Names should correspond to option labels when possible. |
person |
Person or participant identifier column. |
item |
Item identifier, name, or item column. |
ability |
Optional existing ability score column. |
correct_option |
Optional scalar or column name identifying correct option. |
add_item_effects |
Whether item effects are included. |
... |
Additional arguments passed to the selected model, engine, or method. |
An object of class "eye_nominal_gaze_irt", stored as a named list, with components "model", "baseline_model", "data", "option_gaze", "gaze_proportion_columns", "ability", "person", "item", "logLik_gain", "status", "note". It contains nominal/distractor IRT with option-level gaze and associated metadata or diagnostics needed to interpret the result.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.